LauFitDataTree.hh
Go to the documentation of this file.
84 void appendFakePoints(const std::vector<Double_t>& xCoords, const std::vector<Double_t>& yCoords);
96 UInt_t nTreeEvents() const {return rootTree_ ? static_cast<UInt_t>(rootTree_->GetEntries()) : 0;}
102 UInt_t nEvents() const {return eventList_ ? static_cast<UInt_t>(eventList_->GetN()) : this->nTreeEvents();}
std::map< TString, UInt_t > LauNameIndexMap The type used to map the leaf names to the vector indices. Definition: LauFitDataTree.hh:160 std::vector< LauEventData > fakeEvents_ The fake events, which are not from the tree. Definition: LauFitDataTree.hh:199 LauFitData eventDataOut_ Stores the current event (for external use) Definition: LauFitDataTree.hh:190 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:31 std::vector< LauEventData > treeEvents_ The events read from the tree. Definition: LauFitDataTree.hh:196 UInt_t nBranches() const Obtain the number of branches in the tree. Definition: LauFitDataTree.cc:170 void readExperimentData(UInt_t iExpt) Read events only for the given experiment. Definition: LauFitDataTree.cc:144 LauNameIndexMap leafNames_ Stores the mapping from the leaf names to the vector indices. Definition: LauFitDataTree.hh:184 TEventList * eventList_ A list of the events in the current experiment. Definition: LauFitDataTree.hh:181 std::vector< TLeaf * > LauLeafList The type used to hold the leaves. Definition: LauFitDataTree.hh:166 LauFitDataTree(const TString &rootFileName, const TString &rootTreeName) Constructor. Definition: LauFitDataTree.cc:29 void appendFakePoints(const std::vector< Double_t > &xCoords, const std::vector< Double_t > &yCoords) Add fake events to the data. Definition: LauFitDataTree.cc:182 const LauFitData & getData(UInt_t iEvt) const Retrieve the data for a given event. Definition: LauFitDataTree.cc:312 UInt_t nTreeEvents() const Retrieve the number of events in the tree. Definition: LauFitDataTree.hh:96 std::vector< Double_t > LauEventData The type used to contain the data for each event. Definition: LauFitDataTree.hh:163 Bool_t haveBranch(const TString &name) const Check if the named branch is stored. Definition: LauFitDataTree.cc:237 void enableBranch(const TString &name) const Enable the named branch. Definition: LauFitDataTree.cc:253 void disableBranch(const TString &name) const Disable the named branch. Definition: LauFitDataTree.cc:258 Generated by 1.8.5 |