RecoTBCalo
HcalPlotter
src
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"
6
#include "
DataFormats/DetId/interface/DetId.h
"
7
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
8
#include "
DataFormats/HcalDetId/interface/HcalCalibDetId.h
"
9
#include "
DataFormats/HcalDetId/interface/HcalElectronicsId.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
12
class
HcalQLPlotHistoMgr
{
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
20
TH1*
GetAHistogram
(
const
HcalCalibDetId
&
id
,
const
HcalElectronicsId
&
eid
,
HistType
ht,
EventType
et
);
21
22
static
std::string
nameForFlavor
(
HistType
ht);
23
static
std::string
nameForEvent
(
EventType
et
);
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
;
34
edm::ParameterSet
histoParams_
;
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
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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:98
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
Generated for CMSSW Reference Manual by
1.8.16