CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BeamSpotTreeData.h
Go to the documentation of this file.
1 #ifndef BeamSpotTreeData_H
2 #define BeamSpotTreeData_H
3 
5 
6 class TTree;
7 
8 
10  public:
13  void branch(TTree* tree);
14  void setBranchAddress(TTree* tree);
15 
16  //Setters
17  void run (unsigned int run) {run_=run;}
18  void lumi (unsigned int lumi) {lumi_=lumi;}
21 
22  //Getters
23  const unsigned int& getRun (void){return run_;}
24  const unsigned int& getLumi (void){return lumi_;}
25  const unsigned int& getBunchCrossing(void){return bunchCrossing_;}
26  const BeamSpotFitPVData& getPvData (void){return pvData_;}
27 
28  private:
29  unsigned int run_;
30  unsigned int lumi_;
31  unsigned int bunchCrossing_;
33 };
34 
35 #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)