CMS 3D CMS Logo

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