1 #ifndef DQM_CASTORMONITOR_CASTORLEDMONITOR_H
2 #define DQM_CASTORMONITOR_CASTORLEDMONITOR_H
10 static const float LedMonAdc2fc[128]={-0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
11 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 15., 17.,
12 19., 21., 23., 25., 27., 29.5,
13 32.5, 35.5, 38.5, 42., 46., 50., 54.5, 59.5,
14 64.5, 59.5, 64.5, 69.5, 74.5,
15 79.5, 84.5, 89.5, 94.5, 99.5, 104.5, 109.5,
16 114.5, 119.5, 124.5, 129.5, 137.,
17 147., 157., 167., 177., 187., 197., 209.5, 224.5,
18 239.5, 254.5, 272., 292.,
19 312., 334.5, 359.5, 384.5, 359.5, 384.5, 409.5,
20 434.5, 459.5, 484.5, 509.5,
21 534.5, 559.5, 584.5, 609.5, 634.5, 659.5, 684.5, 709.5,
23 897., 947., 997., 1047., 1109.5, 1184.5, 1259.5,
24 1334.5, 1422., 1522., 1622.,
25 1734.5, 1859.5, 1984.5, 1859.5, 1984.5, 2109.5,
26 2234.5, 2359.5, 2484.5,
27 2609.5, 2734.5, 2859.5, 2984.5, 3109.5,
28 3234.5, 3359.5, 3484.5, 3609.5, 3797.,
29 4047., 4297., 4547., 4797., 5047., 5297.,
30 5609.5, 5984.5, 6359.5, 6734.5,
31 7172., 7672., 8172., 8734.5, 9359.5, 9984.5};
57 std::map<HcalCastorDetId, MonitorElement*> &tShape,
58 std::map<HcalCastorDetId, MonitorElement*> &tTime,
59 std::map<HcalCastorDetId, MonitorElement*> &tEnergy,
64 std::map<HcalCastorDetId, MonitorElement*>::iterator
meIter;
65 std::map<unsigned int, MonitorElement*>::iterator
fedIter;
80 std::map<HcalCastorDetId,MonitorElement*>
shape;
81 std::map<HcalCastorDetId,MonitorElement*>
time;
82 std::map<HcalCastorDetId,MonitorElement*>
energy;
std::map< unsigned int, MonitorElement * > RMS_MAP_ENERGY_DCC
std::map< unsigned int, MonitorElement * > RMS_MAP_SHAPE_DCC
struct CastorLEDMonitor::@254 castHists
MonitorElement * MEAN_MAP_TIME_L2
MonitorElement * MEAN_MAP_TIME_L3
std::map< unsigned int, MonitorElement * >::iterator fedIter
MonitorElement * RMS_MAP_TIME_L4
void createFEDmap(unsigned int fed)
std::map< HcalCastorDetId, MonitorElement * >::iterator meIter
MonitorElement * rms_energy
MonitorElement * RMS_MAP_TIME_L1
MonitorElement * mean_energy
MonitorElement * RMS_MAP_TIME_L2
std::map< unsigned int, MonitorElement * > MEAN_MAP_ENERGY_DCC
MonitorElement * shapeALL
std::map< HcalCastorDetId, MonitorElement * > time
std::map< unsigned int, MonitorElement * > MEAN_MAP_TIME_DCC
MonitorElement * rms_time
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
std::map< HcalCastorDetId, MonitorElement * > shape
MonitorElement * mean_shape
MonitorElement * mean_time
MonitorElement * shapePED
static const float LedMonAdc2fc[128]
MonitorElement * energyALL
void beginRun(const edm::EventSetup &iSetup)
MonitorElement * rms_shape
MonitorElement * MEAN_MAP_TIME_L1
MonitorElement * MEAN_MAP_TIME_L4
void perChanHists(const HcalCastorDetId DetID, float *vals, std::map< HcalCastorDetId, MonitorElement * > &tShape, std::map< HcalCastorDetId, MonitorElement * > &tTime, std::map< HcalCastorDetId, MonitorElement * > &tEnergy, std::string baseFolder)
MonitorElement * RMS_MAP_TIME_L3
std::map< unsigned int, MonitorElement * > RMS_MAP_TIME_DCC
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
std::map< unsigned int, MonitorElement * > MEAN_MAP_SHAPE_DCC
std::map< HcalCastorDetId, MonitorElement * > energy
CastorCalibrations calibs_