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