#include <HistoManager.h>
Public Types | |
enum | EventType { UNKNOWN =0, PEDESTAL =1, LED =2, LASER =3, BEAM =4, NUMEVTTYPES =5 } |
enum | HistType { ENERGY =0, TIME =1, PULSE =2, ADC =3, NUMHISTTYPES =4 } |
Public Member Functions | |
TH1 * | GetAHistogram (const MyElectronicsId &id, HistType ht, EventType et) |
TH1 * | GetAHistogram (const MyHcalDetId &id, HistType ht, EventType et) |
std::vector< MyHcalDetId > | getDetIdsForType (HistType ht, EventType et) |
std::vector< MyElectronicsId > | getElecIdsForType (HistType ht, EventType et) |
HistoManager (TDirectory *parent) | |
Static Public Member Functions | |
static std::string | nameForEvent (EventType et) |
static std::string | nameForFlavor (HistType ht) |
Private Attributes | |
TDirectory * | beamHistDir |
TDirectory * | laserHistDir |
TDirectory * | ledHistDir |
bool | m_writeMode |
TDirectory * | otherHistDir |
TDirectory * | pedHistDir |
Definition at line 8 of file HistoManager.h.
Enumerator | |
---|---|
UNKNOWN | |
PEDESTAL | |
LED | |
LASER | |
BEAM | |
NUMEVTTYPES |
Definition at line 11 of file HistoManager.h.
HistoManager::HistoManager | ( | TDirectory * | parent | ) |
Definition at line 5 of file HistoManager.cc.
References beamHistDir, laserHistDir, ledHistDir, otherHistDir, class-composition::parent, and pedHistDir.
TH1 * HistoManager::GetAHistogram | ( | const MyElectronicsId & | id, |
HistType | ht, | ||
EventType | et | ||
) |
Definition at line 88 of file HistoManager.cc.
References BEAM, beamHistDir, runTauDisplay::eid, EgHLTOffHistBins_cfi::et, LASER, laserHistDir, LED, ledHistDir, Skims_PA_cff::name, nameForFlavor(), otherHistDir, PEDESTAL, pedHistDir, AlCaHLTBitMon_QueryRunRegistry::string, and UNKNOWN.
TH1 * HistoManager::GetAHistogram | ( | const MyHcalDetId & | id, |
HistType | ht, | ||
EventType | et | ||
) |
Definition at line 36 of file HistoManager.cc.
References BEAM, beamHistDir, writedatasetfile::default, EgHLTOffHistBins_cfi::et, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, LASER, laserHistDir, LED, ledHistDir, Skims_PA_cff::name, nameForFlavor(), otherHistDir, PEDESTAL, pedHistDir, AlCaHLTBitMon_QueryRunRegistry::string, and UNKNOWN.
std::vector< MyHcalDetId > HistoManager::getDetIdsForType | ( | HistType | ht, |
EventType | et | ||
) |
Definition at line 132 of file HistoManager.cc.
References BEAM, beamHistDir, fileCollector2::converted, writedatasetfile::default, MyHcalDetId::depth, EgHLTOffHistBins_cfi::et, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, MyHcalDetId::ieta, if(), MyHcalDetId::iphi, LASER, laserHistDir, LED, ledHistDir, nameForFlavor(), otherHistDir, PEDESTAL, pedHistDir, AlCaHLTBitMon_QueryRunRegistry::string, MyHcalDetId::subdet, and UNKNOWN.
std::vector< MyElectronicsId > HistoManager::getElecIdsForType | ( | HistType | ht, |
EventType | et | ||
) |
Definition at line 185 of file HistoManager.cc.
References BEAM, beamHistDir, fileCollector2::converted, MyElectronicsId::crate, EgHLTOffHistBins_cfi::et, MyElectronicsId::fiber, MyElectronicsId::fiberChan, LASER, laserHistDir, LED, ledHistDir, nameForFlavor(), otherHistDir, PEDESTAL, pedHistDir, MyElectronicsId::Slot, AlCaHLTBitMon_QueryRunRegistry::string, MyElectronicsId::tb, and UNKNOWN.
|
static |
Definition at line 25 of file HistoManager.cc.
References BEAM, writedatasetfile::default, EgHLTOffHistBins_cfi::et, LASER, LED, and PEDESTAL.
|
static |
Definition at line 14 of file HistoManager.cc.
References writedatasetfile::default, ENERGY, PULSE, and TIME.
Referenced by GetAHistogram(), getDetIdsForType(), and getElecIdsForType().
|
private |
Definition at line 34 of file HistoManager.h.
Referenced by GetAHistogram(), getDetIdsForType(), getElecIdsForType(), and HistoManager().
|
private |
Definition at line 33 of file HistoManager.h.
Referenced by GetAHistogram(), getDetIdsForType(), getElecIdsForType(), and HistoManager().
|
private |
Definition at line 32 of file HistoManager.h.
Referenced by GetAHistogram(), getDetIdsForType(), getElecIdsForType(), and HistoManager().
|
private |
Definition at line 30 of file HistoManager.h.
|
private |
Definition at line 35 of file HistoManager.h.
Referenced by GetAHistogram(), getDetIdsForType(), getElecIdsForType(), and HistoManager().
|
private |
Definition at line 31 of file HistoManager.h.
Referenced by GetAHistogram(), getDetIdsForType(), getElecIdsForType(), and HistoManager().