6 #ifndef STJETSIMUREADER_H
7 #define STJETSIMUREADER_H
10 #include "StJetMaker/StJetMaker.h"
34 virtual void InitFile(
const char* file);
53 TTree*
tree() {
return mTree;}
83 #endif // STJETSIMUREADER_H
TTree * skimTree()
Access to the StJetSkimEvent tree.
StJetSimuReader(const char *name, StMuDstMaker *uDstMaker)
The constructor requires a valid instance of StMuDstMaker.
void exampleSimuAna()
An example analysis method, look here for a demonstration of jet + event info.
StJetSkimEvent * skimEvent()
Acces to the StJetSkimEvent.
map< string, StJets *, less< string > > JetBranchesMap
A useful typedef for the StJets map.
virtual void InitTree(TTree *tree)
virtual void InitJetSkimFile(const char *file)
Recover the "fast" tree of StJetSkimEvent.
TTree * tree()
Access to the StJets tree.
virtual void InitFile(const char *file)
Recover the TTree from file and prepare for reading.
JetBranchesMap & jetsMap()
Access to the StJetsMap.
int preparedForDualRead()
Check if we are all ready to read the Skim and Jet trees together.