CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/Calibration/EcalTBTools/interface/TB06Tree.h

Go to the documentation of this file.
00001 #ifndef TB06Tree_h
00002 #define TB06Tree_h
00003 
00004 // includes
00005 #include <string>
00006 
00007 #include "TClonesArray.h"
00008 
00009 class TFile ;
00010 class TTree ;
00011 
00012 class G3EventProxy ;
00013 
00014 class TB06Tree {
00015  public:
00017   TB06Tree (const std::string & fileName  = "TB06Tree.root", 
00018             const std::string & treeName = "Analysis") ;
00020   ~TB06Tree () ;
00021 
00022   void store (const int & tableIsMoving,
00023               const int & run, const int & event,
00024               const int & S6adc ,
00025               const double & xhodo, const double & yhodo, 
00026               const double & xslope, const double & yslope, 
00027               const double & xquality, const double & yquality,
00028               const int & icMax,
00029                     const int & ietaMax, const int & iphiMax,
00030               const double & beamEnergy, 
00031               const double ampl[49]) ;
00032   
00033   void reset (float crystal[11][21]) ;
00034 
00035   void check () ;
00036 
00037  private:
00038   
00039   TFile * m_file ;
00040   TTree * m_tree ;
00041 
00042   TClonesArray * m_data ;
00043   int m_dataSize ;
00044   
00045 } ;
00046 
00047 #endif