CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalEEUSMonitor.h
Go to the documentation of this file.
1 #ifndef GUARD_DQM_HCALMONITORTASKS_HCALEEUSMONITOR_H
2 #define GUARD_DQM_HCALMONITORTASKS_HCALEEUSMONITOR_H
3 
4 #define NUMSPIGS 15
5 #define NUMFEDS 32
6 #define NUMCHANS 24
7 
8 
13 // The following are needed for using pedestals in fC:
16 
17 // Raw data stuff
24 
25 // Use for stringstream
26 #include <iostream>
27 #include <iomanip>
28 #include <cmath>
29 
36  public:
39 
40  void unpack(const FEDRawData& raw, const HcalElectronicsMap& emap);
41  void setup(const edm::ParameterSet& ps, DQMStore* dbe);
42  void reset();
43  void clearME();
44 
45  // processEvent routine -- specifies what inputs are looked at each event
46  void processEvent(const FEDRawDataCollection& rawraw,
48  const HcalElectronicsMap& emap
49  //const ZDCRecHitCollection& zdcHits
50  );
51  // Check Raw Data each event
52  void processEvent_RawData(const FEDRawDataCollection& rawraw,
53  const HcalUnpackerReport& report,
54  const HcalElectronicsMap& emap);
55 
56  private:
57 
58  int ievt_;
60 
61  std::vector <int> fedUnpackList_;
62  int firstFED_;
63 
64 
65  //Jason's MEs
66 
70 
71  //Jason's Variables
72 
73  bool EEthisEvent [NUMSPIGS * NUMFEDS]; //Bookkeeping: which spigots EE
75  //Francesco's MEs
76 
81 
86 
87  //---------
88  //Francesco's Variables
94 
95  //Ted's MEs
96  //Ted's Variables
97 
98  //Jared's MEs
99 
103 
104  //Jared's Variables
108  int dccOrN;
109  int prevOrN;
111 }; // class HcalEEUSMonitor
112 
113 #endif
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap)
uint32_t consecutiveTriggers[32][15]
MonitorElement * meUSFractSpigs_US1_EE1_
int prevWasEE[32][15]
uint32_t consecutiveNETriggers[32][15]
uint32_t consecutiveEETriggers[32][15]
uint64_t US0EE1count[32][15]
uint64_t US0EE0count[32][15]
#define NUMSPIGS
MonitorElement * meNumberNETriggered_
MonitorElement * meEEFractSpigs_US0_EE1_
MonitorElement * meNormFractSpigs_US0_EE0_
MonitorElement * meRawDataLength2_US0_EE0_
tuple report
Definition: zeeHLT_cff.py:9
#define NUMFEDS
uint64_t US1EE1count[32][15]
MonitorElement * meEVT_
uint64_t UScount[32][15]
MonitorElement * meRawDataLength2_US0_EE1_
std::vector< int > fedUnpackList_
bool EEthisEvent[15 *32]
MonitorElement * meNumberTriggered_
MonitorElement * meRawDataLength2_US1_EE0_
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
MonitorElement * meEEThisEvent_
unsigned long long uint64_t
Definition: Time.h:15
void processEvent_RawData(const FEDRawDataCollection &rawraw, const HcalUnpackerReport &report, const HcalElectronicsMap &emap)
MonitorElement * meNumberEETriggered_
MonitorElement * meUSFractSpigs_US1_EE0_
uint64_t US1EE0count[32][15]
MonitorElement * meEEPerSpigot_
MonitorElement * meEECorrel_
MonitorElement * meRawDataLength2_US1_EE1_