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  std::shared_ptr<hcaldqm::Cache> globalBeginLuminosityBlock(edm::LuminosityBlock const &,
36  edm::EventSetup const &) const override;
37  void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override;
38 
39 protected:
40  // funcs
41  void _process(edm::Event const &, edm::EventSetup const &) override;
42 
43  // Get index of a particular OrbitGapType in the vector, which is used as the value for filling the histogram
44  int getOrbitGapIndex(uint8_t eventType, uint32_t laserType);
45 
46  std::vector<uint32_t> _eventtypes;
47 
48  // tags and tokens
58 
59  // cuts
61 
62  // emap
66 
67  // 1D
71 };
72 #endif
hcaldqm::filter::HashFilter _filter_uTCA
Definition: UMNioTask.h:64
std::vector< uint32_t > _eventtypes
Definition: UMNioTask.h:46
edm::EDGetTokenT< HODigiCollection > tokHO_
Definition: UMNioTask.h:54
~UMNioTask() override
Definition: UMNioTask.h:26
edm::EDGetTokenT< HcalUMNioDigi > tokuMN_
Definition: UMNioTask.h:56
edm::InputTag tagHBHE_
Definition: UMNioTask.h:50
double lowHO_
Definition: UMNioTask.h:60
double lowHF_
Definition: UMNioTask.h:60
hcaldqm::ContainerSingleProf2D _cTotalChargeProfile
Definition: UMNioTask.h:70
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: UMNioTask.h:63
edm::InputTag taguMN_
Definition: UMNioTask.h:49
UMNioTask(edm::ParameterSet const &)
Definition: UMNioTask.cc:6
double lowHBHE_
Definition: UMNioTask.h:60
ProcessingType _ptype
Definition: DQModule.h:44
hcaldqm::filter::HashFilter _filter_VME
Definition: UMNioTask.h:65
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: UMNioTask.h:57
int getOrbitGapIndex(uint8_t eventType, uint32_t laserType)
Definition: UMNioTask.cc:62
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: UMNioTask.cc:29
edm::EDGetTokenT< QIE10DigiCollection > tokHF_
Definition: UMNioTask.h:55
edm::EDGetTokenT< QIE11DigiCollection > tokHBHE_
Definition: UMNioTask.h:53
void dqmEndRun(edm::Run const &r, edm::EventSetup const &) override
Definition: UMNioTask.h:29
hcaldqm::ContainerSingle2D _cTotalCharge
Definition: UMNioTask.h:69
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
Definition: UMNioTask.cc:179
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: UMNioTask.cc:106
hcaldqm::ContainerSingle2D _cEventType
Definition: UMNioTask.h:68
edm::InputTag tagHF_
Definition: UMNioTask.h:52
Definition: Run.h:45
edm::InputTag tagHO_
Definition: UMNioTask.h:51
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: UMNioTask.cc:184