LauFitDataTree.cc
Go to the documentation of this file.
70 std::cerr << "ERROR in LauFitDataTree::openFileAndTree : Bad filename supplied, not creating file or tree."
105 std::cerr << "ERROR in LauFitDataTree::findBranches : Branches already found, not running again."
130 std::cerr << "ERROR in LauFitDataTree::findBranches : List of leaves is not the same size as the number of branches - this is strange!"
144 std::cerr << "ERROR in LauFitDataTree::findBranches : Tree has array branches, can't deal with those."
193 // If it's experiment 0, assume that we should read all events in the tree (but print a warning since this is an assumption)
194 std::cerr << "WARNING in LauFitDataTree::readExperimentData : Tree does not contain \"iExpt\" branch, will read all data in the tree"
200 std::cerr << "ERROR in LauFitDataTree::readExperimentData : Tree does not contain \"iExpt\" branch and experiment requested is > 0, will not read anything"
238 std::cerr << "ERROR in LauFitDataTree::appendFakePoints : The co-ordinate vectors are not the same size!"
255 std::cerr << "ERROR in LauFitDataTree::appendFakePoints : Can't find entry \"m13Sq\" in event data map."
263 std::cerr << "ERROR in LauFitDataTree::appendFakePoints : Can't find entry \"m23Sq\" in event data map."
LauFitDataTree(const TString &rootFileName, const TString &rootTreeName) Constructor. Definition: LauFitDataTree.cc:40 void readExperimentData(UInt_t iExpt) Read events only for the given experiment. Definition: LauFitDataTree.cc:169 const LauFitData & getData(UInt_t iEvt) const Retrieve the data for a given event. Definition: LauFitDataTree.cc:376 void appendFakePoints(const std::vector< Double_t > &xCoords, const std::vector< Double_t > &yCoords) Add fake events to the data. Definition: LauFitDataTree.cc:234 File containing declaration of LauFitDataTree class. void disableBranch(const TString &name) const Disable the named branch. Definition: LauFitDataTree.cc:316 void enableBranch(const TString &name) const Enable the named branch. Definition: LauFitDataTree.cc:309 Bool_t haveBranch(const TString &name) const Check if the named branch is stored. Definition: LauFitDataTree.cc:293 LauFitData eventDataOut_ Stores the current event (for external use) Definition: LauFitDataTree.hh:216 TEventList * eventList_ A list of the events in the current experiment. Definition: LauFitDataTree.hh:207 std::vector< LauEventData > fakeEvents_ The fake events, which are not from the tree. Definition: LauFitDataTree.hh:225 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:45 LauNameIndexMap leafNames_ Stores the mapping from the leaf names to the vector indices. Definition: LauFitDataTree.hh:210 std::vector< LauEventData > treeEvents_ The events read from the tree. Definition: LauFitDataTree.hh:222 Generated by 1.8.18 |