LauFitDataTree.hh
Go to the documentation of this file.
98 void appendFakePoints(const std::vector<Double_t>& xCoords, const std::vector<Double_t>& yCoords);
110 UInt_t nTreeEvents() const {return rootTree_ ? static_cast<UInt_t>(rootTree_->GetEntries()) : 0;}
116 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:180 std::vector< LauEventData > fakeEvents_ The fake events, which are not from the tree. Definition: LauFitDataTree.hh:219 LauFitData eventDataOut_ Stores the current event (for external use) Definition: LauFitDataTree.hh:210 std::map< TString, Double_t > LauFitData Type for holding event data. Definition: LauFitDataTree.hh:45 std::vector< LauEventData > treeEvents_ The events read from the tree. Definition: LauFitDataTree.hh:216 UInt_t nBranches() const Obtain the number of branches in the tree. Definition: LauFitDataTree.cc:206 void readExperimentData(UInt_t iExpt) Read events only for the given experiment. Definition: LauFitDataTree.cc:158 LauNameIndexMap leafNames_ Stores the mapping from the leaf names to the vector indices. Definition: LauFitDataTree.hh:204 TEventList * eventList_ A list of the events in the current experiment. Definition: LauFitDataTree.hh:201 std::vector< TLeaf * > LauLeafList The type used to hold the leaves. Definition: LauFitDataTree.hh:186 LauFitDataTree & operator=(const LauFitDataTree &rhs) Copy assignment operator (not implemented) LauFitDataTree(const TString &rootFileName, const TString &rootTreeName) Constructor. Definition: LauFitDataTree.cc:43 void appendFakePoints(const std::vector< Double_t > &xCoords, const std::vector< Double_t > &yCoords) Add fake events to the data. Definition: LauFitDataTree.cc:218 const LauFitData & getData(UInt_t iEvt) const Retrieve the data for a given event. Definition: LauFitDataTree.cc:348 UInt_t nTreeEvents() const Retrieve the number of events in the tree. Definition: LauFitDataTree.hh:110 std::vector< Double_t > LauEventData The type used to contain the data for each event. Definition: LauFitDataTree.hh:183 Bool_t haveBranch(const TString &name) const Check if the named branch is stored. Definition: LauFitDataTree.cc:273 void enableBranch(const TString &name) const Enable the named branch. Definition: LauFitDataTree.cc:289 void disableBranch(const TString &name) const Disable the named branch. Definition: LauFitDataTree.cc:294 Generated by ![]() |