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 beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
21  void processEvent(const CastorDigiCollection& castorDigis, const CastorDbService& conditions, const std::vector<HcalGenericDetId>& listEMap, int iBunch, float PedSigmaInChannel[14][16]);
22  void reset();
23 
24 private:
25 
27  // float occThresh_;
28  int ievt_;
29 
31  struct{
32  MonitorElement* meDigi_pulseBX ; //-- pulse in bx's
33  } castorDigiHists ;
34 
36  std::map<int,MonitorElement*> PSsector;
37 
44 
45  bool firstTime_;
46  bool offline_;
47  double numberSigma_;
48  int numOK;
49  double status;
50  double statusRS;
52  double fraction;
54 
59  double sumDigiForEachChannel [14][16];
60  int saturatedMap [14][16];
61  std::vector<NewBunch> Bunches_; //-- container for data, 1 per channel
62 
63 };
64 
65 #endif
std::vector< NewBunch > Bunches_
MonitorElement * meDigi_pulseBX
TH2F * h_reportSummaryMap
MonitorElement * SaturationSummaryMap
void processEvent(const CastorDigiCollection &castorDigis, const CastorDbService &conditions, const std::vector< HcalGenericDetId > &listEMap, int iBunch, float PedSigmaInChannel[14][16])
MonitorElement * DigiOccupancyMap
MonitorElement * meEvt_
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup)
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_
struct CastorPSMonitor::@279 castorDigiHists
double firstRegionThreshold_
MonitorElement * reportSummaryMap
MonitorElement * overallStatus
std::map< int, MonitorElement * > PSsector
Definition: Run.h:41