73 for (
int sec=0; sec<16; sec++)
81 for (
int sec=0; sec<16; sec++)
114 meEtotalCASTOR =
m_dbe->
book1D(
"CASTOR Absolute RecHit Energy per event",
"CASTOR Absolute RecHit Energy per event",400,0,2000);
117 meEtotalSector =
m_dbe->
book1D(
"CASTOR Total RecHit Energy in phi-sectors per run",
"Total RecHit Energy in phi-sectors per run",16,0,16);
120 meEtotalEM =
m_dbe->
book1D(
"CASTOR Total EM RecHit Energy per event",
"Total EM RecHit Energy per event",300,0,1500);
123 meEtotalHAD =
m_dbe->
book1D(
"CASTOR Total HAD RecHit Energy per event",
"Total HAD RecHit Energy per event",300,0,1500);
126 meEtotalEMvsHAD =
m_dbe->
book1D(
"CASTOR Total Energy ratio EM to HAD per event",
"Total Energy ratio EM to HAD per event",50,0,5);
130 meEsector1 =
m_dbe->
book1D(
"RecHit Energy in phi-sector1 vs z-module",
"RecHit Energy in phi-sector1 vs z-module",14,0,14);
131 meEsector2 =
m_dbe->
book1D(
"RecHit Energy in phi-sector2 vs z-module",
"RecHit Energy in phi-sector2 vs z-module",14,0,14);
132 meEsector3 =
m_dbe->
book1D(
"RecHit Energy in phi-sector3 vs z-module",
"RecHit Energy in phi-sector3 vs z-module",14,0,14);
133 meEsector4 =
m_dbe->
book1D(
"RecHit Energy in phi-sector4 vs z-module",
"RecHit Energy in phi-sector4 vs z-module",14,0,14);
134 meEsector5 =
m_dbe->
book1D(
"RecHit Energy in phi-sector5 vs z-module",
"RecHit Energy in phi-sector5 vs z-module",14,0,14);
135 meEsector6 =
m_dbe->
book1D(
"RecHit Energy in phi-sector6 vs z-module",
"RecHit Energy in phi-sector6 vs z-module",14,0,14);
136 meEsector7 =
m_dbe->
book1D(
"RecHit Energy in phi-sector7 vs z-module",
"RecHit Energy in phi-sector7 vs z-module",14,0,14);
137 meEsector8 =
m_dbe->
book1D(
"RecHit Energy in phi-sector8 vs z-module",
"RecHit Energy in phi-sector8 vs z-module",14,0,14);
138 meEsector9 =
m_dbe->
book1D(
"RecHit Energy in phi-sector9 vs z-module",
"RecHit Energy in phi-sector9 vs z-module",14,0,14);
139 meEsector10 =
m_dbe->
book1D(
"RecHit Energy in phi-sector10 vs z-module",
"RecHit Energy in phi-sector10 vs z-module",14,0,14);
140 meEsector11 =
m_dbe->
book1D(
"RecHit Energy in phi-sector11 vs z-module",
"RecHit Energy in phi-sector11 vs z-module",14,0,14);
141 meEsector12 =
m_dbe->
book1D(
"RecHit Energy in phi-sector12 vs z-module",
"RecHit Energy in phi-sector12 vs z-module",14,0,14);
142 meEsector13 =
m_dbe->
book1D(
"RecHit Energy in phi-sector13 vs z-module",
"RecHit Energy in phi-sector13 vs z-module",14,0,14);
143 meEsector14 =
m_dbe->
book1D(
"RecHit Energy in phi-sector14 vs z-module",
"RecHit Energy in phi-sector14 vs z-module",14,0,14);
144 meEsector15 =
m_dbe->
book1D(
"RecHit Energy in phi-sector15 vs z-module",
"RecHit Energy in phi-sector15 vs z-module",14,0,14);
145 meEsector16 =
m_dbe->
book1D(
"RecHit Energy in phi-sector16 vs z-module",
"RecHit Energy in phi-sector16 vs z-module",14,0,14);
155 meEmodule1 =
m_dbe->
book1D(
"RecHit Energy in z-module1 vs phi-sector",
"RecHit Energy in z-module1 vs phi-sector",16,0,16);
156 meEmodule2 =
m_dbe->
book1D(
"RecHit Energy in z-module2 vs phi-sector",
"RecHit Energy in z-module2 vs phi-sector",16,0,16);
157 meEmodule3 =
m_dbe->
book1D(
"RecHit Energy in z-module3 vs phi-sector",
"RecHit Energy in z-module3 vs phi-sector",16,0,16);
158 meEmodule4 =
m_dbe->
book1D(
"RecHit Energy in z-module4 vs phi-sector",
"RecHit Energy in z-module4 vs phi-sector",16,0,16);
159 meEmodule5 =
m_dbe->
book1D(
"RecHit Energy in z-module5 vs phi-sector",
"RecHit Energy in z-module5 vs phi-sector",16,0,16);
160 meEmodule6 =
m_dbe->
book1D(
"RecHit Energy in z-module6 vs phi-sector",
"RecHit Energy in z-module6 vs phi-sector",16,0,16);
161 meEmodule7 =
m_dbe->
book1D(
"RecHit Energy in z-module7 vs phi-sector",
"RecHit Energy in z-module7 vs phi-sector",16,0,16);
162 meEmodule8 =
m_dbe->
book1D(
"RecHit Energy in z-module8 vs phi-sector",
"RecHit Energy in z-module8 vs phi-sector",16,0,16);
163 meEmodule9 =
m_dbe->
book1D(
"RecHit Energy in z-module9 vs phi-sector",
"RecHit Energy in z-module9 vs phi-sector",16,0,16);
164 meEmodule10 =
m_dbe->
book1D(
"RecHit Energy in z-module10 vs phi-sector",
"RecHit Energy in z-module10 vs phi-sector",16,0,16);
165 meEmodule11 =
m_dbe->
book1D(
"RecHit Energy in z-module11 vs phi-sector",
"RecHit Energy in z-module11 vs phi-sector",16,0,16);
166 meEmodule12 =
m_dbe->
book1D(
"RecHit Energy in z-module12 vs phi-sector",
"RecHit Energy in z-module12 vs phi-sector",16,0,16);
167 meEmodule13 =
m_dbe->
book1D(
"RecHit Energy in z-module13 vs phi-sector",
"RecHit Energy in z-module13 vs phi-sector",16,0,16);
168 meEmodule14 =
m_dbe->
book1D(
"RecHit Energy in z-module14 vs phi-sector",
"RecHit Energy in z-module14 vs phi-sector",16,0,16);
170 double EmaxSector=800;
171 double NbinsSector=200;
174 meEsectorEM1 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector1",
"RecHit Energy in EM phi-sector1",NbinsSector,0,EmaxSector);
175 meEsectorEM2 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector2",
"RecHit Energy in EM phi-sector2",NbinsSector,0,EmaxSector);
176 meEsectorEM3 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector3",
"RecHit Energy in EM phi-sector3",NbinsSector,0,EmaxSector);
177 meEsectorEM4 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector4",
"RecHit Energy in EM phi-sector4",NbinsSector,0,EmaxSector);
178 meEsectorEM5 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector5",
"RecHit Energy in EM phi-sector5",NbinsSector,0,EmaxSector);
179 meEsectorEM6 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector6",
"RecHit Energy in EM phi-sector6",NbinsSector,0,EmaxSector);
180 meEsectorEM7 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector7",
"RecHit Energy in EM phi-sector7",NbinsSector,0,EmaxSector);
181 meEsectorEM8 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector8",
"RecHit Energy in EM phi-sector8",NbinsSector,0,EmaxSector);
182 meEsectorEM9 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector9",
"RecHit Energy in EM phi-sector9",NbinsSector,0,EmaxSector);
183 meEsectorEM10 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector10",
"RecHit Energy in EM phi-sector10",NbinsSector,0,EmaxSector);
184 meEsectorEM11 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector11",
"RecHit Energy in EM phi-sector11",NbinsSector,0,EmaxSector);
185 meEsectorEM12 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector12",
"RecHit Energy in EM phi-sector12",NbinsSector,0,EmaxSector);
186 meEsectorEM13 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector13",
"RecHit Energy in EM phi-sector13",NbinsSector,0,EmaxSector);
187 meEsectorEM14 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector14",
"RecHit Energy in EM phi-sector14",NbinsSector,0,EmaxSector);
188 meEsectorEM15 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector15",
"RecHit Energy in EM phi-sector15",NbinsSector,0,EmaxSector);
189 meEsectorEM16 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector16",
"RecHit Energy in EM phi-sector16",NbinsSector,0,EmaxSector);
192 meEsectorHAD1 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector1",
"RecHit Energy in HAD phi-sector1",NbinsSector,0,EmaxSector);
193 meEsectorHAD2 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector2",
"RecHit Energy in HAD phi-sector2",NbinsSector,0,EmaxSector);
194 meEsectorHAD3 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector3",
"RecHit Energy in HAD phi-sector3",NbinsSector,0,EmaxSector);
195 meEsectorHAD4 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector4",
"RecHit Energy in HAD phi-sector4",NbinsSector,0,EmaxSector);
196 meEsectorHAD5 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector5",
"RecHit Energy in HAD phi-sector5",NbinsSector,0,EmaxSector);
197 meEsectorHAD6 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector6",
"RecHit Energy in HAD phi-sector6",NbinsSector,0,EmaxSector);
198 meEsectorHAD7 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector7",
"RecHit Energy in HAD phi-sector7",NbinsSector,0,EmaxSector);
199 meEsectorHAD8 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector8",
"RecHit Energy in HAD phi-sector8",NbinsSector,0,EmaxSector);
200 meEsectorHAD9 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector9",
"RecHit Energy in HAD phi-sector9",NbinsSector,0,EmaxSector);
201 meEsectorHAD10 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector10",
"RecHit Energy in HAD phi-sector10",NbinsSector,0,EmaxSector);
202 meEsectorHAD11 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector11",
"RecHit Energy in HAD phi-sector11",NbinsSector,0,EmaxSector);
203 meEsectorHAD12 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector12",
"RecHit Energy in HAD phi-sector12",NbinsSector,0,EmaxSector);
204 meEsectorHAD13 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector13",
"RecHit Energy in HAD phi-sector13",NbinsSector,0,EmaxSector);
205 meEsectorHAD14 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector14",
"RecHit Energy in HAD phi-sector14",NbinsSector,0,EmaxSector);
206 meEsectorHAD15 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector15",
"RecHit Energy in HAD phi-sector15",NbinsSector,0,EmaxSector);
207 meEsectorHAD16 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector16",
"RecHit Energy in HAD phi-sector16",NbinsSector,0,EmaxSector);
356 if(
fVerbosity>0)
std::cout <<
"CastorHIMonitor::beginRun - NO DQMStore service" << std::endl;
373 if(
fVerbosity>0)
std::cout <<
"CastorHIMonitor::processEvent => DQMStore is not instantiated !!!"<<std::endl;
385 for (
int sec=0; sec<16; sec++) {
391 for (
int sec=0; sec<16; sec++)
404 if(castorHits.
size()>0)
407 if(
fVerbosity>1)
std::cout <<
"==>CastorHIMonitor::processEvent: castorHits.size()>0 !!!" << std::endl;
410 for (CASTORiter=castorHits.
begin(); CASTORiter!=castorHits.
end(); ++CASTORiter) {
419 energy = CASTORiter->energy();
420 time = CASTORiter->time();
423 std::cout<<
"CastorHIMonitor==> module:"<< module <<
" sector:"<<
sector <<
" energy:" <<
energy<<std::endl;
467 for (
int sec=0; sec<16;sec++){
512 for(
int sec=0; sec<16;sec++){
565 for(
int sec=0; sec<16;sec++)
577 for(
int sec=0; sec<16;sec++)
593 for(
int sec=0; sec<16;sec++)
603 for(
int sec=0; sec<16;sec++){
613 for(
int sec=0; sec<16;sec++)
620 else {
if(
fVerbosity>0)
std::cout<<
"CastorHIMonitor::processEvent NO Castor RecHits !!!"<<std::endl; }
630 if(castorDigis.
size()>0) {
640 else {
if(
fVerbosity>0)
std::cout<<
"CastorHIMonitor::processEvent NO Castor Digis !!!"<<std::endl; }
MonitorElement * meEsectorEM2
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meEsectorEMvsHAD15
MonitorElement * meEsectorHAD10
MonitorElement * meEmodule3
void processEvent(const CastorRecHitCollection &castorHits, const CastorDigiCollection &cast, const CastorDbService &cond)
MonitorElement * meEsectorEMvsHAD7
virtual void setup(const edm::ParameterSet &ps, DQMStore *dbe)
MonitorElement * meEmodule8
MonitorElement * meEsectorEM6
MonitorElement * meEsectorEMvsHAD16
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * meEsector14
MonitorElement * meEsectorHAD16
void beginRun(const edm::EventSetup &iSetup)
MonitorElement * meEsector15
MonitorElement * meEsector4
MonitorElement * meEsector5
MonitorElement * meEsectorHAD1
MonitorElement * meEsectorHAD3
MonitorElement * meEsectorEM3
MonitorElement * meEsectorEMvsHAD1
MonitorElement * meEsectorEM9
MonitorElement * meEmodule10
float energyTotalChannel[14][16]
MonitorElement * meEtotalEM
std::vector< CastorRecHit >::const_iterator const_iterator
MonitorElement * meEsectorEMvsHAD11
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
MonitorElement * meEmodule14
MonitorElement * meEsector10
MonitorElement * meEsectorEM8
MonitorElement * meEmodule7
MonitorElement * meEsectorEMvsHAD12
float energyTotalSector[16]
MonitorElement * meEmodule13
MonitorElement * meEsectorEM16
MonitorElement * meEsectorEMvsHAD9
MonitorElement * meEsectorEMvsHAD3
MonitorElement * meEsector12
MonitorElement * meEsectorEM11
MonitorElement * meEsectorHAD14
MonitorElement * meEsector8
MonitorElement * meEsectorHAD4
MonitorElement * meEsector2
MonitorElement * meEsectorHAD2
MonitorElement * meEsectorEM12
MonitorElement * meEmodule4
MonitorElement * meEsectorHAD15
MonitorElement * meEmodule1
MonitorElement * meEsectorEMvsHAD5
MonitorElement * meEsector11
MonitorElement * meEsectorEM13
float energyHADsector[16]
MonitorElement * meEsectorEMvsHAD13
MonitorElement * meEsectorHAD8
MonitorElement * meEmodule6
const_iterator end() const
MonitorElement * meEsector16
MonitorElement * meEsectorEM5
MonitorElement * meEmodule2
MonitorElement * meEsector6
MonitorElement * meEmodule11
MonitorElement * meEsectorHAD7
MonitorElement * meEsectorEMvsHAD6
float energyInEachChannel[14][16]
MonitorElement * meEmodule12
MonitorElement * meEmodule5
MonitorElement * meEsectorEM4
MonitorElement * meEsectorEMvsHAD8
MonitorElement * meEsectorHAD13
MonitorElement * meEsectorEM7
MonitorElement * meEtotalSector
MonitorElement * meEsectorHAD12
MonitorElement * meEsectorEM15
MonitorElement * meEsectorEMvsHAD10
MonitorElement * meEsector3
MonitorElement * meEsectorEMvsHAD4
MonitorElement * meEsectorEMvsHAD2
MonitorElement * meEsectorHAD5
MonitorElement * meEtotalCASTOR
MonitorElement * meEsector1
MonitorElement * meEtotalHAD
MonitorElement * meEmodule9
MonitorElement * bookInt(const char *name)
Book int.
MonitorElement * meEsector9
T mod(const T &a, const T &b)
MonitorElement * meEsectorEM14
MonitorElement * meEtotalEMvsHAD
MonitorElement * meEsector13
void setCurrentFolder(const std::string &fullpath)
MonitorElement * meEsectorEMvsHAD14
const_iterator begin() const
MonitorElement * meEsectorHAD6
MonitorElement * meEsectorEM1
MonitorElement * meEsectorHAD11
MonitorElement * meEsectorHAD9
MonitorElement * meEsectorEM10
MonitorElement * meEsector7