52 for (
int i = 0;
i < 36;
i++) {
107 for (
int i = 0;
i < 36;
i++) {
132 name =
"EBIT DCC size error";
134 for (
int i = 0;
i < 36;
i++) {
142 name =
"EBIT weighted integrity errors by lumi";
145 for (
int i = 0;
i < 36;
i++) {
151 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++) {
213 for (
int i = 0;
i < 36;
i++) {
223 for (
int i = 0;
i < 36;
i++) {
233 for (
int i = 0;
i < 36;
i++) {
248 if ( !
init_ )
return;
260 for (
int i = 0;
i < 36;
i++) {
266 for (
int i = 0;
i < 36;
i++) {
272 for (
int i = 0;
i < 36;
i++) {
278 for (
int i = 0;
i < 36;
i++) {
284 for (
int i = 0;
i < 36;
i++) {
290 for (
int i = 0;
i < 36;
i++) {
296 for (
int i = 0;
i < 36;
i++) {
302 for (
int i = 0;
i < 36;
i++) {
308 for (
int i = 0;
i < 36;
i++) {
344 float xism = ism + 0.5;
365 int ie = (ic-1)/20 + 1;
366 int ip = (ic-1)%20 + 1;
369 float xism = ism + 0.5;
371 float xie = ie - 0.5;
372 float xip = ip - 0.5;
394 int ie = (ic-1)/20 + 1;
395 int ip = (ic-1)%20 + 1;
398 float xism = ism + 0.5;
400 float xie = ie - 0.5;
401 float xip = ip - 0.5;
423 int ie = (ic-1)/20 + 1;
424 int ip = (ic-1)%20 + 1;
427 float xism = ism + 0.5;
429 float xie = ie - 0.5;
430 float xip = ip - 0.5;
451 int itt = idItr->towerId();
453 int iet = (itt-1)/4 + 1;
454 int ipt = (itt-1)%4 + 1;
457 float xismt = ismt + 0.5;
459 float xiet = iet - 0.5;
460 float xipt = ipt - 0.5;
481 int itt = idItr->towerId();
483 int iet = (itt-1)/4 + 1;
484 int ipt = (itt-1)%4 + 1;
487 float xismt = ismt + 0.5;
489 float xiet = iet - 0.5;
490 float xipt = ipt - 0.5;
513 int itt = idItr->towerId();
514 float iTt = itt + 0.5 - 69;
536 int itt = idItr->towerId();
537 float iTt = itt + 0.5 - 69;
559 int chid = idItr->channelId();
563 int itt = idItr->towerId();
566 float xie = ie - 0.5;
567 float xip = ip - 0.5;
589 int chid = idItr->channelId();
593 int itt = idItr->towerId();
596 float xie = ie - 0.5;
597 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
static std::string sEB(const int ism)
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.
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
static int iSM(const int ism, const EcalSubdetector subdet)
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
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_