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
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 
96 
97  // Bad Quality and Missing Channels
101 
102  // For hcalcalib online LED
108 
109  // For monitoring LED firing: ADC vs BX
110  std::map<HcalSubdetector, std::vector<HcalDetId> > _ledCalibrationChannels;
111  hcaldqm::Container2D _LED_ADCvsBX_Subdet; // Pin diode amplitude vs BX for online DQM
112  hcaldqm::Container2D _LED_ADCvsEvn_Subdet; // Pin diode amplitude vs Evn for local DQM
113 };
114 
115 #endif
LEDTask::_cMissing_depth
hcaldqm::Container2D _cMissing_depth
Definition: LEDTask.h:98
hcaldqm::UpdateFreq
UpdateFreq
Definition: DQTask.h:32
LEDTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LEDTask.cc:29
LEDTask::_taguMN
edm::InputTag _taguMN
Definition: LEDTask.h:47
LEDTask::_lowHBHE
double _lowHBHE
Definition: LEDTask.h:62
LEDTask::_tagQIE11
edm::InputTag _tagQIE11
Definition: LEDTask.h:43
LEDTask::_ehashmap
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LEDTask.h:56
LEDTask::_cTimingMean_Subdet
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LEDTask.h:76
edm::Run
Definition: Run.h:45
LEDTask::_cSignalRMS_FEDuTCA
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LEDTask.h:93
edm::EDGetTokenT
Definition: EDGetToken.h:33
Container1D.h
LEDTask::_cSignalMean_depth
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LEDTask.h:83
LEDTask::_cSignalMean_Subdet
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LEDTask.h:74
LEDTask::_cShapeCut_FEDSlot
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
Definition: LEDTask.h:80
LEDTask::_cADCvsTS_SubdetPM
hcaldqm::Container2D _cADCvsTS_SubdetPM
Definition: LEDTask.h:103
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:92
hcaldqm::ContainerProf1D
Definition: ContainerProf1D.h:20
LEDTask
Definition: LEDTask.py:1
LEDTask::_LED_ADCvsEvn_Subdet
hcaldqm::Container2D _LED_ADCvsEvn_Subdet
Definition: LEDTask.h:112
hcaldqm::ContainerSingle2D
Definition: ContainerSingle2D.h:20
LEDTask::_cSignalMean_FEDuTCA
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LEDTask.h:89
Utilities.h
hcaldqm::DQModule::_ptype
ProcessingType _ptype
Definition: DQModule.h:44
LEDTask::_dump
virtual void _dump()
Definition: LEDTask.cc:337
ElectronicsMap.h
LEDTask::_xSignalSum2
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LEDTask.h:68
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:106
LEDTask::_nevents
int _nevents
Definition: LEDTask.h:61
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:58
Container2D.h
LEDTask::_cTimingRMS_FEDVME
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LEDTask.h:94
LEDTask::_tokQIE10
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: LEDTask.h:50
Run.h
LEDTask::_cTimingMean_FEDuTCA
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LEDTask.h:91
ContainerXXX.h
LEDTask::_tokQIE11
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: LEDTask.h:48
LEDTask::_cTimingRMS_FEDuTCA
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LEDTask.h:95
LEDTask::_tagQIE10
edm::InputTag _tagQIE10
Definition: LEDTask.h:45
LEDTask::_filter_uTCA
hcaldqm::filter::HashFilter _filter_uTCA
Definition: LEDTask.h:57
LEDTask::_cTDCTime_SubdetPM
hcaldqm::Container1D _cTDCTime_SubdetPM
Definition: LEDTask.h:105
LEDTask::_lowHF
double _lowHF
Definition: LEDTask.h:64
hcaldqm::filter::HashFilter
Definition: HashFilter.h:21
hcaldqm::Container1D
Definition: Container1D.h:25
edm::ParameterSet
Definition: ParameterSet.h:47
LEDTask::_xEntries
hcaldqm::ContainerXXX< int > _xEntries
Definition: LEDTask.h:69
hcaldqm::ContainerProf2D
Definition: ContainerProf2D.h:19
LEDTask::_xTimingSum2
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LEDTask.h:71
LEDTask::hcalDbServiceToken_
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: LEDTask.h:53
ContainerSingleProf2D.h
hcaldqm::ContainerXXX< double >
LEDTask::_isApplicable
bool _isApplicable(edm::Event const &) override
Definition: LEDTask.cc:637
ContainerProf1D.h
LEDTask::_tokTrigger
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: LEDTask.h:51
edm::EventSetup
Definition: EventSetup.h:58
LEDTask::_cSignalRMS_Subdet
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LEDTask.h:75
LEDTask::_tagTrigger
edm::InputTag _tagTrigger
Definition: LEDTask.h:46
LEDTask::_cSignalRMS_depth
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LEDTask.h:84
edm::ESGetToken< HcalDbService, HcalDbRecord >
LEDTask::_cSumQ_SubdetPM
hcaldqm::Container1D _cSumQ_SubdetPM
Definition: LEDTask.h:104
LEDTask::_xTimingSum
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LEDTask.h:70
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:107
LEDTask::_ledCalibrationChannels
std::map< HcalSubdetector, std::vector< HcalDetId > > _ledCalibrationChannels
Definition: LEDTask.h:110
LEDTask::_cTimingRMS_depth
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LEDTask.h:86
LEDTask::_cTimingMean_FEDVME
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LEDTask.h:90
LEDTask::_resetMonitors
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: LEDTask.cc:335
LEDTask::_cSignalMean_FEDVME
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LEDTask.h:88
LEDTask::_LED_ADCvsBX_Subdet
hcaldqm::Container2D _LED_ADCvsBX_Subdet
Definition: LEDTask.h:111
dqm::implementation::IBooker
Definition: DQMStore.h:43
ContainerProf2D.h
LEDTask::_cTimingRMS_Subdet
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LEDTask.h:77
LEDTask::_lowHO
double _lowHO
Definition: LEDTask.h:63
hcaldqm::DQTask
Definition: DQTask.h:33
LEDTask::_cMissing_FEDVME
hcaldqm::Container2D _cMissing_FEDVME
Definition: LEDTask.h:99
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:85
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:67
LEDTask::_cMissing_FEDuTCA
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LEDTask.h:100
edm::InputTag
Definition: InputTag.h:15
hcaldqm::Container2D
Definition: Container2D.h:19