CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
54 
55  // emap
59 
60  // Cuts
61  int _nevents;
62  double _lowHBHE;
63  double _lowHO;
64  double _lowHF;
65 
66  // Compact
72 
73  // 1D
78 
79  // Prof1D
81 
82  // 2D timing/signals
87 
92 
93  // Bad Quality and Missing Channels
96 
97  // For hcalcalib online LED
103 
104  // For monitoring LED firing: ADC vs BX
105  std::map<HcalSubdetector, std::vector<HcalDetId> > _ledCalibrationChannels;
106  hcaldqm::Container2D _LED_ADCvsBX_Subdet; // Pin diode amplitude vs BX for online DQM
107  hcaldqm::Container2D _LED_ADCvsEvn_Subdet; // Pin diode amplitude vs Evn for local DQM
108 };
109 
110 #endif
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LEDTask.h:95
LEDTask(edm::ParameterSet const &)
Definition: LEDTask.cc:8
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LEDTask.h:83
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LEDTask.h:89
double _lowHBHE
Definition: LEDTask.h:62
edm::InputTag _taguMN
Definition: LEDTask.h:47
hcaldqm::ContainerProf2D _cTimingMean_depth
Definition: LEDTask.h:85
hcaldqm::Container2D _cMissing_depth
Definition: LEDTask.h:94
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: LEDTask.h:51
double _lowHF
Definition: LEDTask.h:64
UpdateFreq
Definition: DQTask.h:32
edm::InputTag _tagHO
Definition: LEDTask.h:44
hcaldqm::filter::HashFilter _filter_uTCA
Definition: LEDTask.h:57
edm::InputTag _tagQIE11
Definition: LEDTask.h:43
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: LEDTask.h:48
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: LEDTask.h:53
hcaldqm::ContainerXXX< int > _xEntries
Definition: LEDTask.h:69
int _nevents
Definition: LEDTask.h:61
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: LEDTask.h:50
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LEDTask.h:70
hcaldqm::ContainerProf2D _cTDCTime_depth
Definition: LEDTask.h:101
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: LEDTask.h:52
RunAuxiliary const & runAuxiliary() const override
Definition: Run.h:62
~LEDTask() override
Definition: LEDTask.h:25
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LEDTask.h:90
ProcessingType _ptype
Definition: DQModule.h:44
double _lowHO
Definition: LEDTask.h:63
void dqmEndRun(edm::Run const &r, edm::EventSetup const &) override
Definition: LEDTask.h:28
hcaldqm::ContainerSingle2D _cLowSignal_CrateSlot
Definition: LEDTask.h:102
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LEDTask.cc:29
edm::InputTag _tagTrigger
Definition: LEDTask.h:46
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LEDTask.h:88
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LEDTask.h:86
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LEDTask.h:75
hcaldqm::filter::HashFilter _filter_VME
Definition: LEDTask.h:58
hcaldqm::Container2D _LED_ADCvsEvn_Subdet
Definition: LEDTask.h:107
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LEDTask.h:71
hcaldqm::Container1D _cTDCTime_SubdetPM
Definition: LEDTask.h:100
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LEDTask.h:91
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LEDTask.h:49
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LEDTask.h:67
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: LEDTask.cc:354
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LEDTask.h:76
std::map< HcalSubdetector, std::vector< HcalDetId > > _ledCalibrationChannels
Definition: LEDTask.h:105
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: LEDTask.cc:295
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LEDTask.h:84
bool _isApplicable(edm::Event const &) override
Definition: LEDTask.cc:586
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LEDTask.h:77
virtual void _dump()
Definition: LEDTask.cc:297
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LEDTask.h:68
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LEDTask.h:56
hcaldqm::Container2D _LED_ADCvsBX_Subdet
Definition: LEDTask.h:106
hcaldqm::Container1D _cSumQ_SubdetPM
Definition: LEDTask.h:99
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
Definition: LEDTask.h:80
edm::InputTag _tagQIE10
Definition: LEDTask.h:45
hcaldqm::Container2D _cADCvsTS_SubdetPM
Definition: LEDTask.h:98
RunNumber_t run() const
Definition: RunAuxiliary.h:31
Definition: Run.h:45
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LEDTask.h:74