HighLAND
Public Member Functions | List of all members
HighlandMiniTreeConverter Class Reference

Creates the appropriate AnaSpillB type. The rest of the work is done by the base converter. More...

#include <HighlandMiniTreeConverter.hxx>

Inheritance diagram for HighlandMiniTreeConverter:
MiniTreeConverter InputConverter

Public Member Functions

 HighlandMiniTreeConverter (bool readRooTrackerVtx=false)
 
virtual AnaSpillBMakeSpill ()
 
- Public Member Functions inherited from MiniTreeConverter
 MiniTreeConverter (bool readRooTrackerVtx=false)
 
virtual bool Initialize ()
 
Int_t GetSpill (Long64_t &entry, AnaSpillC *&spill)
 
Int_t GetEvent (Long64_t &entry, AnaEventC *&event)
 
AnaEventBMakeEvent (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="")
 
Headerheader ()
 Returns the Header manager.
 

Additional Inherited Members

- Protected Attributes inherited from MiniTreeConverter
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.
 

Detailed Description

Creates the appropriate AnaSpillB type. The rest of the work is done by the base converter.

Definition at line 9 of file HighlandMiniTreeConverter.hxx.


The documentation for this class was generated from the following file: