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  // emap
75 
76  // Filters
83 
84  /* hcaldqm::Containers */
85  // ADC, fC - Charge - just filling - no summary!
92 
93  // ADC, fC for HF (QIE10 has different ADC/fC)
99 
100 
101  // Shape - just filling - not summary!
105 
106  // Timing
107  // just filling - no summary!
118 
119  // Only for Online mode! just filling - no summary!
121 
122  // Occupancy w/o a Cut - whatever is sitting in the Digi Collection
123  // used to determine Missing Digis => used for Summary!
133 
134  // Occupancy w/ a Cut
135  // used to determine if occupancy is symmetric or not. =>
136  // used for Summary
146 
147  // Occupancy w/o and w/ a Cut vs BX and vs LS
151 
152  // #Time Samples for a digi. Used for Summary generation
160 
161  // QIE10 TDC histograms
166 
167  // #events counters
168  MonitorElement *meNumEvents1LS; // to transfer the #events to harvesting
171 
174 
175  bool _qie10InConditions; // Flag to protect against QIE10 digis not in conditions in 2016.
176 };
177 
178 #endif
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
Definition: DigiTask.h:116
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: DigiTask.cc:539
hcaldqm::Container1D _cADC_SubdetPM_HF
Definition: DigiTask.h:94
bool _qie10InConditions
Definition: DigiTask.h:175
MonitorElement * meNumEvents1LS
Definition: DigiTask.h:168
hcaldqm::Container1D _cADC_SubdetPM
Definition: DigiTask.h:86
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: DigiTask.cc:1120
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
Definition: DigiTask.h:143
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
Definition: DigiTask.h:91
edm::InputTag _tagHO
Definition: DigiTask.h:48
hcaldqm::Container2D _cADCvsTS_SubdetPM
Definition: DigiTask.h:103
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: DigiTask.cc:1114
hcaldqm::Container1D _cfC_SubdetPM_HF
Definition: DigiTask.h:95
hcaldqm::ContainerProf1D _cQ2Q12CutvsLS_FEDHF
Definition: DigiTask.h:120
MonitorElement * meUnknownIds1LS
Definition: DigiTask.h:169
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: DigiTask.h:50
hcaldqm::Container2D _cLETDCTimevsADC_SubdetPM
Definition: DigiTask.h:162
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:89
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: DigiTask.h:52
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
Definition: DigiTask.h:142
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: DigiTask.h:173
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
Definition: DigiTask.h:109
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DigiTask.cc:39
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
Definition: DigiTask.h:145
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
Definition: DigiTask.h:156
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
Definition: DigiTask.h:110
hcaldqm::filter::HashFilter _filter_VME
Definition: DigiTask.h:77
hcaldqm::Container2D _cLETDCvsTS_SubdetPM
Definition: DigiTask.h:164
edm::InputTag _tagHBHE
Definition: DigiTask.h:46
hcaldqm::Container2D _cOccupancy_CrateSlot
Definition: DigiTask.h:129
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
Definition: DigiTask.h:139
hcaldqm::Container1D _cDigiSize_Crate
Definition: DigiTask.h:153
hcaldqm::Container1D _cShapeCut_FED
Definition: DigiTask.h:102
edm::InputTag _tagHEP17
Definition: DigiTask.h:47
hcaldqm::Container2D _cOccupancyCut_depth
Definition: DigiTask.h:141
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
Definition: DigiTask.h:150
double _cutSumQ_HF
Definition: DigiTask.h:55
double _cutSumQ_HBHE
Definition: DigiTask.h:55
hcaldqm::ContainerProf2D _cTimingCut_depth
Definition: DigiTask.h:115
hcaldqm::Container2D _cOccupancy_FEDVME
Definition: DigiTask.h:124
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
Definition: DigiTask.h:114
hcaldqm::Container2D _cOccupancyCut_FEDVME
Definition: DigiTask.h:137
hcaldqm::Container2D _cOccupancy_depth
Definition: DigiTask.h:130
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: DigiTask.h:172
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
Definition: DigiTask.h:51
hcaldqm::filter::HashFilter _filter_FEDHF
Definition: DigiTask.h:79
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: DigiTask.h:53
DigiTask(edm::ParameterSet const &)
Definition: DigiTask.cc:7
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
Definition: DigiTask.h:148
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: DigiTask.cc:519
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
Definition: DigiTask.h:90
hcaldqm::ContainerXXX< uint32_t > _xUni
Definition: DigiTask.h:157
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
Definition: DigiTask.h:113
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
Definition: DigiTask.h:138
hcaldqm::Container2D _cOccupancy_ElectronicsVME
Definition: DigiTask.h:126
edm::InputTag _tagHF
Definition: DigiTask.h:49
hcaldqm::Container1D _cDigiSize_FED
Definition: DigiTask.h:154
hcaldqm::ContainerXXX< uint32_t > _xNChsNominal
Definition: DigiTask.h:159
hcaldqm::Container1D _cSumQ_SubdetPM
Definition: DigiTask.h:88
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
Definition: DigiTask.h:131
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
Definition: DigiTask.h:117
hcaldqm::filter::HashFilter _filter_HEP17
Definition: DigiTask.h:82
hcaldqm::Container1D _cLETDCTime_SubdetPM
Definition: DigiTask.h:165
hcaldqm::electronicsmap::ElectronicsMap _dhashmap
Definition: DigiTask.h:74
std::vector< hcaldqm::flag::Flag > _vflags
Definition: DigiTask.h:59
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
Definition: DigiTask.h:140
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
Definition: DigiTask.h:111
hcaldqm::Container2D _cLETDCvsADC_SubdetPM
Definition: DigiTask.h:163
hcaldqm::Container2D _cOccupancy_Crate
Definition: DigiTask.h:128
hcaldqm::Container2D _cOccupancyCutvsSlotvsLS_HFPM
Definition: DigiTask.h:144
hcaldqm::filter::HashFilter _filter_uTCA
Definition: DigiTask.h:78
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM_HF
Definition: DigiTask.h:97
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
Definition: DigiTask.h:155
hcaldqm::ContainerXXX< uint32_t > _xNChs
Definition: DigiTask.h:158
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: DigiTask.h:73
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
Definition: DigiTask.h:149
hcaldqm::Container1D _cSumQ_SubdetPM_HF
Definition: DigiTask.h:96
std::vector< uint32_t > _vhashFEDs
Definition: DigiTask.h:70
hcaldqm::filter::HashFilter _filter_HF
Definition: DigiTask.h:80
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM_HF
Definition: DigiTask.h:98
hcaldqm::Container1D _cOccupancyvsieta_Subdet
Definition: DigiTask.h:132
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Definition: DigiTask.h:112
hcaldqm::filter::HashFilter _filter_notHF
Definition: DigiTask.h:81
hcaldqm::Container1D _cTimingCut_SubdetPM
Definition: DigiTask.h:108
Definition: Run.h:43
bool _unknownIdsPresent
Definition: DigiTask.h:170
hcaldqm::Container2D _cOccupancy_FEDuTCA
Definition: DigiTask.h:125
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: DigiTask.h:157
hcaldqm::Container2D _cADCvsTS_SubdetPM_HF
Definition: DigiTask.h:104
double _cutSumQ_HEP17
Definition: DigiTask.h:55
hcaldqm::Container1D _cfC_SubdetPM
Definition: DigiTask.h:87
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
Definition: DigiTask.h:127