CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  }
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
56 
57  // cuts
59 
60  // emap
64 
65  // 1D
69 };
70 #endif
edm::InputTag _tagHBHE
Definition: UMNioTask.h:48
edm::EDGetTokenT< HFDigiCollection > _tokHF
Definition: UMNioTask.h:53
hcaldqm::filter::HashFilter _filter_uTCA
Definition: UMNioTask.h:62
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:68
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: UMNioTask.h:61
double _lowHO
Definition: UMNioTask.h:58
RunAuxiliary const & runAuxiliary() const override
Definition: Run.h:62
UMNioTask(edm::ParameterSet const &)
Definition: UMNioTask.cc:6
ProcessingType _ptype
Definition: DQModule.h:44
edm::InputTag _taguMN
Definition: UMNioTask.h:47
hcaldqm::filter::HashFilter _filter_VME
Definition: UMNioTask.h:63
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: UMNioTask.h:55
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:29
double _lowHBHE
Definition: UMNioTask.h:58
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:67
double _lowHF
Definition: UMNioTask.h:58
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: UMNioTask.cc:97
hcaldqm::ContainerSingle2D _cEventType
Definition: UMNioTask.h:66
RunNumber_t run() const
Definition: RunAuxiliary.h:31
Definition: Run.h:45
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: UMNioTask.cc:134