54 for (
int i = 0;
i < 36;
i++) {
111 for (
int i = 0;
i < 36;
i++) {
142 name =
"EBIT DCC size error";
144 for (
int i = 0;
i < 36;
i++) {
152 name =
"EBIT weighted integrity errors by lumi";
155 for (
int i = 0;
i < 36;
i++) {
161 for (
int i = 0;
i < 36;
i++) {
171 for (
int i = 0;
i < 36;
i++) {
181 for (
int i = 0;
i < 36;
i++) {
191 for (
int i = 0;
i < 36;
i++) {
201 for (
int i = 0;
i < 36;
i++) {
211 for (
int i = 0;
i < 36;
i++) {
223 for (
int i = 0;
i < 36;
i++) {
233 for (
int i = 0;
i < 36;
i++) {
243 for (
int i = 0;
i < 36;
i++) {
258 if ( !
init_ )
return;
276 for (
int i = 0;
i < 36;
i++) {
282 for (
int i = 0;
i < 36;
i++) {
288 for (
int i = 0;
i < 36;
i++) {
294 for (
int i = 0;
i < 36;
i++) {
300 for (
int i = 0;
i < 36;
i++) {
306 for (
int i = 0;
i < 36;
i++) {
312 for (
int i = 0;
i < 36;
i++) {
318 for (
int i = 0;
i < 36;
i++) {
324 for (
int i = 0;
i < 36;
i++) {
360 float xism = ism + 0.5;
381 int ie = (ic-1)/20 + 1;
382 int ip = (ic-1)%20 + 1;
385 float xism = ism + 0.5;
387 float xie = ie - 0.5;
388 float xip = ip - 0.5;
410 int ie = (ic-1)/20 + 1;
411 int ip = (ic-1)%20 + 1;
414 float xism = ism + 0.5;
416 float xie = ie - 0.5;
417 float xip = ip - 0.5;
439 int ie = (ic-1)/20 + 1;
440 int ip = (ic-1)%20 + 1;
443 float xism = ism + 0.5;
445 float xie = ie - 0.5;
446 float xip = ip - 0.5;
467 int itt = idItr->towerId();
469 int iet = (itt-1)/4 + 1;
470 int ipt = (itt-1)%4 + 1;
473 float xismt = ismt + 0.5;
475 float xiet = iet - 0.5;
476 float xipt = ipt - 0.5;
497 int itt = idItr->towerId();
499 int iet = (itt-1)/4 + 1;
500 int ipt = (itt-1)%4 + 1;
503 float xismt = ismt + 0.5;
505 float xiet = iet - 0.5;
506 float xipt = ipt - 0.5;
529 int itt = idItr->towerId();
530 float iTt = itt + 0.5 - 69;
552 int itt = idItr->towerId();
553 float iTt = itt + 0.5 - 69;
575 int chid = idItr->channelId();
579 int itt = idItr->towerId();
582 float xie = ie - 0.5;
583 float xip = ip - 0.5;
605 int chid = idItr->channelId();
609 int itt = idItr->towerId();
612 float xie = ie - 0.5;
613 float xip = ip - 0.5;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
MonitorElement * meIntegrityTTBlockSize[36]
MonitorElement * meIntegrityMemTTBlockSize[36]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
virtual ~EBIntegrityTask()
Destructor.
Some "id" conversions.
static std::string sEB(const unsigned ism)
edm::InputTag EBDetIdCollection2_
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
edm::InputTag EBDetIdCollection3_
MonitorElement * meIntegrityGainSwitch[36]
void endLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
EndLuminosityBlock.
EBIntegrityTask(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meIntegrityMemGain[36]
static const int chMemAbscissa[25]
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
void tag(MonitorElement *me, unsigned int myTag)
MonitorElement * meIntegrityGain[36]
MonitorElement * meIntegrityErrorsByLumi
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * meIntegrityMemTTId[36]
void removeElement(const std::string &name)
edm::InputTag EBDetIdCollection1_
MonitorElement * meIntegrityMemChId[36]
edm::InputTag EcalElectronicsIdCollection6_
edm::InputTag EcalElectronicsIdCollection4_
std::string getName(Reflex::Type &cc)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
int ic() const
get ECAL/crystal number inside SM
MonitorElement * meIntegrityTTId[36]
void beginLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
BeginLuminosityBlock.
edm::InputTag EBDetIdCollection0_
static const int chMemOrdinate[25]
static void initGeometry(const edm::EventSetup &setup, bool verbose=false)
edm::InputTag EcalElectronicsIdCollection5_
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
edm::InputTag EcalElectronicsIdCollection3_
edm::InputTag EcalElectronicsIdCollection1_
MonitorElement * meIntegrityDCCSize
static unsigned iSM(const unsigned ism, const EcalSubdetector subdet)
MonitorElement * meIntegrityChId[36]
static EcalSubdetector subDet(const EBDetId &id)
void cleanup(void)
Cleanup.
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
int ism(int ieta, int iphi)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void Reset(void)
reset ME (ie. contents, errors, etc)
void setCurrentFolder(const std::string &fullpath)
void beginJob(void)
BeginJob.
std::vector< T >::const_iterator const_iterator
edm::InputTag EcalElectronicsIdCollection2_