CMS 3D CMS Logo

UMNioTask.h
Go to the documentation of this file.
1 #ifndef DQM_HcalTasks_UMNioTask_h
2 #define DQM_HcalTasks_UMNioTask_h
3 
4 /*
5  * file: LaserTask.h
6  * Author: Viktor Khristenko
7  * Date: 16.10.2015
8  */
9 
22 
23 class UMNioTask : public hcaldqm::DQTask {
24 public:
26  ~UMNioTask() override {}
27 
28  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
29  void dqmEndRun(edm::Run const& r, edm::EventSetup const&) override {
30  if (_ptype == hcaldqm::fLocal) {
31  if (r.runAuxiliary().run() == 1)
32  return;
33  }
34  }
35  void dqmEndLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
36 
37 protected:
38  // funcs
39  void _process(edm::Event const&, edm::EventSetup const&) override;
40 
41  // Get index of a particular OrbitGapType in the vector, which is used as the value for filling the histogram
42  int getOrbitGapIndex(uint8_t eventType, uint32_t laserType);
43 
44  std::vector<uint32_t> _eventtypes;
45 
46  // tags and tokens
55 
56  // cuts
58 
59  // emap
63 
64  // 1D
68 };
69 #endif
edm::InputTag _tagHBHE
Definition: UMNioTask.h:48
edm::EDGetTokenT< HFDigiCollection > _tokHF
Definition: UMNioTask.h:53
void dqmEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: UMNioTask.cc:134
hcaldqm::filter::HashFilter _filter_uTCA
Definition: UMNioTask.h:61
std::vector< uint32_t > _eventtypes
Definition: UMNioTask.h:44
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: UMNioTask.h:52
~UMNioTask() override
Definition: UMNioTask.h:26
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: UMNioTask.h:54
edm::InputTag _tagHF
Definition: UMNioTask.h:50
hcaldqm::ContainerSingleProf2D _cTotalChargeProfile
Definition: UMNioTask.h:67
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: UMNioTask.h:60
double _lowHO
Definition: UMNioTask.h:57
UMNioTask(edm::ParameterSet const &)
Definition: UMNioTask.cc:6
ProcessingType _ptype
Definition: DQModule.h:43
edm::InputTag _taguMN
Definition: UMNioTask.h:47
hcaldqm::filter::HashFilter _filter_VME
Definition: UMNioTask.h:62
RunAuxiliary const & runAuxiliary() const override
Definition: Run.h:61
int getOrbitGapIndex(uint8_t eventType, uint32_t laserType)
Definition: UMNioTask.cc:62
edm::InputTag _tagHO
Definition: UMNioTask.h:49
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: UMNioTask.cc:28
double _lowHBHE
Definition: UMNioTask.h:57
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: UMNioTask.h:51
void dqmEndRun(edm::Run const &r, edm::EventSetup const &) override
Definition: UMNioTask.h:29
hcaldqm::ContainerSingle2D _cTotalCharge
Definition: UMNioTask.h:66
double _lowHF
Definition: UMNioTask.h:57
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: UMNioTask.cc:97
hcaldqm::ContainerSingle2D _cEventType
Definition: UMNioTask.h:65
RunNumber_t run() const
Definition: RunAuxiliary.h:31
Definition: Run.h:45