CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorDataIntegrityMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_CASTORMONITOR_CASTORDATAINTEGRITYMONITOR_H
2 #define DQM_CASTORMONITOR_CASTORDATAINTEGRITYMONITOR_H
3 
7 
8 #include <map>
9 
11 {
12 
13  public:
16 
17  void setup(const edm::ParameterSet& ps, DQMStore* dbe);
18 
19  void processEvent(const FEDRawDataCollection& RawData, const HcalUnpackerReport& report, const CastorElectronicsMap& emap);
20  void beginRun(const edm::EventSetup& iSetup);
21 
22  void unpack(const FEDRawData& raw, const CastorElectronicsMap& emap);
23 
24  void cleanup();
25 
26  void reset();
27 
28  public:
29  std::map<uint32_t, std::vector<HcalCastorDetId> > DCCtoCell;
30  std::map<uint32_t, std::vector<HcalCastorDetId> > ::iterator thisDCC;
31 
32  private:
33 
34  std::vector<std::vector<bool> > problemCASTOR;
35 
36  void mapHTRproblem (int dcc, int spigot) ;
37  void mapDCCproblem(int dcc) ;
38  void fillzoos(int bin, int dccid);
39  void UpdateMap();
40 
41 
42  std::vector<int> fedUnpackList_; //-- vector of CASTOR FEDs
43  int dccid;
44  int ievt_;
48 
49  private:
50 
51  int problemsSpigot[15][3];
52 
54 
59 
62 
64  std::map<int, short> CDFversionNumber_list;
65  std::map<int, short>::iterator CDFvers_it;
66  std::map<int, short> CDFEventType_list;
67  std::map<int, short>::iterator CDFEvT_it;
68  std::map<int, short> CDFReservedBits_list;
69  std::map<int, short>::iterator CDFReservedBits_it;
70  std::map<int, short> DCCEvtFormat_list;
71  std::map<int, short>::iterator DCCEvtFormat_it;
72  std::map<int, short> DCCRsvdBits_list;
73  std::map<int, short>::iterator DCCRsvdBits_it;
74 
75 };
76 
77 #endif
std::map< uint32_t, std::vector< HcalCastorDetId > > DCCtoCell
std::map< int, short > CDFEventType_list
void unpack(const FEDRawData &raw, const CastorElectronicsMap &emap)
std::map< int, short > DCCRsvdBits_list
std::map< int, short >::iterator DCCEvtFormat_it
void beginRun(const edm::EventSetup &iSetup)
std::map< int, short >::iterator CDFvers_it
tuple report
Definition: zeeHLT_cff.py:9
std::map< int, short >::iterator DCCRsvdBits_it
std::map< int, short > DCCEvtFormat_list
std::map< int, short > CDFReservedBits_list
void mapHTRproblem(int dcc, int spigot)
std::map< int, short >::iterator CDFReservedBits_it
std::vector< std::vector< bool > > problemCASTOR
std::map< uint32_t, std::vector< HcalCastorDetId > >::iterator thisDCC
std::map< int, short > CDFversionNumber_list
void processEvent(const FEDRawDataCollection &RawData, const HcalUnpackerReport &report, const CastorElectronicsMap &emap)
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
std::map< int, short >::iterator CDFEvT_it
void fillzoos(int bin, int dccid)