CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalNZSMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_HCALMONITORTASKS_HCALNZSMONITOR_H
2 #define DQM_HCALMONITORTASKS_HCALNZSMONITOR_H
3 
9 
11 {
12  public:
15 
16 
17  void setup();
18  void beginRun(const edm::Run& run, const edm::EventSetup& c);
19  void analyze(edm::Event const&e, edm::EventSetup const&s);
20  void processEvent(const FEDRawDataCollection& rawraw, edm::TriggerResults, int bxNum,const edm::TriggerNames & triggerNames);
21 
22 
23 
24  void unpack(const FEDRawData& raw, const HcalElectronicsMap& emap);
25  void cleanup();
26  void reset();
27 
28  private:
29  // Data accessors
30  std::vector<int> selFEDs_;
31 
32  std::vector<std::string> triggers_;
33  int period_;
34 
35  //Monitoring elements
37 
44 
45  bool isUnsuppressed (HcalHTRData& payload); //Return the US bit: ExtHdr7[bit 15]
46  uint64_t UScount[32][15];
47 
48  int nAndAcc;
50  std::vector<int> nAcc;
51 
54 };
55 
56 
57 #endif
bool isUnsuppressed(HcalHTRData &payload)
std::vector< std::string > triggers_
std::vector< int > nAcc
MonitorElement * meIsUS_
void beginRun(const edm::Run &run, const edm::EventSetup &c)
edm::InputTag rawdataLabel_
void processEvent(const FEDRawDataCollection &rawraw, edm::TriggerResults, int bxNum, const edm::TriggerNames &triggerNames)
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap)
edm::InputTag hltresultsLabel_
std::vector< int > selFEDs_
MonitorElement * meFullCMSdataSize_
MonitorElement * meTrigFrac_
unsigned long long uint64_t
Definition: Time.h:15
HcalNZSMonitor(const edm::ParameterSet &ps)
uint64_t UScount[32][15]
MonitorElement * meL1evtNumber_
void analyze(edm::Event const &e, edm::EventSetup const &s)
MonitorElement * meFEDsizesNZS_
MonitorElement * meBXtriggered_
Definition: Run.h:36
MonitorElement * meFEDsizeVsLumi_