44 for (
int i = 0;
i < 36;
i++) {
79 for (
int i = 0;
i < 36;
i++) {
93 dir =
prefixME_ +
"/EBPedestalOnlineTask";
100 for (
int i = 0;
i < 36;
i++) {
102 mePedMapG12_[
i] =
dqmStore_->
bookProfile2D(name, name, 85, 0., 85., 20, 0., 20., 4096, 0., 4096.,
"s");
114 if ( !
init_ )
return;
124 for (
int i = 0;
i < 36;
i++ ) {
153 int nebd = digis->size();
154 LogDebug(
"EBPedestalOnlineTask") <<
"event " <<
ievt_ <<
" digi collection size " << nebd;
161 int ie = (ic-1)/20 + 1;
162 int ip = (ic-1)%20 + 1;
166 float xie = ie - 0.5;
167 float xip = ip - 0.5;
173 for(
int i(0);
i < 10;
i++){
182 if(iMax != 5)
continue;
184 for (
int i = 0;
i < 3;
i++) {
194 float xval = float(adc);
196 if ( mePedMap ) mePedMap->
Fill(xie, xip, xval);
int adc(sample_type sample)
get the ADC sample (12 bits)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
void rmdir(const std::string &fullpath)
Some "id" conversions.
static std::string sEB(const unsigned ism)
EcalMGPASample sample(int i) const
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
int gainId() const
get the gainId (2 bits)
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
void tag(MonitorElement *me, unsigned int myTag)
virtual ~EBPedestalOnlineTask()
Destructor.
edm::InputTag EBDigiCollection_
void removeElement(const std::string &name)
MonitorElement * mePedMapG12_[36]
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
int ic() const
get ECAL/crystal number inside SM
void beginJob(void)
BeginJob.
static void initGeometry(const edm::EventSetup &setup, bool verbose=false)
void cleanup(void)
Cleanup.
EBPedestalOnlineTask(const edm::ParameterSet &ps)
Constructor.
static unsigned iSM(const unsigned ism, const EcalSubdetector subdet)
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)
int adc() const
get the ADC sample (12 bits)
MonitorElement * bookProfile2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, const char *option="s")