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 
21  void unpack(const FEDRawData& raw, const CastorElectronicsMap& emap);
22 
23  void cleanup();
24 
25  void reset();
26 
27  public:
28  std::map<uint32_t, std::vector<HcalCastorDetId> > DCCtoCell;
29  std::map<uint32_t, std::vector<HcalCastorDetId> > ::iterator thisDCC;
30 
31  private:
32 
33  std::vector<std::vector<bool> > problemCASTOR;
34 
35  void mapHTRproblem (int dcc, int spigot) ;
36  void mapDCCproblem(int dcc) ;
37  void fillzoos(int bin, int dccid);
38  void UpdateMap();
39 
40 
41  std::vector<int> fedUnpackList_; //-- vector of CASTOR FEDs
42  int dccid;
43  int ievt_;
47 
48  private:
49 
50  int problemsSpigot[15][3];
51 
53 
58 
61 
63  std::map<int, short> CDFversionNumber_list;
64  std::map<int, short>::iterator CDFvers_it;
65  std::map<int, short> CDFEventType_list;
66  std::map<int, short>::iterator CDFEvT_it;
67  std::map<int, short> CDFReservedBits_list;
68  std::map<int, short>::iterator CDFReservedBits_it;
69  std::map<int, short> DCCEvtFormat_list;
70  std::map<int, short>::iterator DCCEvtFormat_it;
71  std::map<int, short> DCCRsvdBits_list;
72  std::map<int, short>::iterator DCCRsvdBits_it;
73 
74 };
75 
76 #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
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)