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 
38  public:
41 
42  void unpack(const FEDRawData& raw, const HcalElectronicsMap& emap);
43  void setup(const edm::ParameterSet& ps, DQMStore* dbe);
44  void reset();
45  void clearME();
46 
47  // processEvent routine -- specifies what inputs are looked at each event
48  void processEvent(const FEDRawDataCollection& rawraw,
50  const HcalElectronicsMap& emap
51  //const ZDCRecHitCollection& zdcHits
52  );
53  // Check Raw Data each event
54  void processEvent_RawData(const FEDRawDataCollection& rawraw,
55  const HcalUnpackerReport& report,
56  const HcalElectronicsMap& emap);
57 
58  private:
59 
60  int ievt_;
62 
63  std::vector <int> fedUnpackList_;
64  int firstFED_;
65 
66 
67  //Jason's MEs
68 
72 
73  //Jason's Variables
74 
75  bool EEthisEvent [NUMSPIGS * NUMFEDS]; //Bookkeeping: which spigots EE
77  //Francesco's MEs
78 
83 
88 
89  //---------
90  //Francesco's Variables
96 
97  //Ted's MEs
98  //Ted's Variables
99 
100  //Jared's MEs
101 
105 
106  //Jared's Variables
110  int dccOrN;
111  int prevOrN;
113 }; // class HcalEEUSMonitor
114 
115 #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_