CMS 3D CMS Logo

LEDTask.h
Go to the documentation of this file.
1 #ifndef LEDTask_h
2 #define LEDTask_h
3 
4 /*
5  * file: LEDTask.h
6  * Author: Viktor Khristenko
7  * Date: 16.10.2015
8  */
9 
21 
22 class LEDTask : public hcaldqm::DQTask
23 {
24  public:
25  LEDTask(edm::ParameterSet const&);
26  ~LEDTask() override
27  {}
28 
30  edm::Run const&, edm::EventSetup const&) override;
31  void endRun(edm::Run const& r, edm::EventSetup const&) override
32  {
34  if (r.runAuxiliary().run()==1)
35  return;
36  this->_dump();
37  }
38 
39  protected:
40  // funcs
41  void _process(edm::Event const&, edm::EventSetup const&) override;
42  void _resetMonitors(hcaldqm::UpdateFreq) override;
43  bool _isApplicable(edm::Event const&) override;
44  virtual void _dump();
45 
46  // tags and tokens
59 
60  // emap
64 
65  // Cuts
66  int _nevents;
67  double _lowHBHE;
68  double _lowHE;
69  double _lowHO;
70  double _lowHF;
71 
72  // Compact
78 
79  // 1D
84 
85  // Prof1D
87 
88  // 2D timing/signals
93 
102 
103  // Bad Quality and Missing Channels
107 
108  // For hcalcalib online LED
114 
115  // For monitoring LED firing: ADC vs BX
117 
118 };
119 
120 #endif
121 
122 
123 
124 
125 
126 
127 
edm::EDGetTokenT< QIE11DigiCollection > _tokHE
Definition: LEDTask.h:54
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LEDTask.h:106
hcaldqm::Container2D _cMissing_FEDVME
Definition: LEDTask.h:105
LEDTask(edm::ParameterSet const &)
Definition: LEDTask.cc:7
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LEDTask.h:89
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LEDTask.h:97
double _lowHBHE
Definition: LEDTask.h:67
edm::InputTag _taguMN
Definition: LEDTask.h:52
hcaldqm::ContainerProf2D _cTimingMean_depth
Definition: LEDTask.h:91
MonitorElement * _meLEDMon
Definition: LEDTask.h:116
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LEDTask.h:94
hcaldqm::Container2D _cMissing_depth
Definition: LEDTask.h:104
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: LEDTask.h:57
double _lowHF
Definition: LEDTask.h:70
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: LEDTask.h:53
edm::InputTag _tagHE
Definition: LEDTask.h:48
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LEDTask.h:96
UpdateFreq
Definition: DQTask.h:17
edm::InputTag _tagHO
Definition: LEDTask.h:49
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
Definition: LEDTask.h:98
edm::InputTag _tagHF
Definition: LEDTask.h:50
hcaldqm::filter::HashFilter _filter_uTCA
Definition: LEDTask.h:62
hcaldqm::ContainerXXX< int > _xEntries
Definition: LEDTask.h:75
int _nevents
Definition: LEDTask.h:66
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LEDTask.h:76
hcaldqm::ContainerProf2D _cTDCTime_depth
Definition: LEDTask.h:112
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: LEDTask.h:58
~LEDTask() override
Definition: LEDTask.h:26
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LEDTask.h:99
ProcessingType _ptype
Definition: DQModule.h:59
double _lowHE
Definition: LEDTask.h:68
double _lowHO
Definition: LEDTask.h:69
hcaldqm::ContainerSingle2D _cLowSignal_CrateSlot
Definition: LEDTask.h:113
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LEDTask.cc:42
RunAuxiliary const & runAuxiliary() const override
Definition: Run.h:62
edm::InputTag _tagTrigger
Definition: LEDTask.h:51
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LEDTask.h:95
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LEDTask.h:92
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: LEDTask.h:56
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LEDTask.h:81
edm::InputTag _tagHBHE
Definition: LEDTask.h:47
hcaldqm::filter::HashFilter _filter_VME
Definition: LEDTask.h:63
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LEDTask.h:77
hcaldqm::Container1D _cTDCTime_SubdetPM
Definition: LEDTask.h:111
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LEDTask.h:100
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LEDTask.h:101
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LEDTask.h:55
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LEDTask.h:73
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: LEDTask.cc:338
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LEDTask.h:82
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: LEDTask.cc:258
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LEDTask.h:90
bool _isApplicable(edm::Event const &) override
Definition: LEDTask.cc:559
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LEDTask.h:83
virtual void _dump()
Definition: LEDTask.cc:263
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LEDTask.h:74
void endRun(edm::Run const &r, edm::EventSetup const &) override
Definition: LEDTask.h:31
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LEDTask.h:61
hcaldqm::Container1D _cSumQ_SubdetPM
Definition: LEDTask.h:110
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
Definition: LEDTask.h:86
hcaldqm::Container2D _cADCvsTS_SubdetPM
Definition: LEDTask.h:109
RunNumber_t run() const
Definition: RunAuxiliary.h:41
Definition: Run.h:43
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LEDTask.h:80