CMS 3D CMS Logo

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