CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
unsigned int run_
void run(unsigned int run)
unsigned int bunchCrossing_
void bunchCrossing(unsigned int bunchCrossing)
unsigned int lumi_
void setBranchAddress(TTree *tree)
void lumi(unsigned int lumi)
BeamSpotFitPVData pvData_
void pvData(const BeamSpotFitPVData &pvData)
void branch(TTree *tree)
const BeamSpotFitPVData & getPvData(void)
const unsigned int & getLumi(void)
const unsigned int & getBunchCrossing(void)
const unsigned int & getRun(void)