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 public:
24  LEDTask(edm::ParameterSet const&);
25  ~LEDTask() override {}
26 
27  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
28  void dqmEndRun(edm::Run const& r, edm::EventSetup const&) override {
29  if (_ptype == hcaldqm::fLocal)
30  if (r.runAuxiliary().run() == 1)
31  return;
32  this->_dump();
33  }
34 
35 protected:
36  // funcs
37  void _process(edm::Event const&, edm::EventSetup const&) override;
38  void _resetMonitors(hcaldqm::UpdateFreq) override;
39  bool _isApplicable(edm::Event const&) override;
40  virtual void _dump();
41 
42  // tags and tokens
53 
54  // emap
58 
59  // Cuts
60  int _nevents;
61  double _lowHBHE;
62  double _lowHO;
63  double _lowHF;
64 
65  // Compact
71 
72  // 1D
77 
78  // Prof1D
80 
81  // 2D timing/signals
86 
95 
96  // Bad Quality and Missing Channels
100 
101  // For hcalcalib online LED
107 
108  // For monitoring LED firing: ADC vs BX
109  std::map<HcalSubdetector, std::vector<HcalDetId> > _ledCalibrationChannels;
110  hcaldqm::Container2D _LED_ADCvsBX_Subdet; // Pin diode amplitude vs BX for online DQM
111  hcaldqm::Container2D _LED_ADCvsEvn_Subdet; // Pin diode amplitude vs Evn for local DQM
112 };
113 
114 #endif
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LEDTask.h:99
hcaldqm::Container2D _cMissing_FEDVME
Definition: LEDTask.h:98
LEDTask(edm::ParameterSet const &)
Definition: LEDTask.cc:8
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LEDTask.h:82
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LEDTask.h:90
double _lowHBHE
Definition: LEDTask.h:61
edm::InputTag _taguMN
Definition: LEDTask.h:47
hcaldqm::ContainerProf2D _cTimingMean_depth
Definition: LEDTask.h:84
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LEDTask.h:87
hcaldqm::Container2D _cMissing_depth
Definition: LEDTask.h:97
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: LEDTask.h:51
double _lowHF
Definition: LEDTask.h:63
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LEDTask.h:89
UpdateFreq
Definition: DQTask.h:16
edm::InputTag _tagHO
Definition: LEDTask.h:44
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
Definition: LEDTask.h:91
hcaldqm::filter::HashFilter _filter_uTCA
Definition: LEDTask.h:56
edm::InputTag _tagQIE11
Definition: LEDTask.h:43
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: LEDTask.h:48
hcaldqm::ContainerXXX< int > _xEntries
Definition: LEDTask.h:68
int _nevents
Definition: LEDTask.h:60
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: LEDTask.h:50
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LEDTask.h:69
hcaldqm::ContainerProf2D _cTDCTime_depth
Definition: LEDTask.h:105
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: LEDTask.h:52
~LEDTask() override
Definition: LEDTask.h:25
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LEDTask.h:92
ProcessingType _ptype
Definition: DQModule.h:43
double _lowHO
Definition: LEDTask.h:62
void dqmEndRun(edm::Run const &r, edm::EventSetup const &) override
Definition: LEDTask.h:28
hcaldqm::ContainerSingle2D _cLowSignal_CrateSlot
Definition: LEDTask.h:106
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LEDTask.cc:60
RunAuxiliary const & runAuxiliary() const override
Definition: Run.h:61
edm::InputTag _tagTrigger
Definition: LEDTask.h:46
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LEDTask.h:88
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LEDTask.h:85
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LEDTask.h:74
hcaldqm::filter::HashFilter _filter_VME
Definition: LEDTask.h:57
hcaldqm::Container2D _LED_ADCvsEvn_Subdet
Definition: LEDTask.h:111
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LEDTask.h:70
hcaldqm::Container1D _cTDCTime_SubdetPM
Definition: LEDTask.h:104
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LEDTask.h:93
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LEDTask.h:94
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LEDTask.h:49
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LEDTask.h:66
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: LEDTask.cc:405
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LEDTask.h:75
std::map< HcalSubdetector, std::vector< HcalDetId > > _ledCalibrationChannels
Definition: LEDTask.h:109
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: LEDTask.cc:335
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LEDTask.h:83
bool _isApplicable(edm::Event const &) override
Definition: LEDTask.cc:618
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LEDTask.h:76
virtual void _dump()
Definition: LEDTask.cc:337
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LEDTask.h:67
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LEDTask.h:55
hcaldqm::Container2D _LED_ADCvsBX_Subdet
Definition: LEDTask.h:110
hcaldqm::Container1D _cSumQ_SubdetPM
Definition: LEDTask.h:103
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
Definition: LEDTask.h:79
edm::InputTag _tagQIE10
Definition: LEDTask.h:45
hcaldqm::Container2D _cADCvsTS_SubdetPM
Definition: LEDTask.h:102
RunNumber_t run() const
Definition: RunAuxiliary.h:31
Definition: Run.h:45
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LEDTask.h:73