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