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::IBooker& ib);
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 setup(const edm::ParameterSet &ps, DQMStore::IBooker &ib)
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap)
int ib
Definition: cuy.py:660
MonitorElement * meUSFractSpigs_US1_EE1_
uint32_t consecutiveTriggers[NUMFEDS][NUMSPIGS]
#define NUMSPIGS
uint32_t consecutiveEETriggers[NUMFEDS][NUMSPIGS]
MonitorElement * meNumberNETriggered_
MonitorElement * meEEFractSpigs_US0_EE1_
MonitorElement * meNormFractSpigs_US0_EE0_
MonitorElement * meRawDataLength2_US0_EE0_
tuple report
Definition: zeeHLT_cff.py:9
#define NUMFEDS
uint32_t consecutiveNETriggers[NUMFEDS][NUMSPIGS]
MonitorElement * meEVT_
MonitorElement * meRawDataLength2_US0_EE1_
std::vector< int > fedUnpackList_
int prevWasEE[NUMFEDS][NUMSPIGS]
MonitorElement * meNumberTriggered_
MonitorElement * meRawDataLength2_US1_EE0_
MonitorElement * meEEThisEvent_
uint64_t UScount[NUMFEDS][NUMSPIGS]
uint64_t US1EE0count[NUMFEDS][NUMSPIGS]
unsigned long long uint64_t
Definition: Time.h:15
void processEvent_RawData(const FEDRawDataCollection &rawraw, const HcalUnpackerReport &report, const HcalElectronicsMap &emap)
uint64_t US0EE1count[NUMFEDS][NUMSPIGS]
uint64_t US0EE0count[NUMFEDS][NUMSPIGS]
bool EEthisEvent[NUMSPIGS *NUMFEDS]
MonitorElement * meNumberEETriggered_
MonitorElement * meUSFractSpigs_US1_EE0_
MonitorElement * meEEPerSpigot_
MonitorElement * meEECorrel_
uint64_t US1EE1count[NUMFEDS][NUMSPIGS]
MonitorElement * meRawDataLength2_US1_EE1_