55 for (
int i = 0;
i < 18;
i++) {
111 for (
int i = 0;
i < 18;
i++) {
142 name =
"EEIT DCC size error";
144 for (
int i = 0;
i < 18;
i++) {
152 name =
"EEIT weighted integrity errors by lumi";
155 for (
int i = 0;
i < 18;
i++) {
161 for (
int i = 0;
i < 18;
i++) {
172 for (
int i = 0;
i < 18;
i++) {
183 for (
int i = 0;
i < 18;
i++) {
194 for (
int i = 0;
i < 18;
i++) {
205 for (
int i = 0;
i < 18;
i++) {
216 for (
int i = 0;
i < 18;
i++) {
228 for (
int i = 0;
i < 18;
i++) {
238 for (
int i = 0;
i < 18;
i++) {
248 for (
int i = 0;
i < 18;
i++) {
262 if ( !
init_ )
return;
281 for (
int i = 0;
i < 18;
i++) {
287 for (
int i = 0;
i < 18;
i++) {
293 for (
int i = 0;
i < 18;
i++) {
299 for (
int i = 0;
i < 18;
i++) {
305 for (
int i = 0;
i < 18;
i++) {
311 for (
int i = 0;
i < 18;
i++) {
317 for (
int i = 0;
i < 18;
i++) {
323 for (
int i = 0;
i < 18;
i++) {
329 for (
int i = 0;
i < 18;
i++) {
365 float xism = ism + 0.5;
389 float xism = ism + 0.5;
391 if ( ism >= 1 && ism <= 9 ) ix = 101 - ix;
393 float xix = ix - 0.5;
394 float xiy = iy - 0.5;
419 float xism = ism + 0.5;
421 if ( ism >= 1 && ism <= 9 ) ix = 101 - ix;
423 float xix = ix - 0.5;
424 float xiy = iy - 0.5;
449 float xism = ism + 0.5;
451 if ( ism >= 1 && ism <= 9 ) ix = 101 - ix;
453 float xix = ix - 0.5;
454 float xiy = iy - 0.5;
476 float xism = ism + 0.5;
480 for (
unsigned int i=0;
i<crystals->size();
i++ ) {
487 if ( ism >= 1 && ism <= 9 ) ix = 101 - ix;
489 float xix = ix - 0.5;
490 float xiy = iy - 0.5;
514 float xism = ism + 0.5;
518 for (
unsigned int i=0;
i<crystals->size();
i++ ) {
525 if ( ism >= 1 && ism <= 9 ) ix = 101 - ix;
527 float xix = ix - 0.5;
528 float xiy = iy - 0.5;
553 int itt = idItr->towerId();
554 float iTt = itt + 0.5 - 69;
576 int itt = idItr->towerId();
577 float iTt = itt + 0.5 - 69;
599 int chid = idItr->channelId();
603 int itt = idItr->towerId();
606 float xix = ie - 0.5;
607 float xiy = ip - 0.5;
629 int chid = idItr->channelId();
633 int itt = idItr->towerId();
636 float xix = ie - 0.5;
637 float xiy = ip - 0.5;
edm::InputTag EEDetIdCollection3_
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
static std::string sEE(const unsigned ism)
edm::InputTag EEDetIdCollection2_
MonitorElement * meIntegrityTTId[18]
edm::InputTag EEDetIdCollection0_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
Some "id" conversions.
MonitorElement * meIntegrityErrorsByLumi
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
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)
MonitorElement * meIntegrityTTBlockSize[18]
void cleanup(void)
Cleanup.
MonitorElement * meIntegrityDCCSize
void beginLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
BeginLuminosityBlock.
static int ix0EE(const unsigned ism)
static int iy0EE(const unsigned ism)
edm::InputTag EcalElectronicsIdCollection1_
edm::InputTag EcalElectronicsIdCollection3_
edm::InputTag EcalElectronicsIdCollection5_
void tag(MonitorElement *me, unsigned int myTag)
static std::vector< DetId > * crystals(const EcalTrigTowerDetId &id)
MonitorElement * meIntegrityGainSwitch[18]
void beginJob(void)
BeginJob.
MonitorElement * meIntegrityMemChId[18]
edm::InputTag EEDetIdCollection1_
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
void removeElement(const std::string &name)
std::string getName(Reflex::Type &cc)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
static const int chMemAbscissa[25]
MonitorElement * meIntegrityGain[18]
edm::InputTag EcalElectronicsIdCollection4_
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
MonitorElement * meIntegrityMemTTId[18]
static void initGeometry(const edm::EventSetup &setup, bool verbose=false)
static const int chMemOrdinate[25]
edm::InputTag EcalElectronicsIdCollection6_
EEIntegrityTask(const edm::ParameterSet &ps)
Constructor.
static unsigned iSM(const unsigned ism, const EcalSubdetector subdet)
void endLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
EndLuminosityBlock.
MonitorElement * meIntegrityMemGain[18]
static EcalSubdetector subDet(const EBDetId &id)
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
MonitorElement * meIntegrityChId[18]
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)
virtual ~EEIntegrityTask()
Destructor.
void setCurrentFolder(const std::string &fullpath)
edm::InputTag EcalElectronicsIdCollection2_
MonitorElement * meIntegrityMemTTBlockSize[18]
std::vector< T >::const_iterator const_iterator