RecoTBCalo
HcalPlotter
scripts
HistoManager.h
Go to the documentation of this file.
1
#ifndef HistoManager_included
2
#define HistoManager_included 1
3
4
#include "TDirectory.h"
5
#include "TH1.h"
6
#include "
MyHcalClasses.h
"
7
8
class
HistoManager
{
9
public
:
10
enum
HistType
{
ENERGY
=0,
TIME
=1,
PULSE
=2,
ADC
=3,
NUMHISTTYPES
=4 };
11
enum
EventType
{
UNKNOWN
=0,
PEDESTAL
=1,
LED
=2,
LASER
=3,
BEAM
=4,
NUMEVTTYPES
=5 };
12
13
HistoManager
(TDirectory*
parent
);
14
15
std::vector<MyHcalDetId>
getDetIdsForType
(
HistType
ht,
EventType
et
);
16
TH1*
GetAHistogram
(
const
MyHcalDetId
&
id
,
HistType
ht,
EventType
et
);
17
18
19
20
21
std::vector<MyElectronicsId>
getElecIdsForType
(
HistType
ht,
EventType
et
);
22
TH1*
GetAHistogram
(
const
MyElectronicsId
&
id
,
HistType
ht,
EventType
et
);
23
24
25
26
27
static
std::string
nameForFlavor
(
HistType
ht);
28
static
std::string
nameForEvent
(
EventType
et
);
29
private
:
30
bool
m_writeMode
;
31
TDirectory*
pedHistDir
;
32
TDirectory*
ledHistDir
;
33
TDirectory*
laserHistDir
;
34
TDirectory*
beamHistDir
;
35
TDirectory*
otherHistDir
;
36
};
37
38
#endif
HistoManager::EventType
EventType
Definition:
HistoManager.h:11
HistoManager::PULSE
Definition:
HistoManager.h:10
HistoManager::PEDESTAL
Definition:
HistoManager.h:11
HistoManager::ledHistDir
TDirectory * ledHistDir
Definition:
HistoManager.h:32
HistoManager::beamHistDir
TDirectory * beamHistDir
Definition:
HistoManager.h:34
HistoManager::nameForEvent
static std::string nameForEvent(EventType et)
Definition:
HistoManager.cc:25
MyHcalClasses.h
HistoManager::laserHistDir
TDirectory * laserHistDir
Definition:
HistoManager.h:33
HistoManager::pedHistDir
TDirectory * pedHistDir
Definition:
HistoManager.h:31
MyElectronicsId
Definition:
MyHcalClasses.h:20
HistoManager::TIME
Definition:
HistoManager.h:10
HistoManager::NUMEVTTYPES
Definition:
HistoManager.h:11
ADC
Definition:
ZdcTBAnalysis.h:46
HistoManager::getDetIdsForType
std::vector< MyHcalDetId > getDetIdsForType(HistType ht, EventType et)
Definition:
HistoManager.cc:132
HistoManager::NUMHISTTYPES
Definition:
HistoManager.h:10
HistoManager::HistoManager
HistoManager(TDirectory *parent)
Definition:
HistoManager.cc:5
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HistoManager::UNKNOWN
Definition:
HistoManager.h:11
MyHcalDetId
Definition:
MyHcalClasses.h:11
HistoManager::m_writeMode
bool m_writeMode
Definition:
HistoManager.h:30
HistoManager::LASER
Definition:
HistoManager.h:11
HistoManager::nameForFlavor
static std::string nameForFlavor(HistType ht)
Definition:
HistoManager.cc:14
HistoManager
Definition:
HistoManager.h:8
HistoManager::getElecIdsForType
std::vector< MyElectronicsId > getElecIdsForType(HistType ht, EventType et)
Definition:
HistoManager.cc:185
EgHLTOffHistBins_cfi.et
et
Definition:
EgHLTOffHistBins_cfi.py:8
HistoManager::LED
Definition:
HistoManager.h:11
HistoManager::otherHistDir
TDirectory * otherHistDir
Definition:
HistoManager.h:35
HistoManager::BEAM
Definition:
HistoManager.h:11
HistoManager::GetAHistogram
TH1 * GetAHistogram(const MyHcalDetId &id, HistType ht, EventType et)
Definition:
HistoManager.cc:36
HistoManager::HistType
HistType
Definition:
HistoManager.h:10
HistoManager::ENERGY
Definition:
HistoManager.h:10
class-composition.parent
parent
Definition:
class-composition.py:88
Generated for CMSSW Reference Manual by
1.8.16