40 virtual void InitFile(
const char* file);
54 const char* branchName(
int i)
const;
55 StJets* getStJets(
int i)
const;
56 StJets* getStJets(
const char* bname)
const;
65 TTree*
tree()
const {
return mTree;}
86 #endif // STJETREADER_H
virtual void InitJetSkimFile(const char *file)
Recover the "fast" tree of StJetSkimEvent.
int preparedForDualRead()
Check if we are all ready to read the Skim and StjJet trees together.
void exampleFastAna()
An example analysis method to read StJetSkimEvent and StJets trees together.
virtual void InitFile(const char *file)
Recover the TTree from file and prepare for reading.
StJetReader(const char *name="JetReader")
The constructor requires a valid instance of StMuDstMaker.
void exampleEventAna()
An example analysis method, look here for a demonstration of jet/track histogramming.
TTree * tree() const
Access to the StJets tree.
StJetSkimEvent * skimEvent() const
Acces to the StJetSkimEvent.
virtual void InitTree(TTree *tree)
int numberOfBranches() const
Access to jet branches.
TTree * skimTree() const
Access to the StJetSkimEvent tree.