|
HighLAND
|
Public Member Functions | |
| MiniTreeConverter (bool readRooTrackerVtx=false) | |
| virtual bool | Initialize () |
| Int_t | GetSpill (Long64_t &entry, AnaSpillC *&spill) |
| Int_t | GetEvent (Long64_t &entry, AnaEventC *&event) |
| virtual AnaSpillB * | MakeSpill () |
| AnaEventB * | MakeEvent (AnaSpillB &spill, AnaBunchB &bunch) |
| void | IncrementPOTBySpill () |
| bool | AddFileToTChain (const std::string &inputString) |
| Add the file specified to fChain, and any friend chains that were set up. | |
| Int_t | GetNEvents (Int_t entries=-1) |
| Return the total number of events for a given number of entries in the tree. | |
Public Member Functions inherited from InputConverter | |
| InputConverter (const std::string &name) | |
| Constrctor provided a name. | |
| virtual | ~InputConverter () |
| Everyone should have a destructor... | |
| const std::string & | GetTreeName () |
| returns the name of the tree to convert | |
| const std::string & | Name () const |
| Return the name of this converter. | |
| void | SetName (const std::string &name) |
| Set the name of this converter, which is used internally by the InputManager. | |
| virtual void | Reset () |
| Reset the trees in the TChain and the number of entries. Also the header (POT, etc) | |
| virtual Long64_t | LoadTree (Long64_t entry) |
| Handle loading the correct entry from fChain. | |
| virtual Long64_t | GetEntries () |
| Return the total number of entries in the chain. | |
| virtual bool | IsCorrectType (const std::string &inputString) |
| Whether the implementation can handle the specified file. | |
| virtual void | SetCosmicMode (const bool cosmic) |
| bool | HasChain (const std::string &name) |
| void | AddChain (const std::string &name, const std::string &name_path="") |
| TChain * | GetChain (const std::string &name="") |
| Header & | header () |
| Returns the Header manager. | |
Protected Attributes | |
| bool | _useCorrectedValues |
| bool | _readRooTrackerVtx |
| bool | _firstFile |
| std::string | _currentfilename |
| Int_t | _currentBunch |
| AnaSpillB * | _spill |
| Double_t | _POTSincePreviousSavedSpill |
| The accumulated POT. | |
| TChain * | minitree |
| TChain * | GRooTrackerVTX |
| TChain * | NRooTrackerVTX |
| bool | fGenie |
| bool | fNeut |
| Long64_t | _entry_roo |
| Int_t | RunID |
| Int_t | SubrunID |
| Int_t | EventID |
| Int_t | NNVtx |
| TClonesArray * | NVtx |
| Int_t | NGVtx |
| TClonesArray * | GVtx |
Protected Attributes inherited from InputConverter | |
| std::string | _name |
| The name of the converter. | |
| std::string | _treeName |
| The name of the tree to convert. | |
| int | _nentries |
| The number of entries in the chain. To be set by the implementation. | |
| TChain * | fChain |
| The main TChain used to read events from the input file. | |
| Int_t | fCurrent |
| current Tree number in a TChain | |
| Int_t | _currentFileIndex |
| std::string | _currentFileName |
| std::map< std::string, TChain * > | _chain_map |
| Header | _header |
| The header manager. | |
Definition at line 15 of file MiniTreeConverter.hxx.
|
virtual |
Read the specified entry from the file, and fill the event. The entry number must be incremented inside this function 0 should be returned on error.
Implements InputConverter.
Definition at line 153 of file MiniTreeConverter.cxx.
|
virtual |
Read the specified entry from the file, and fill the spill. The entry number must be incremented as part of this function, and the new entry number returned. 0 should be returned on error.
Implements InputConverter.
Definition at line 178 of file MiniTreeConverter.cxx.
|
virtual |
Record the POT for the current spill, based on information in the AnaBeam member of the current AnaSpill.
Implements InputConverter.
Definition at line 253 of file MiniTreeConverter.cxx.
|
virtual |
Any initialization that must be done. Called before the input file is read.
Implements InputConverter.
Definition at line 37 of file MiniTreeConverter.cxx.
1.8.13