1 #ifndef ESDaqInfoTask_h 2 #define ESDaqInfoTask_h 66 int iz = (x < 40) ? 1 : 2;
67 int ip = (y >= 40) ? 1 : 2;
68 int ix = (x < 40) ? x : x - 40;
69 int iy = (y < 40) ? y :y - 40;
70 return (*es_mapping_).getFED( iz, ip, ix + 1, iy + 1);
int getFEDNumber(const int x, const int y)
void beginJob(void)
BeginJob.
void cleanup(void)
Cleanup.
MonitorElement * meESDaqActiveMap_
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * meESDaqError_
MonitorElement * meESDaqActive_[56]
MonitorElement * meESDaqFraction_
ESElectronicsMapper * es_mapping_
void beginLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
BeginLuminosityBlock.
ESDaqInfoTask(const edm::ParameterSet &ps)
Constructor.
void endLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
EndLuminosityBlock.
virtual ~ESDaqInfoTask()
Destructor.