CMS 3D CMS Logo

HcalQLPlotHistoMgr.h
Go to the documentation of this file.
1 #ifndef HcalQLPlotHistoMgr_included
2 #define HcalQLPlotHistoMgr_included 1
3 
4 #include "TDirectory.h"
5 #include "TH1.h"
11 
13 public:
14  enum HistType { ENERGY = 0, TIME = 1, PULSE = 2, ADC = 3 };
15  enum EventType { UNKNOWN = 0, PEDESTAL = 1, LED = 2, LASER = 3, BEAM = 4 };
16  HcalQLPlotHistoMgr(TDirectory* parent, const edm::ParameterSet& histoParams);
17 
18  TH1* GetAHistogram(const HcalDetId& id, const HcalElectronicsId& eid, HistType ht, EventType et);
19 
21 
24 
25 private:
26  TH1* GetAHistogramImpl(const char* name, HistType ht, EventType et);
27 
28  TDirectory* pedHistDir;
29  TDirectory* ledHistDir;
30  TDirectory* laserHistDir;
31  TDirectory* beamHistDir;
32  TDirectory* ctrHistDir;
33  TDirectory* otherHistDir;
35 };
36 
37 #endif
HcalQLPlotHistoMgr::HcalQLPlotHistoMgr
HcalQLPlotHistoMgr(TDirectory *parent, const edm::ParameterSet &histoParams)
Definition: HcalQLPlotHistoMgr.cc:15
HcalQLPlotHistoMgr::BEAM
Definition: HcalQLPlotHistoMgr.h:15
HcalQLPlotHistoMgr::ENERGY
Definition: HcalQLPlotHistoMgr.h:14
HcalQLPlotHistoMgr
Definition: HcalQLPlotHistoMgr.h:12
HcalCalibDetId
Definition: HcalCalibDetId.h:45
HcalQLPlotHistoMgr::EventType
EventType
Definition: HcalQLPlotHistoMgr.h:15
HcalQLPlotHistoMgr::ctrHistDir
TDirectory * ctrHistDir
Definition: HcalQLPlotHistoMgr.h:32
HcalQLPlotHistoMgr::histoParams_
edm::ParameterSet histoParams_
Definition: HcalQLPlotHistoMgr.h:34
HcalQLPlotHistoMgr::ledHistDir
TDirectory * ledHistDir
Definition: HcalQLPlotHistoMgr.h:29
ADC
Definition: ZdcTBAnalysis.h:46
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
HcalCalibDetId.h
HcalQLPlotHistoMgr::HistType
HistType
Definition: HcalQLPlotHistoMgr.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalQLPlotHistoMgr::TIME
Definition: HcalQLPlotHistoMgr.h:14
edm::ParameterSet
Definition: ParameterSet.h:47
HcalQLPlotHistoMgr::PULSE
Definition: HcalQLPlotHistoMgr.h:14
HcalQLPlotHistoMgr::nameForFlavor
static std::string nameForFlavor(HistType ht)
Definition: HcalQLPlotHistoMgr.cc:24
HcalQLPlotHistoMgr::laserHistDir
TDirectory * laserHistDir
Definition: HcalQLPlotHistoMgr.h:30
HcalDetId.h
HcalDetId
Definition: HcalDetId.h:12
HcalQLPlotHistoMgr::otherHistDir
TDirectory * otherHistDir
Definition: HcalQLPlotHistoMgr.h:33
runTauDisplay.eid
eid
Definition: runTauDisplay.py:298
HcalQLPlotHistoMgr::LED
Definition: HcalQLPlotHistoMgr.h:15
HcalQLPlotHistoMgr::LASER
Definition: HcalQLPlotHistoMgr.h:15
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
HcalQLPlotHistoMgr::pedHistDir
TDirectory * pedHistDir
Definition: HcalQLPlotHistoMgr.h:28
HcalElectronicsId.h
HcalQLPlotHistoMgr::nameForEvent
static std::string nameForEvent(EventType et)
Definition: HcalQLPlotHistoMgr.cc:44
HcalQLPlotHistoMgr::UNKNOWN
Definition: HcalQLPlotHistoMgr.h:15
DetId.h
HcalQLPlotHistoMgr::PEDESTAL
Definition: HcalQLPlotHistoMgr.h:15
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
ParameterSet.h
HcalQLPlotHistoMgr::beamHistDir
TDirectory * beamHistDir
Definition: HcalQLPlotHistoMgr.h:31
class-composition.parent
parent
Definition: class-composition.py:88
HcalQLPlotHistoMgr::GetAHistogram
TH1 * GetAHistogram(const HcalDetId &id, const HcalElectronicsId &eid, HistType ht, EventType et)
Definition: HcalQLPlotHistoMgr.cc:64
HcalQLPlotHistoMgr::GetAHistogramImpl
TH1 * GetAHistogramImpl(const char *name, HistType ht, EventType et)
Definition: HcalQLPlotHistoMgr.cc:157