CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorPSMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_CASTORMONITOR_CASTORPSMONITOR_H
2 #define DQM_CASTORMONITOR_CASTORPSMONITOR_H
3 
8 //
9 //#include "DataFormats/HcalRecHit/interface/CastorRecHit.h"
10 //#include "DataFormats/HcalDigi/interface/HcalDigiCollections.h"
11 //
13 
15 public:
16  CastorPSMonitor();
18 
19  void setup(const edm::ParameterSet& ps, DQMStore* dbe);
20  void processEvent(const CastorDigiCollection& castorDigis, const CastorDbService& conditions, std::vector<HcalGenericDetId> listEMap, int iBunch, float PedSigmaInChannel[14][16]);
21  void reset();
22 
23 private:
24 
26  // float occThresh_;
27  int ievt_;
28 
30  struct{
31  MonitorElement* meDigi_pulseBX ; //-- pulse in bx's
32  } castorDigiHists ;
33 
35  std::map<int,MonitorElement*> PSsector;
36 
43 
44  bool firstTime_;
45  bool offline_;
46  double numberSigma_;
47  int numOK;
48  double status;
49  double statusRS;
51  double fraction;
53 
58  double sumDigiForEachChannel [14][16];
59  int saturatedMap [14][16];
60  std::vector<NewBunch> Bunches_; //-- container for data, 1 per channel
61 
62 };
63 
64 #endif
std::vector< NewBunch > Bunches_
MonitorElement * meDigi_pulseBX
struct CastorPSMonitor::@187 castorDigiHists
TH2F * h_reportSummaryMap
MonitorElement * SaturationSummaryMap
MonitorElement * DigiOccupancyMap
MonitorElement * meEvt_
MonitorElement * reportSummary
double sumDigiForEachChannel[14][16]
double saturatedThreshold_
int saturatedMap[14][16]
double thirdRegionThreshold_
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
MonitorElement * ChannelSummaryMap
double secondRegionThreshold_
double firstRegionThreshold_
MonitorElement * reportSummaryMap
MonitorElement * overallStatus
std::map< int, MonitorElement * > PSsector
void processEvent(const CastorDigiCollection &castorDigis, const CastorDbService &conditions, std::vector< HcalGenericDetId > listEMap, int iBunch, float PedSigmaInChannel[14][16])