12 #ifndef __Q_ROOT_FILE_READER_BASE_HH__
13 #define __Q_ROOT_FILE_READER_BASE_HH__
39 virtual void SetBranches(Diana::QEventAssembler& eva);
53 virtual void AddToEvent(
const char* brname,Diana::QObject **evData,
54 Diana::QEventAssembler& eva);
65 Diana::QEventAssembler& eva);
error class with error type and description
Base class for readers for diana and apollo root files.
virtual void SetBranches(Diana::QEventAssembler &eva)
Set the branch caches.
std::map< std::string, Diana::QObject ** > fObjectList
???
virtual std::vector< TBranch * > GetBranches(QChain *chain, Diana::QEventAssembler &eva)
Get a list of the branches needed by the event.
QChain * fChain
Pointer to the QChain built by LoadQChain()
Long64_t fEventNumber
Current event number in the loop.
virtual void AddToEvent(const char *brname, Diana::QObject **evData, Diana::QEventAssembler &eva)
Add an object from a branch to the event.
bool fInclusive
Flag to automatically include ALL branches.
virtual void LoadQChain()
Build a QChain.
virtual ~QRootFileReaderBase()
bool fDeleteInput
Flag to delete the input files.
Long64_t fEvents
Total number of events in fChain.
virtual const QError & JumpToEvent(Long64_t event)
Jump to a particular event in the chain.