CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorDigiMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_CASTORMONITOR_CASTORDIGIMONITOR_H
2 #define DQM_CASTORMONITOR_CASTORDIGIMONITOR_H
3 
5 
10 
13 
14 
16 public:
19 
20  void setup(const edm::ParameterSet& ps, DQMStore* dbe);
21 
22  void processEvent(const CastorDigiCollection& cast,const CastorDbService& cond);
23 
24 
25  void done();
26  void reset();
27 
28 private:
29  void perChanHists(std::vector<HcalCastorDetId> detID, std::vector<int> capID, std::vector<float> peds,
30  std::map<HcalCastorDetId, std::map<int, MonitorElement*> > &toolP,
32  std::string baseFolder);
33 
35  bool doFCpeds_;
36  std::map<HcalCastorDetId, std::map<int,MonitorElement*> >::iterator meo_;
37  std::vector<HcalCastorDetId> detID_;
38  std::vector<int> capID_;
39  std::vector<float> pedVals_;
40 
41  std::string outputFile_;
42 
45  //CastorCalibrations calibs_;
46 
47 
49  int ievt_;
50 
51  std::map<HcalCastorDetId,bool> REG;
54 
55  struct{
56  std::map<HcalCastorDetId,std::map<int, MonitorElement*> > PEDVALS;
57  std::map<HcalCastorDetId,std::map<int, MonitorElement*> > SUBVALS;
58 
61 
65 
66  } castHists ;
67 
68 };
69 
70 #endif
void perChanHists(std::vector< HcalCastorDetId > detID, std::vector< int > capID, std::vector< float > peds, std::map< HcalCastorDetId, std::map< int, MonitorElement * > > &toolP, std::string baseFolder)
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
const CastorQIECoder * channelCoder_
std::map< HcalCastorDetId, std::map< int, MonitorElement * > > SUBVALS
const CastorQIEShape * shape_
std::map< HcalCastorDetId, std::map< int, MonitorElement * > >::iterator meo_
MonitorElement * meEVT_
MonitorElement * WIDTH_REFS
MonitorElement * ALLPEDS
std::map< HcalCastorDetId, std::map< int, MonitorElement * > > PEDVALS
std::vector< float > pedVals_
std::vector< HcalCastorDetId > detID_
std::vector< int > capID_
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
std::string outputFile_
struct CastorDigiMonitor::@184 castHists
MonitorElement * PEDRMS
MonitorElement * PEDESTAL_REFS
std::map< HcalCastorDetId, bool > REG