CMS 3D CMS Logo

ESDaqInfoTask.h
Go to the documentation of this file.
1 #ifndef ESDaqInfoTask_h
2 #define ESDaqInfoTask_h
3 
7 
8 #include "Geometry/EcalMapping/interface/ESElectronicsMapper.h" // definition in line 75
10 
12 public:
15 
18 
20  ~ESDaqInfoTask() override;
21 
22 protected:
24  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
25 
27  void beginJob(void) override;
28 
30  void endJob(void) override;
31 
33  void beginLuminosityBlock(const edm::LuminosityBlock& lumiBlock, const edm::EventSetup& iSetup) override;
34 
36  void reset(void);
37 
38 private:
42 
43  bool mergeRuns_;
44 
48 
50 
53 
55 
56  bool ESOnFed_[56];
57 
58  int getFEDNumber(const int x, const int y) {
59  int iz = (x < 40) ? 1 : 2;
60  int ip = (y >= 40) ? 1 : 2;
61  int ix = (x < 40) ? x : x - 40;
62  int iy = (y < 40) ? y : y - 40;
63  return (*es_mapping_).getFED(iz, ip, ix + 1, iy + 1);
64  }
65 };
66 
67 #endif
ESElectronicsMapper.h
ESDaqInfoTask::meESDaqError_
MonitorElement * meESDaqError_
Definition: ESDaqInfoTask.h:49
DDAxes::y
ESDaqInfoTask::runInfoToken_
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition: ESDaqInfoTask.h:40
ESDaqInfoTask::~ESDaqInfoTask
~ESDaqInfoTask() override
Destructor.
Definition: ESDaqInfoTask.cc:56
ESDaqInfoTask::meESDaqActive_
MonitorElement * meESDaqActive_[56]
Definition: ESDaqInfoTask.h:46
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
ESDaqInfoTask::beginJob
void beginJob(void) override
BeginJob.
Definition: ESDaqInfoTask.cc:58
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
ESDaqInfoTask::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup) override
BeginLuminosityBlock.
Definition: ESDaqInfoTask.cc:102
EDAnalyzer.h
DDAxes::x
ESDaqInfoTask::dqmStore_
DQMStore * dqmStore_
Definition: ESDaqInfoTask.h:39
ESDaqInfoTask::meESDaqFraction_
MonitorElement * meESDaqFraction_
Definition: ESDaqInfoTask.h:45
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
ESElectronicsMapper
Definition: ESElectronicsMapper.h:14
dqm::legacy::DQMStore
Definition: DQMStore.h:728
ESDaqInfoTask::ESDaqInfoTask
ESDaqInfoTask(const edm::ParameterSet &ps)
Constructor.
Definition: ESDaqInfoTask.cc:29
ESDaqInfoTask::mergeRuns_
bool mergeRuns_
Definition: ESDaqInfoTask.h:43
ESDaqInfoTask::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
Definition: ESDaqInfoTask.cc:180
ESDaqInfoTask::es_mapping_
ESElectronicsMapper * es_mapping_
Definition: ESDaqInfoTask.h:54
ESDaqInfoTask::ESFedRangeMax_
int ESFedRangeMax_
Definition: ESDaqInfoTask.h:52
ESDaqInfoTask::endJob
void endJob(void) override
EndJob.
Definition: ESDaqInfoTask.cc:100
ESDaqInfoTask::meESDaqActiveMap_
MonitorElement * meESDaqActiveMap_
Definition: ESDaqInfoTask.h:47
ESDaqInfoTask::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: ESDaqInfoTask.h:14
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
ESDaqInfoTask::ESFedRangeMin_
int ESFedRangeMin_
Definition: ESDaqInfoTask.h:51
ESDaqInfoTask::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: ESDaqInfoTask.h:13
ESDaqInfoTask::reset
void reset(void)
Reset.
Definition: ESDaqInfoTask.cc:164
ESDaqInfoTask::prefixME_
std::string prefixME_
Definition: ESDaqInfoTask.h:41
ESDaqInfoTask::getFEDNumber
int getFEDNumber(const int x, const int y)
Definition: ESDaqInfoTask.h:58
edm::EventSetup
Definition: EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< RunInfo, RunInfoRcd >
ESDaqInfoTask::ESOnFed_
bool ESOnFed_[56]
Definition: ESDaqInfoTask.h:56
ESDaqInfoTask
Definition: ESDaqInfoTask.h:11
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37