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
LEDTask::_cMissing_depth
hcaldqm::Container2D _cMissing_depth
Definition: LEDTask.h:97
hcaldqm::UpdateFreq
UpdateFreq
Definition: DQTask.h:32
LEDTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LEDTask.cc:60
LEDTask::_taguMN
edm::InputTag _taguMN
Definition: LEDTask.h:47
LEDTask::_lowHBHE
double _lowHBHE
Definition: LEDTask.h:61
LEDTask::_tagQIE11
edm::InputTag _tagQIE11
Definition: LEDTask.h:43
LEDTask::_ehashmap
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LEDTask.h:55
LEDTask::_cTimingMean_Subdet
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LEDTask.h:75
edm::Run
Definition: Run.h:45
LEDTask::_cSignalRMS_FEDuTCA
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LEDTask.h:92
edm::EDGetTokenT
Definition: EDGetToken.h:33
Container1D.h
LEDTask::_cSignalMean_depth
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LEDTask.h:82
LEDTask::_cSignalMean_Subdet
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LEDTask.h:73
LEDTask::_cShapeCut_FEDSlot
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
Definition: LEDTask.h:79
LEDTask::_cADCvsTS_SubdetPM
hcaldqm::Container2D _cADCvsTS_SubdetPM
Definition: LEDTask.h:102
LEDTask::_tokuMN
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: LEDTask.h:52
hcaldqm::fLocal
Definition: DQModule.h:26
LEDTask::_cSignalRMS_FEDVME
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
Definition: LEDTask.h:91
hcaldqm::ContainerProf1D
Definition: ContainerProf1D.h:20
LEDTask
Definition: LEDTask.py:1
LEDTask::_LED_ADCvsEvn_Subdet
hcaldqm::Container2D _LED_ADCvsEvn_Subdet
Definition: LEDTask.h:111
hcaldqm::ContainerSingle2D
Definition: ContainerSingle2D.h:20
LEDTask::_cSignalMean_FEDuTCA
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LEDTask.h:88
Utilities.h
hcaldqm::DQModule::_ptype
ProcessingType _ptype
Definition: DQModule.h:43
LEDTask::_dump
virtual void _dump()
Definition: LEDTask.cc:337
ElectronicsMap.h
LEDTask::_xSignalSum2
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LEDTask.h:67
LEDTask::_process
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: LEDTask.cc:405
LEDTask::_cTDCTime_depth
hcaldqm::ContainerProf2D _cTDCTime_depth
Definition: LEDTask.h:105
LEDTask::_nevents
int _nevents
Definition: LEDTask.h:60
LEDTask::dqmEndRun
void dqmEndRun(edm::Run const &r, edm::EventSetup const &) override
Definition: LEDTask.h:28
LEDTask::_tagHO
edm::InputTag _tagHO
Definition: LEDTask.h:44
LEDTask::_filter_VME
hcaldqm::filter::HashFilter _filter_VME
Definition: LEDTask.h:57
dqm::legacy::DQMStore::IBooker
dqm::implementation::IBooker IBooker
Definition: DQMStore.h:729
Container2D.h
LEDTask::_cTimingRMS_FEDVME
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LEDTask.h:93
LEDTask::_tokQIE10
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: LEDTask.h:50
Run.h
LEDTask::_cTimingMean_FEDuTCA
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LEDTask.h:90
ContainerXXX.h
LEDTask::_tokQIE11
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: LEDTask.h:48
LEDTask::_cTimingRMS_FEDuTCA
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LEDTask.h:94
LEDTask::_tagQIE10
edm::InputTag _tagQIE10
Definition: LEDTask.h:45
LEDTask::_filter_uTCA
hcaldqm::filter::HashFilter _filter_uTCA
Definition: LEDTask.h:56
LEDTask::_cTDCTime_SubdetPM
hcaldqm::Container1D _cTDCTime_SubdetPM
Definition: LEDTask.h:104
LEDTask::_lowHF
double _lowHF
Definition: LEDTask.h:63
hcaldqm::filter::HashFilter
Definition: HashFilter.h:21
hcaldqm::Container1D
Definition: Container1D.h:25
edm::ParameterSet
Definition: ParameterSet.h:36
LEDTask::_xEntries
hcaldqm::ContainerXXX< int > _xEntries
Definition: LEDTask.h:68
hcaldqm::ContainerProf2D
Definition: ContainerProf2D.h:19
LEDTask::_xTimingSum2
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LEDTask.h:70
ContainerSingleProf2D.h
hcaldqm::ContainerXXX< double >
LEDTask::_isApplicable
bool _isApplicable(edm::Event const &) override
Definition: LEDTask.cc:618
ContainerProf1D.h
LEDTask::_tokTrigger
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: LEDTask.h:51
edm::EventSetup
Definition: EventSetup.h:57
LEDTask::_cSignalRMS_Subdet
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LEDTask.h:74
LEDTask::_tagTrigger
edm::InputTag _tagTrigger
Definition: LEDTask.h:46
LEDTask::_cSignalRMS_depth
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LEDTask.h:83
LEDTask::_cSumQ_SubdetPM
hcaldqm::Container1D _cSumQ_SubdetPM
Definition: LEDTask.h:103
LEDTask::_xTimingSum
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LEDTask.h:69
alignCSCRings.r
r
Definition: alignCSCRings.py:93
hcaldqm::electronicsmap::ElectronicsMap
Definition: ElectronicsMap.h:32
DQTask.h
LEDTask::_cLowSignal_CrateSlot
hcaldqm::ContainerSingle2D _cLowSignal_CrateSlot
Definition: LEDTask.h:106
LEDTask::_ledCalibrationChannels
std::map< HcalSubdetector, std::vector< HcalDetId > > _ledCalibrationChannels
Definition: LEDTask.h:109
LEDTask::_cTimingRMS_depth
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LEDTask.h:85
LEDTask::_cTimingMean_FEDVME
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LEDTask.h:89
LEDTask::_resetMonitors
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: LEDTask.cc:335
LEDTask::_cSignalMean_FEDVME
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LEDTask.h:87
LEDTask::_LED_ADCvsBX_Subdet
hcaldqm::Container2D _LED_ADCvsBX_Subdet
Definition: LEDTask.h:110
ContainerProf2D.h
LEDTask::_cTimingRMS_Subdet
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LEDTask.h:76
LEDTask::_lowHO
double _lowHO
Definition: LEDTask.h:62
hcaldqm::DQTask
Definition: DQTask.h:33
LEDTask::_cMissing_FEDVME
hcaldqm::Container2D _cMissing_FEDVME
Definition: LEDTask.h:98
LEDTask::LEDTask
LEDTask(edm::ParameterSet const &)
Definition: LEDTask.cc:8
ContainerSingle2D.h
LEDTask::~LEDTask
~LEDTask() override
Definition: LEDTask.h:25
LEDTask::_cTimingMean_depth
hcaldqm::ContainerProf2D _cTimingMean_depth
Definition: LEDTask.h:84
edm::Event
Definition: Event.h:73
LEDTask::_tokHO
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LEDTask.h:49
LEDTask::_xSignalSum
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LEDTask.h:66
LEDTask::_cMissing_FEDuTCA
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LEDTask.h:99
edm::InputTag
Definition: InputTag.h:15
hcaldqm::Container2D
Definition: Container2D.h:19