CMS 3D CMS Logo

HcalTB04Histo.h

Go to the documentation of this file.
00001 #ifndef HcalTestBeam_HcalTB04Histo_H
00002 #define HcalTestBeam_HcalTB04Histo_H
00003 // -*- C++ -*-
00004 //
00005 // Package:     HcalTestBeam
00006 // Class  :     HcalTB04Histo
00007 //
00014 //
00015 // Original Author:  Sunanda Banerjee
00016 //         Created:  Thu May 18 10:14:34 CEST 2006
00017 // $Id: HcalTB04Histo.h,v 1.4 2008/07/24 15:19:15 sunanda Exp $
00018 //
00019   
00020 // system include files
00021 #include<string>
00022 #include<vector>
00023  
00024 // user include files
00025 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00026 #include "FWCore/ServiceRegistry/interface/Service.h"
00027 
00028 #include <TH1D.h>
00029 #include <TH2D.h>
00030 #include <TProfile.h>
00031 
00032 class HcalTB04Histo {
00033    
00034 public:
00035  
00036   // ---------- Constructor and destructor -----------------
00037   HcalTB04Histo(const edm::ParameterSet &ps);
00038   virtual ~HcalTB04Histo();
00039 
00040   // ---------- member functions ---------------------------
00041   void fillPrimary(double energy, double eta, double phi);
00042   void fillEdep(double etots, double eecals, double ehcals, 
00043                 double etotq, double eecalq, double ehcalq);
00044   void fillTrnsProf(std::vector<double> es1, std::vector<double> eq1,
00045                     std::vector<double> es2, std::vector<double> eq2);
00046   void fillLongProf(std::vector<double> es, std::vector<double> eq);
00047                                                                                
00048 private:
00049 
00050   // ---------- Private Data members -----------------------
00051   bool                  verbose;
00052   double                eTotMax, eHcalMax;
00053 
00054   TH1D                  *iniE,  *iEta,  *iPhi;
00055   TH1D                  *edepS, *edecS, *edhcS, *edepQ, *edecQ, *edhcQ;
00056   TH2D                  *edehS, *edehQ;
00057   TProfile              *latse, *latqe, *latsf, *latqf, *lngs, *lngq;
00058 };
00059  
00060 #endif

Generated on Tue Jun 9 17:46:57 2009 for CMSSW by  doxygen 1.5.4