CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorChannelQualityMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_CASTORMONITOR_CASTORCHANNELQUALITYMONITOR_H
2 #define DQM_CASTORMONITOR_CASTORCHANNELQUALITYMONITOR_H
3 
7 
10 
17 
21 
22 #include <iostream>
23 #include <fstream>
24 #include <vector>
25 #include <map>
26 
27 
29 
30  typedef std::map<uint32_t,float,std::less<uint32_t> > MapType;
31 
32 public:
35 
36  void setup(const edm::ParameterSet& ps, DQMStore* dbe);
37  void processEvent(const CastorRecHitCollection& castorHits);
38  void reset();
39 
40 
41  struct{
42  int module;
43  int sector;
44  std::vector<float> energy;
45  } ChannelStatus;
46 
47 
48 private:
49 
50  int ievt_;
52  int status; int numOK;
53 
54  std::string histo;
55 
56  double nThreshold_;
57  double dThreshold_;
58  int aboveNoisyThreshold [14][16];
59  int belowDThreshold [14][16];
60  double energyArray [14][16];
61  int aboveThr [14][16];
62  int counter1;
63  int counter2;
64  double wcounter1;
65  double wcounter2;
66  double averageEnergy;
67 
69  bool offline_;
70  bool iRecHit;
74  double fraction;
75 
76 
77 
78 };
79 
80 #endif
std::map< uint32_t, float, std::less< uint32_t > > MapType
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
void processEvent(const CastorRecHitCollection &castorHits)
struct CastorChannelQualityMonitor::@183 ChannelStatus