CMS 3D CMS Logo

CastorLEDMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_CASTORMONITOR_CASTORLEDMONITOR_H
2 #define DQM_CASTORMONITOR_CASTORLEDMONITOR_H
3 
11 
12 static const float LedMonAdc2fc[128]=
13  { -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
14  8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 15., 17.,
15  19., 21., 23., 25., 27., 29.5,
16  32.5, 35.5, 38.5, 42., 46., 50., 54.5, 59.5,
17  64.5, 59.5, 64.5, 69.5, 74.5,
18  79.5, 84.5, 89.5, 94.5, 99.5, 104.5, 109.5,
19  114.5, 119.5, 124.5, 129.5, 137.,
20  147., 157., 167., 177., 187., 197., 209.5, 224.5,
21  239.5, 254.5, 272., 292.,
22  312., 334.5, 359.5, 384.5, 359.5, 384.5, 409.5,
23  434.5, 459.5, 484.5, 509.5,
24  534.5, 559.5, 584.5, 609.5, 634.5, 659.5, 684.5, 709.5,
25  747., 797., 847.,
26  897., 947., 997., 1047., 1109.5, 1184.5, 1259.5,
27  1334.5, 1422., 1522., 1622.,
28  1734.5, 1859.5, 1984.5, 1859.5, 1984.5, 2109.5,
29  2234.5, 2359.5, 2484.5,
30  2609.5, 2734.5, 2859.5, 2984.5, 3109.5,
31  3234.5, 3359.5, 3484.5, 3609.5, 3797.,
32  4047., 4297., 4547., 4797., 5047., 5297.,
33  5609.5, 5984.5, 6359.5, 6734.5,
34  7172., 7672., 8172., 8734.5, 9359.5, 9984.5};
35 
36 //class CastorLEDMonitor: public CastorBaseMonitor {
37 //class CastorLEDMonitor: public DQMEDHarvester {
38 //class CastorLEDMonitor: public CastorMonitorModule {
39 
41 
42 public:
45 
46  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &);
47  void processEvent(const CastorDigiCollection& cast, const CastorDbService& cond);
48 
49 private:
50  int ievt_;
53 
55 };
56 
57 #endif
std::string subsystemname
MonitorElement * h2meanMap
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
CastorLEDMonitor(const edm::ParameterSet &ps)
static const float LedMonAdc2fc[128]
Definition: plugin.cc:24
MonitorElement * h2qMap
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
Definition: Run.h:44