CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalZDCMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_HCALMONITORTASKS_HCALZDCMONITOR_H
2 #define DQM_HCALMONITORTASKS_HCALZDCMONITOR_H
3 
10 #include <cmath>
11 
18 {
19  public:
22  void setup(const edm::ParameterSet& ps, DQMStore::IBooker& ib);
23  void processEvent(const ZDCDigiCollection& digi,
24  const ZDCRecHitCollection& rechit);
25  void reset();
26  void endLuminosityBlock(void);
27  private:
28  double getTime(const std::vector<double>& fData, unsigned int ts_min, unsigned int ts_max, double& fSum);
29  //int getTSMax(std::vector<double> fData);
30  //bool isGood(std::vector<double> fData, double fCut, double fPercentage);
31 
32  bool checkZDC_;
33  int NumBadZDC;
35 
39  int ievt_;
40  //int zdc_checkNevents_;
67 };
68 
69 #endif
MonitorElement * h_ZDCP_HAD_TSMean[4]
MonitorElement * h_ZDCP_HAD_RecHitTiming[4]
MonitorElement * h_ZDCM_EM_Pulse[5]
MonitorElement * h_ZDCM_HAD_TSMean[4]
int ib
Definition: cuy.py:660
MonitorElement * h_ZDCM_EM_TSMean[5]
MonitorElement * h_ZDCM_EM_RecHitTiming[5]
MonitorElement * h_2D_TSMean
MonitorElement * h_ZDCM_HAD_RecHitTiming[4]
MonitorElement * h_ZDCP_EM_RecHitEnergy[5]
MonitorElement * h_ZDCP_EM_Pulse[5]
MonitorElement * h_ZDCP_EM_TSMean[5]
MonitorElement * h_ZDCM_EM_Charge[5]
void setup(const edm::ParameterSet &ps, DQMStore::IBooker &ib)
const HcalQIECoder * channelCoder_
MonitorElement * h_ZDCP_HAD_Charge[4]
MonitorElement * h_2D_saturation
MonitorElement * h_2D_charge
const HcalQIEShape * shape_
MonitorElement * h_2D_RecHitTime
MonitorElement * h_ZDCM_HAD_Charge[4]
MonitorElement * h_ZDCM_HAD_RecHitEnergy[4]
void endLuminosityBlock(void)
double getTime(const std::vector< double > &fData, unsigned int ts_min, unsigned int ts_max, double &fSum)
MonitorElement * h_2D_RecHitEnergy
MonitorElement * ProblemsVsLB_ZDC
MonitorElement * h_ZDCP_HAD_Pulse[4]
MonitorElement * meEVT_
MonitorElement * h_ZDCM_EM_RecHitEnergy[5]
MonitorElement * h_ZDCP_HAD_RecHitEnergy[4]
MonitorElement * h_ZDCP_EM_Charge[5]
HcalCalibrations calibs_
MonitorElement * h_ZDCP_EM_RecHitTiming[5]
MonitorElement * h_ZDCM_HAD_Pulse[4]