CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/SimG4CMS/HcalTestBeam/interface/HcalTB06Histo.h

Go to the documentation of this file.
00001 #ifndef HcalTestBeam_HcalTB06Histo_H
00002 #define HcalTestBeam_HcalTB06Histo_H
00003 // -*- C++ -*-
00004 //
00005 // Package:     HcalTestBeam
00006 // Class  :     HcalTB06Histo
00007 //
00014 //
00015 // Original Author:  Sunanda Banerjee
00016 //         Created:  Tue Oct 10 10:14:34 CEST 2006
00017 //
00018   
00019 // system include files
00020 #include<string>
00021 #include<vector>
00022  
00023 // user include files
00024 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00025 #include "FWCore/ServiceRegistry/interface/Service.h"
00026 
00027 #include <TH1D.h>
00028 #include <TH2D.h>
00029 
00030 class HcalTB06Histo {
00031    
00032 public:
00033  
00034   // ---------- Constructor and destructor -----------------
00035   HcalTB06Histo(const edm::ParameterSet &ps);
00036   virtual ~HcalTB06Histo();
00037 
00038   // ---------- member functions ---------------------------
00039   void fillPrimary(double energy, double eta, double phi);
00040   void fillEdep(double etots, double eecals, double ehcals);
00041                                                                                
00042 private:
00043 
00044   // ---------- Private Data members -----------------------
00045   bool                  verbose;
00046 
00047   TH1D                  *iniE,  *iEta,  *iPhi;
00048   TH1D                  *edepS, *edecS, *edhcS;
00049   TH2D                  *edehS;
00050 };
00051  
00052 #endif