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(DQMStore::IBooker &);
19  void analyze(edm::Event const&e, edm::EventSetup const&s);
20  void processEvent(const FEDRawDataCollection& rawraw, const edm::TriggerResults&, int bxNum,const edm::TriggerNames & triggerNames);
21 
22 
23 
24  void unpack(const FEDRawData& raw, const HcalElectronicsMap& emap);
25  void reset();
26 
27  private:
28  // Data accessors
29  std::vector<int> selFEDs_;
30 
31  std::vector<std::string> triggers_;
32  int period_;
33 
34  //Monitoring elements
36 
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 
56 };
57 
58 
59 #endif
bool isUnsuppressed(HcalHTRData &payload)
void bookHistograms(DQMStore::IBooker &ib, const edm::Run &run, const edm::EventSetup &c)
std::vector< std::string > triggers_
std::vector< int > nAcc
int ib
Definition: cuy.py:660
MonitorElement * meIsUS_
edm::InputTag rawdataLabel_
MonitorElement * meUTCAFEDsizesNZS_
void processEvent(const FEDRawDataCollection &rawraw, const 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
void setup(DQMStore::IBooker &)
HcalNZSMonitor(const edm::ParameterSet &ps)
uint64_t UScount[32][15]
MonitorElement * meL1evtNumber_
void analyze(edm::Event const &e, edm::EventSetup const &s)
edm::EDGetTokenT< edm::TriggerResults > tok_res_
MonitorElement * meFEDsizesNZS_
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
MonitorElement * meBXtriggered_
Definition: Run.h:41
MonitorElement * meFEDsizeVsLumi_