CMS 3D CMS Logo

PedestalTask.h
Go to the documentation of this file.
1 #ifndef PedestalTask_h
2 #define PedestalTask_h
3 
4 /*
5  * file: PedestalTask.h
6  * Author: Viktor Khristenko
7  * Date: 16.10.2015
8  */
9 
20 
22 {
23  public:
25  ~PedestalTask() override
26  {}
27 
29  edm::Run const&, edm::EventSetup const&) override;
31  edm::EventSetup const&) override;
33  edm::EventSetup const&) override;
34  void endRun(edm::Run const&, edm::EventSetup const&) override;
35 
36  protected:
37  // funcs
38  void _process(edm::Event const&, edm::EventSetup const&) override;
39  void _resetMonitors(hcaldqm::UpdateFreq) override;
40  bool _isApplicable(edm::Event const&) override;
41  virtual void _dump();
42 
43  // tags and tokens
56 
57  std::vector<hcaldqm::flag::Flag> _vflags;
59  {
60  fMsn = 0,
61  fBadM = 1,
62  fBadR = 2,
64  };
65 
66  // emap
71 
72  // thresholds
75 
76  // hashed ids of FEDs
77  std::vector<uint32_t> _vhashFEDs;
78 
79  // need containers total over the run and per 1LS
86  hcaldqm::ContainerXXX<int> _xNChs; // number of channels per FED as in emap
87  hcaldqm::ContainerXXX<int> _xNMsn1LS; // #missing for 1LS per FED
89 
90  // CondBD Reference
93 
94  // 1D actual Means/RMSs
99 
100  // 2D actual values
107 
114 
115  // Comparison with DB Conditions
126 
133 
134  // vs LS
139 
140  // averaging per event
142 
143  // map of missing channels
150 
151  // Mean/RMS Bad Maps
158 
165 
167 
168  // Summaries
171 };
172 
173 #endif
174 
175 
176 
177 
178 
179 
180 
hcaldqm::ContainerXXX< double > _xPedRefRMS
Definition: PedestalTask.h:92
edm::InputTag _taguMN
Definition: PedestalTask.h:49
edm::InputTag _tagHF
Definition: PedestalTask.h:47
hcaldqm::Container2D _cMissing1LS_depth
Definition: PedestalTask.h:144
double _thresh_badm
Definition: PedestalTask.h:73
hcaldqm::ContainerProf2D _cRMSTotal_FEDVME
Definition: PedestalTask.h:112
hcaldqm::ContainerXXX< double > _xPedSumTotal
Definition: PedestalTask.h:83
double _thresh_badr
Definition: PedestalTask.h:73
hcaldqm::Container2D _cMissingTotal_depth
Definition: PedestalTask.h:147
hcaldqm::Container1D _cMeanTotal_Subdet
Definition: PedestalTask.h:95
void endRun(edm::Run const &, edm::EventSetup const &) override
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::ContainerProf2D _cMean1LS_depth
Definition: PedestalTask.h:101
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDVME
Definition: PedestalTask.h:122
hcaldqm::Container1D _cMeanDBRef1LS_Subdet
Definition: PedestalTask.h:116
hcaldqm::ContainerProf2D _cRMSDBRef1LS_depth
Definition: PedestalTask.h:121
hcaldqm::Container1D _cMean1LS_Subdet
Definition: PedestalTask.h:97
hcaldqm::ContainerXXX< int > _xPedEntries1LS
Definition: PedestalTask.h:82
hcaldqm::Container2D _cMeanBad1LS_FEDuTCA
Definition: PedestalTask.h:157
hcaldqm::Container1D _cRMSTotal_Subdet
Definition: PedestalTask.h:96
hcaldqm::Container1D _cNBadRMSvsLS_Subdet
Definition: PedestalTask.h:138
hcaldqm::Container2D _cRMSBadTotal_depth
Definition: PedestalTask.h:160
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDVME
Definition: PedestalTask.h:131
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDuTCA
Definition: PedestalTask.h:125
UpdateFreq
Definition: DQTask.h:17
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDVME
Definition: PedestalTask.h:129
edm::InputTag _tagHBHE
Definition: PedestalTask.h:44
hcaldqm::ContainerProf2D _cRMSTotal_depth
Definition: PedestalTask.h:109
edm::InputTag _tagHO
Definition: PedestalTask.h:46
hcaldqm::ContainerXXX< double > _xPedSum1LS
Definition: PedestalTask.h:80
hcaldqm::ContainerXXX< int > _xPedEntriesTotal
Definition: PedestalTask.h:85
hcaldqm::ContainerXXX< double > _xPedSum21LS
Definition: PedestalTask.h:81
hcaldqm::Container2D _cMeanBadTotal_FEDuTCA
Definition: PedestalTask.h:164
hcaldqm::ContainerProf2D _cMeanTotal_FEDVME
Definition: PedestalTask.h:110
hcaldqm::Container2D _cRMSBadTotal_FEDuTCA
Definition: PedestalTask.h:162
hcaldqm::Container2D _cRMSBad1LS_depth
Definition: PedestalTask.h:153
hcaldqm::ContainerProf2D _cRMSDBRefTotal_depth
Definition: PedestalTask.h:128
std::vector< uint32_t > _vhashFEDs
Definition: PedestalTask.h:77
hcaldqm::Container1D _cRMSDBRef1LS_Subdet
Definition: PedestalTask.h:117
bool _isApplicable(edm::Event const &) override
hcaldqm::Container1D _cMissingvsLS_Subdet
Definition: PedestalTask.h:135
hcaldqm::Container2D _cRMSBadTotal_FEDVME
Definition: PedestalTask.h:163
hcaldqm::ContainerProf2D _cMean1LS_FEDVME
Definition: PedestalTask.h:103
hcaldqm::Container2D _cRMSBad1LS_FEDVME
Definition: PedestalTask.h:156
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: PedestalTask.h:55
double _thresh_missing_low
Definition: PedestalTask.h:74
hcaldqm::Container1D _cRMS1LS_Subdet
Definition: PedestalTask.h:98
hcaldqm::Container1D _cOccupancyvsLS_Subdet
Definition: PedestalTask.h:136
double _thresh_missing_high
Definition: PedestalTask.h:74
void _resetMonitors(hcaldqm::UpdateFreq) override
hcaldqm::ContainerProf2D _cMean1LS_FEDuTCA
Definition: PedestalTask.h:104
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
std::vector< hcaldqm::flag::Flag > _vflags
Definition: PedestalTask.h:57
hcaldqm::ContainerXXX< int > _xNChs
Definition: PedestalTask.h:86
~PedestalTask() override
Definition: PedestalTask.h:25
hcaldqm::ContainerProf2D _cRMS1LS_FEDuTCA
Definition: PedestalTask.h:106
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: PedestalTask.h:50
hcaldqm::Container1D _cRMSDBRefTotal_Subdet
Definition: PedestalTask.h:119
hcaldqm::ContainerProf2D _cRMS1LS_FEDVME
Definition: PedestalTask.h:105
hcaldqm::Container2D _cMeanBadTotal_depth
Definition: PedestalTask.h:159
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: PedestalTask.h:51
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: PedestalTask.h:54
hcaldqm::Container1D _cADC_SubdetPM
Definition: PedestalTask.h:166
hcaldqm::Container2D _cMissing1LS_FEDuTCA
Definition: PedestalTask.h:146
hcaldqm::ContainerProf1D _cOccupancyEAvsLS_Subdet
Definition: PedestalTask.h:141
hcaldqm::filter::HashFilter _filter_VME
Definition: PedestalTask.h:69
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDuTCA
Definition: PedestalTask.h:123
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: PedestalTask.h:67
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: PedestalTask.cc:45
PedestalTask(edm::ParameterSet const &)
Definition: PedestalTask.cc:5
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::Container2D _cMeanBad1LS_depth
Definition: PedestalTask.h:152
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDuTCA
Definition: PedestalTask.h:130
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: PedestalTask.h:170
edm::InputTag _tagHEP17
Definition: PedestalTask.h:45
hcaldqm::ContainerProf2D _cRMS1LS_depth
Definition: PedestalTask.h:102
hcaldqm::Container2D _cMissing1LS_FEDVME
Definition: PedestalTask.h:145
hcaldqm::Container2D _cRMSBad1LS_FEDuTCA
Definition: PedestalTask.h:155
hcaldqm::Container1D _cNBadMeanvsLS_Subdet
Definition: PedestalTask.h:137
hcaldqm::filter::HashFilter _filter_C38
Definition: PedestalTask.h:70
hcaldqm::ContainerProf2D _cMeanTotal_depth
Definition: PedestalTask.h:108
hcaldqm::ContainerProf2D _cMeanDBRefTotal_depth
Definition: PedestalTask.h:127
hcaldqm::ContainerProf2D _cMeanDBRef1LS_depth
Definition: PedestalTask.h:120
hcaldqm::ContainerProf2D _cRMSTotal_FEDuTCA
Definition: PedestalTask.h:113
edm::InputTag _tagTrigger
Definition: PedestalTask.h:48
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
Definition: PedestalTask.h:52
hcaldqm::Container1D _cMeanDBRefTotal_Subdet
Definition: PedestalTask.h:118
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: PedestalTask.h:53
hcaldqm::ContainerXXX< double > _xPedSum2Total
Definition: PedestalTask.h:84
double _thresh_mean
Definition: PedestalTask.h:73
hcaldqm::ContainerXXX< int > _xNMsn1LS
Definition: PedestalTask.h:87
hcaldqm::Container2D _cMeanBadTotal_FEDVME
Definition: PedestalTask.h:161
hcaldqm::ContainerXXX< int > _xNBadRMS1LS
Definition: PedestalTask.h:88
hcaldqm::Container2D _cMissingTotal_FEDuTCA
Definition: PedestalTask.h:149
hcaldqm::ContainerXXX< double > _xPedRefMean
Definition: PedestalTask.h:91
virtual void _dump()
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDuTCA
Definition: PedestalTask.h:132
hcaldqm::Container2D _cMissingTotal_FEDVME
Definition: PedestalTask.h:148
hcaldqm::ContainerXXX< int > _xNBadMean1LS
Definition: PedestalTask.h:88
hcaldqm::ContainerProf2D _cMeanTotal_FEDuTCA
Definition: PedestalTask.h:111
hcaldqm::Container2D _cMeanBad1LS_FEDVME
Definition: PedestalTask.h:154
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDVME
Definition: PedestalTask.h:124
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: PedestalTask.h:169
double _thresh_rms
Definition: PedestalTask.h:73
Definition: Run.h:43
hcaldqm::filter::HashFilter _filter_uTCA
Definition: PedestalTask.h:68