LauGenNtuple.cc
Go to the documentation of this file.
54 cerr<<"ERROR in LauGenNtuple::createFileAndTree : Bad filename supplied, not creating file or tree."<<endl;
59 cerr<<"ERROR in LauGenNtuple::createFileAndTree : Problem opening file \""<<rootFileName_<<"\" for writing, not creating tree."<<endl;
76 cerr<<"ERROR in LauGenNtuple::addIntegerBranch : Already defined branches, can't add further ones."<<endl;
85 cerr<<"ERROR in LauGenNtuple::addDoubleBranch : Already defined branches, can't add further ones."<<endl;
126 cerr<<"ERROR in LauGenNtuple::defineBranches : Already defined branches, not doing it again."<<endl;
179 cerr<<"ERROR in LauGenNtuple::writeOutGenResults : File not opened, can't write anything."<<endl;
Int_t buildIndex(const TString &majorName, const TString &minorName="0") Create an index table using leaves of the tree. Definition: LauGenNtuple.cc:164 Int_t getIntegerBranchValue(const TString &name) const Get value of an integer branch. Definition: LauGenNtuple.cc:101 void addFriendTree(const TString &rootFileName, const TString &rootTreeName) Add a friend tree. Definition: LauGenNtuple.cc:195 Double_t getDoubleBranchValue(const TString &name) const Get value of a double branch. Definition: LauGenNtuple.cc:112 Bool_t definedBranches() const Flags whether branches have been defined. Definition: LauGenNtuple.hh:134 void addIntegerBranch(const TString &name) Add integer branch to tree. Definition: LauGenNtuple.cc:73 Class to store the results from the toy MC generation into an ntuple. Definition: LauGenNtuple.hh:32 void setIntegerBranchValue(const TString &name, Int_t value) Set value of an integer branch. Definition: LauGenNtuple.cc:91 File containing declaration of LauGenNtuple class. void setDoubleBranchValue(const TString &name, Double_t value) Set value of a double branch. Definition: LauGenNtuple.cc:96 Generated by 1.8.5 |