CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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,
19  const HcalElectronicsId& eid,
20  HistType ht, EventType et);
21 
22  TH1* GetAHistogram(const HcalCalibDetId& id,
23  const HcalElectronicsId& eid,
24  HistType ht, EventType et);
25 
28 private:
29  TH1* GetAHistogramImpl(const char *name, HistType ht, EventType et);
30 
31  TDirectory* pedHistDir;
32  TDirectory* ledHistDir;
33  TDirectory* laserHistDir;
34  TDirectory* beamHistDir;
35  TDirectory* ctrHistDir;
36  TDirectory* otherHistDir;
38 };
39 
40 #endif
list parent
Definition: dbtoconf.py:74
HcalQLPlotHistoMgr(TDirectory *parent, const edm::ParameterSet &histoParams)
edm::ParameterSet histoParams_
static std::string nameForFlavor(HistType ht)
TDirectory * beamHistDir
TDirectory * laserHistDir
TH1 * GetAHistogramImpl(const char *name, HistType ht, EventType et)
TH1 * GetAHistogram(const HcalDetId &id, const HcalElectronicsId &eid, HistType ht, EventType et)
static std::string nameForEvent(EventType et)
Readout chain identification for Hcal.
TDirectory * otherHistDir