#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 MyHcalDetId &id, HistType ht, EventType et) |
TH1 * | GetAHistogram (const MyElectronicsId &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.
Enumerator | |
---|---|
ENERGY | |
TIME | |
PULSE | |
ADC | |
NUMHISTTYPES |
Definition at line 10 of file HistoManager.h.
HistoManager::HistoManager | ( | TDirectory * | parent | ) |
Definition at line 5 of file HistoManager.cc.
References beamHistDir, laserHistDir, ledHistDir, otherHistDir, and pedHistDir.
TH1 * HistoManager::GetAHistogram | ( | const MyHcalDetId & | id, |
HistType | ht, | ||
EventType | et | ||
) |
Definition at line 36 of file HistoManager.cc.
References BEAM, beamHistDir, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, LASER, laserHistDir, LED, ledHistDir, mergeVDriftHistosByStation::name, nameForFlavor(), otherHistDir, PEDESTAL, pedHistDir, and UNKNOWN.
TH1 * HistoManager::GetAHistogram | ( | const MyElectronicsId & | id, |
HistType | ht, | ||
EventType | et | ||
) |
Definition at line 88 of file HistoManager.cc.
References BEAM, beamHistDir, MyElectronicsId::crate, MyElectronicsId::fiber, MyElectronicsId::fiberChan, LASER, laserHistDir, LED, ledHistDir, mergeVDriftHistosByStation::name, nameForFlavor(), otherHistDir, PEDESTAL, pedHistDir, MyElectronicsId::Slot, MyElectronicsId::tb, and UNKNOWN.
std::vector< MyHcalDetId > HistoManager::getDetIdsForType | ( | HistType | ht, |
EventType | et | ||
) |
Definition at line 132 of file HistoManager.cc.
References BEAM, beamHistDir, MyHcalDetId::depth, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, MyHcalDetId::ieta, if(), MyHcalDetId::iphi, LASER, laserHistDir, LED, ledHistDir, nameForFlavor(), otherHistDir, PEDESTAL, pedHistDir, MyHcalDetId::subdet, and UNKNOWN.
std::vector< MyElectronicsId > HistoManager::getElecIdsForType | ( | HistType | ht, |
EventType | et | ||
) |
Definition at line 185 of file HistoManager.cc.
References BEAM, beamHistDir, MyElectronicsId::crate, MyElectronicsId::fiber, MyElectronicsId::fiberChan, LASER, laserHistDir, LED, ledHistDir, nameForFlavor(), otherHistDir, PEDESTAL, pedHistDir, MyElectronicsId::Slot, MyElectronicsId::tb, and UNKNOWN.
|
static |
Definition at line 25 of file HistoManager.cc.
References BEAM, LASER, LED, and PEDESTAL.
|
static |
Definition at line 14 of file HistoManager.cc.
References 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().