CMS 3D CMS Logo

DigiTask.h
Go to the documentation of this file.
1 #ifndef DigiTask_h
2 #define DigiTask_h
3 
28 
29 class DigiTask : public hcaldqm::DQTask
30 {
31  public:
33  ~DigiTask() override {}
34 
36  edm::Run const&, edm::EventSetup const&) override;
38  edm::EventSetup const&) override;
40  edm::EventSetup const&) override;
41 
42  protected:
43  void _process(edm::Event const&, edm::EventSetup const&) override;
44  void _resetMonitors(hcaldqm::UpdateFreq) override;
45 
54 
56  double _thresh_unihf;
57 
58  // flag vector
59  std::vector<hcaldqm::flag::Flag> _vflags;
60  enum DigiFlag
61  {
63  fUni = 1,
64  fNChsHF = 2,
67  };
68 
69  // hashes/FED vectors
70  std::vector<uint32_t> _vhashFEDs;
71 
72  std::map<HcalSubdetector, int> _refDigiSize;
73 
74  // emap
77 
78  // Filters
85 
86  /* hcaldqm::Containers */
87  // ADC, fC - Charge - just filling - no summary!
94 
95  // ADC, fC for HF (QIE10 has different ADC/fC)
101 
102 
103  // Shape - just filling - not summary!
107 
108  // Timing
109  // just filling - no summary!
120 
121  // Only for Online mode! just filling - no summary!
123 
124  // Occupancy w/o a Cut - whatever is sitting in the Digi Collection
125  // used to determine Missing Digis => used for Summary!
135 
136  // Occupancy w/ a Cut
137  // used to determine if occupancy is symmetric or not. =>
138  // used for Summary
146  //hcaldqm::Container2D _cOccupancyCutvsSlotvsLS_HFPM; // online only
148 
149  // Occupancy w/o and w/ a Cut vs BX and vs LS
153 
154  // #Time Samples for a digi. Used for Summary generation
162 
163  // QIE10 TDC histograms
168 
169  // Bad TDC histograms
174 
178 
179  // #events counters
180  MonitorElement *meNumEvents1LS; // to transfer the #events to harvesting
183 
186 
187  bool _qie10InConditions; // Flag to protect against QIE10 digis not in conditions in 2016.
188 };
189 
190 #endif
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
Definition: DigiTask.h:118
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: DigiTask.cc:564
bool _qie10InConditions
Definition: DigiTask.h:187
MonitorElement * meNumEvents1LS
Definition: DigiTask.h:180
hcaldqm::Container1D _cADC_SubdetPM
Definition: DigiTask.h:88
hcaldqm::Container1D _cADC_SubdetPM_QIE1011
Definition: DigiTask.h:96
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: DigiTask.cc:1196
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
Definition: DigiTask.h:145
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
Definition: DigiTask.h:93
edm::InputTag _tagHO
Definition: DigiTask.h:48
std::map< HcalSubdetector, int > _refDigiSize
Definition: DigiTask.h:72
hcaldqm::Container2D _cADCvsTS_SubdetPM
Definition: DigiTask.h:105
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: DigiTask.cc:1190
edm::EDGetTokenT< QIE11DigiCollection > _tokHE
Definition: DigiTask.h:51
double _cutSumQ_HE
Definition: DigiTask.h:55
hcaldqm::ContainerProf1D _cQ2Q12CutvsLS_FEDHF
Definition: DigiTask.h:122
MonitorElement * meUnknownIds1LS
Definition: DigiTask.h:181
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: DigiTask.h:50
hcaldqm::Container2D _cLETDCTimevsADC_SubdetPM
Definition: DigiTask.h:164
double _cutSumQ_HO
Definition: DigiTask.h:55
double _thresh_unihf
Definition: DigiTask.h:56
UpdateFreq
Definition: DQTask.h:17
~DigiTask() override
Definition: DigiTask.h:33
hcaldqm::ContainerProf2D _cSumQ_depth
Definition: DigiTask.h:91
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: DigiTask.h:52
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
Definition: DigiTask.h:144
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM_QIE1011
Definition: DigiTask.h:99
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: DigiTask.h:185
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
Definition: DigiTask.h:111
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DigiTask.cc:46
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
Definition: DigiTask.h:147
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
Definition: DigiTask.h:158
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
Definition: DigiTask.h:112
hcaldqm::Container1D _cBadTDCvsLS_SubdetPM
Definition: DigiTask.h:172
hcaldqm::filter::HashFilter _filter_VME
Definition: DigiTask.h:79
hcaldqm::Container2D _cLETDCvsTS_SubdetPM
Definition: DigiTask.h:166
edm::InputTag _tagHBHE
Definition: DigiTask.h:46
hcaldqm::Container2D _cOccupancy_CrateSlot
Definition: DigiTask.h:131
hcaldqm::Container2D _cADCvsTS_SubdetPM_QIE1011
Definition: DigiTask.h:106
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
Definition: DigiTask.h:141
hcaldqm::Container1D _cDigiSize_Crate
Definition: DigiTask.h:155
hcaldqm::Container1D _cShapeCut_FED
Definition: DigiTask.h:104
hcaldqm::Container2D _cOccupancyCut_depth
Definition: DigiTask.h:143
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
Definition: DigiTask.h:152
double _cutSumQ_HF
Definition: DigiTask.h:55
hcaldqm::Container1D _cfC_SubdetPM_QIE1011
Definition: DigiTask.h:97
double _cutSumQ_HBHE
Definition: DigiTask.h:55
hcaldqm::ContainerProf2D _cTimingCut_depth
Definition: DigiTask.h:117
hcaldqm::Container1D _cBadTDCValues_SubdetPM
Definition: DigiTask.h:170
hcaldqm::Container2D _cOccupancy_FEDVME
Definition: DigiTask.h:126
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
Definition: DigiTask.h:116
hcaldqm::Container2D _cOccupancyCut_FEDVME
Definition: DigiTask.h:139
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM_QIE1011
Definition: DigiTask.h:100
hcaldqm::Container2D _cOccupancy_depth
Definition: DigiTask.h:132
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: DigiTask.h:184
hcaldqm::filter::HashFilter _filter_FEDHF
Definition: DigiTask.h:81
edm::InputTag _tagHE
Definition: DigiTask.h:47
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: DigiTask.h:53
DigiTask(edm::ParameterSet const &)
Definition: DigiTask.cc:7
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
Definition: DigiTask.h:150
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: DigiTask.cc:544
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
Definition: DigiTask.h:92
hcaldqm::ContainerXXX< uint32_t > _xUni
Definition: DigiTask.h:159
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
Definition: DigiTask.h:115
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
Definition: DigiTask.h:140
hcaldqm::Container2D _cOccupancy_ElectronicsVME
Definition: DigiTask.h:128
edm::InputTag _tagHF
Definition: DigiTask.h:49
hcaldqm::Container1D _cDigiSize_FED
Definition: DigiTask.h:156
hcaldqm::filter::HashFilter _filter_QIE8
Definition: DigiTask.h:83
hcaldqm::Container1D _cBadTDCValues
Definition: DigiTask.h:175
hcaldqm::ContainerXXX< uint32_t > _xNChsNominal
Definition: DigiTask.h:161
hcaldqm::Container1D _cSumQ_SubdetPM
Definition: DigiTask.h:90
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
Definition: DigiTask.h:133
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
Definition: DigiTask.h:119
hcaldqm::filter::HashFilter _filter_HEP17
Definition: DigiTask.h:84
hcaldqm::Container1D _cLETDCTime_SubdetPM
Definition: DigiTask.h:167
hcaldqm::electronicsmap::ElectronicsMap _dhashmap
Definition: DigiTask.h:76
std::vector< hcaldqm::flag::Flag > _vflags
Definition: DigiTask.h:59
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
Definition: DigiTask.h:142
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
Definition: DigiTask.h:113
hcaldqm::Container2D _cLETDCvsADC_SubdetPM
Definition: DigiTask.h:165
hcaldqm::Container1D _cBadTDCvsBX_SubdetPM
Definition: DigiTask.h:171
hcaldqm::Container2D _cOccupancy_Crate
Definition: DigiTask.h:130
hcaldqm::filter::HashFilter _filter_uTCA
Definition: DigiTask.h:80
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
Definition: DigiTask.h:157
hcaldqm::ContainerXXX< uint32_t > _xNChs
Definition: DigiTask.h:160
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: DigiTask.h:75
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
Definition: DigiTask.h:151
hcaldqm::filter::HashFilter _filter_QIE1011
Definition: DigiTask.h:82
hcaldqm::Container2D _cBadTDCCount_depth
Definition: DigiTask.h:173
std::vector< uint32_t > _vhashFEDs
Definition: DigiTask.h:70
hcaldqm::Container1D _cBadTDCvsBX
Definition: DigiTask.h:176
hcaldqm::Container1D _cOccupancyvsieta_Subdet
Definition: DigiTask.h:134
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Definition: DigiTask.h:114
hcaldqm::Container1D _cSumQ_SubdetPM_QIE1011
Definition: DigiTask.h:98
hcaldqm::Container1D _cTimingCut_SubdetPM
Definition: DigiTask.h:110
Definition: Run.h:43
hcaldqm::Container1D _cBadTDCvsLS
Definition: DigiTask.h:177
bool _unknownIdsPresent
Definition: DigiTask.h:182
hcaldqm::Container2D _cOccupancy_FEDuTCA
Definition: DigiTask.h:127
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: DigiTask.h:159
hcaldqm::Container1D _cfC_SubdetPM
Definition: DigiTask.h:89
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
Definition: DigiTask.h:129