CMS 3D CMS Logo

BeamSpotTreeData.h
Go to the documentation of this file.
1 #ifndef BeamSpotTreeData_H
2 #define BeamSpotTreeData_H
3 
5 
6 class TTree;
7 
9 public:
12  void branch(TTree* tree);
13  void setBranchAddress(TTree* tree);
14 
15  //Setters
16  void run(unsigned int run) { run_ = run; }
17  void lumi(unsigned int lumi) { lumi_ = lumi; }
20 
21  //Getters
22  const unsigned int& getRun(void) { return run_; }
23  const unsigned int& getLumi(void) { return lumi_; }
24  const unsigned int& getBunchCrossing(void) { return bunchCrossing_; }
25  const BeamSpotFitPVData& getPvData(void) { return pvData_; }
26 
27 private:
28  unsigned int run_;
29  unsigned int lumi_;
30  unsigned int bunchCrossing_;
32 };
33 
34 #endif
BeamSpotTreeData::lumi_
unsigned int lumi_
Definition: BeamSpotTreeData.h:29
BeamSpotFitPVData.h
tree
Definition: tree.py:1
BeamSpotTreeData::branch
void branch(TTree *tree)
Definition: BeamSpotTreeData.cc:8
BeamSpotTreeData::BeamSpotTreeData
BeamSpotTreeData()
Definition: BeamSpotTreeData.cc:4
BeamSpotTreeData::getBunchCrossing
const unsigned int & getBunchCrossing(void)
Definition: BeamSpotTreeData.h:24
BeamSpotTreeData::getPvData
const BeamSpotFitPVData & getPvData(void)
Definition: BeamSpotTreeData.h:25
BeamSpotTreeData::getLumi
const unsigned int & getLumi(void)
Definition: BeamSpotTreeData.h:23
BeamSpotTreeData
Definition: BeamSpotTreeData.h:8
BeamSpotTreeData::getRun
const unsigned int & getRun(void)
Definition: BeamSpotTreeData.h:22
BeamSpotTreeData::bunchCrossing_
unsigned int bunchCrossing_
Definition: BeamSpotTreeData.h:30
BeamSpotTreeData::run_
unsigned int run_
Definition: BeamSpotTreeData.h:28
BeamSpotTreeData::bunchCrossing
void bunchCrossing(unsigned int bunchCrossing)
Definition: BeamSpotTreeData.h:18
BeamSpotTreeData::~BeamSpotTreeData
~BeamSpotTreeData()
Definition: BeamSpotTreeData.cc:5
BeamSpotTreeData::lumi
void lumi(unsigned int lumi)
Definition: BeamSpotTreeData.h:17
BeamSpotTreeData::run
void run(unsigned int run)
Definition: BeamSpotTreeData.h:16
BeamSpotTreeData::setBranchAddress
void setBranchAddress(TTree *tree)
Definition: BeamSpotTreeData.cc:16
BeamSpotTreeData::pvData_
BeamSpotFitPVData pvData_
Definition: BeamSpotTreeData.h:31
BeamSpotTreeData::pvData
void pvData(const BeamSpotFitPVData &pvData)
Definition: BeamSpotTreeData.h:19
lumi
Definition: LumiSectionData.h:20
BeamSpotFitPVData
Definition: BeamSpotFitPVData.h:7