CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoVertex/BeamSpotProducer/interface/BeamSpotTreeData.h

Go to the documentation of this file.
00001 #ifndef BeamSpotTreeData_H
00002 #define BeamSpotTreeData_H
00003 
00004 #include "RecoVertex/BeamSpotProducer/interface/BeamSpotFitPVData.h"
00005 
00006 class TTree;
00007 
00008 
00009 class BeamSpotTreeData{
00010  public:
00011   BeamSpotTreeData();
00012   ~BeamSpotTreeData();
00013   void branch(TTree* tree);
00014   void setBranchAddress(TTree* tree);
00015   
00016   //Setters
00017   void run          (unsigned int      run)          {run_=run;}
00018   void lumi         (unsigned int      lumi)         {lumi_=lumi;}
00019   void bunchCrossing(unsigned int      bunchCrossing){bunchCrossing_=bunchCrossing;}
00020   void pvData       (BeamSpotFitPVData pvData)       {pvData_=pvData;}
00021 
00022   //Getters
00023   const unsigned int&      getRun          (void){return run_;}
00024   const unsigned int&      getLumi         (void){return lumi_;}
00025   const unsigned int&      getBunchCrossing(void){return bunchCrossing_;}
00026   const BeamSpotFitPVData& getPvData       (void){return pvData_;}
00027   
00028  private:
00029   unsigned int      run_;
00030   unsigned int      lumi_;
00031   unsigned int      bunchCrossing_;
00032   BeamSpotFitPVData pvData_;
00033 };
00034 
00035 #endif