60 for (
int sec=0; sec<16; sec++){
67 for (
int sec=0; sec<16; sec++){
85 meEtotalCASTOR =
m_dbe->
book1D(
"CASTOR Absolute RecHit Energy per event",
"CASTOR Absolute RecHit Energy per event",400,0,2000);
88 meEtotalSector =
m_dbe->
book1D(
"CASTOR Total RecHit Energy in phi-sectors per run",
"Total RecHit Energy in phi-sectors per run",16,0,16);
91 meEtotalEM =
m_dbe->
book1D(
"CASTOR Total EM RecHit Energy per event",
"Total EM RecHit Energy per event",300,0,1500);
94 meEtotalHAD =
m_dbe->
book1D(
"CASTOR Total HAD RecHit Energy per event",
"Total HAD RecHit Energy per event",300,0,1500);
97 meEtotalEMvsHAD =
m_dbe->
book1D(
"CASTOR Total Energy ratio EM to HAD per event",
"Total Energy ratio EM to HAD per event",50,0,5);
101 meEsector1 =
m_dbe->
book1D(
"RecHit Energy in phi-sector1 vs z-module",
"RecHit Energy in phi-sector1 vs z-module",14,0,14);
102 meEsector2 =
m_dbe->
book1D(
"RecHit Energy in phi-sector2 vs z-module",
"RecHit Energy in phi-sector2 vs z-module",14,0,14);
103 meEsector3 =
m_dbe->
book1D(
"RecHit Energy in phi-sector3 vs z-module",
"RecHit Energy in phi-sector3 vs z-module",14,0,14);
104 meEsector4 =
m_dbe->
book1D(
"RecHit Energy in phi-sector4 vs z-module",
"RecHit Energy in phi-sector4 vs z-module",14,0,14);
105 meEsector5 =
m_dbe->
book1D(
"RecHit Energy in phi-sector5 vs z-module",
"RecHit Energy in phi-sector5 vs z-module",14,0,14);
106 meEsector6 =
m_dbe->
book1D(
"RecHit Energy in phi-sector6 vs z-module",
"RecHit Energy in phi-sector6 vs z-module",14,0,14);
107 meEsector7 =
m_dbe->
book1D(
"RecHit Energy in phi-sector7 vs z-module",
"RecHit Energy in phi-sector7 vs z-module",14,0,14);
108 meEsector8 =
m_dbe->
book1D(
"RecHit Energy in phi-sector8 vs z-module",
"RecHit Energy in phi-sector8 vs z-module",14,0,14);
109 meEsector9 =
m_dbe->
book1D(
"RecHit Energy in phi-sector9 vs z-module",
"RecHit Energy in phi-sector9 vs z-module",14,0,14);
110 meEsector10 =
m_dbe->
book1D(
"RecHit Energy in phi-sector10 vs z-module",
"RecHit Energy in phi-sector10 vs z-module",14,0,14);
111 meEsector11 =
m_dbe->
book1D(
"RecHit Energy in phi-sector11 vs z-module",
"RecHit Energy in phi-sector11 vs z-module",14,0,14);
112 meEsector12 =
m_dbe->
book1D(
"RecHit Energy in phi-sector12 vs z-module",
"RecHit Energy in phi-sector12 vs z-module",14,0,14);
113 meEsector13 =
m_dbe->
book1D(
"RecHit Energy in phi-sector13 vs z-module",
"RecHit Energy in phi-sector13 vs z-module",14,0,14);
114 meEsector14 =
m_dbe->
book1D(
"RecHit Energy in phi-sector14 vs z-module",
"RecHit Energy in phi-sector14 vs z-module",14,0,14);
115 meEsector15 =
m_dbe->
book1D(
"RecHit Energy in phi-sector15 vs z-module",
"RecHit Energy in phi-sector15 vs z-module",14,0,14);
116 meEsector16 =
m_dbe->
book1D(
"RecHit Energy in phi-sector16 vs z-module",
"RecHit Energy in phi-sector16 vs z-module",14,0,14);
126 meEmodule1 =
m_dbe->
book1D(
"RecHit Energy in z-module1 vs phi-sector",
"RecHit Energy in z-module1 vs phi-sector",16,0,16);
127 meEmodule2 =
m_dbe->
book1D(
"RecHit Energy in z-module2 vs phi-sector",
"RecHit Energy in z-module2 vs phi-sector",16,0,16);
128 meEmodule3 =
m_dbe->
book1D(
"RecHit Energy in z-module3 vs phi-sector",
"RecHit Energy in z-module3 vs phi-sector",16,0,16);
129 meEmodule4 =
m_dbe->
book1D(
"RecHit Energy in z-module4 vs phi-sector",
"RecHit Energy in z-module4 vs phi-sector",16,0,16);
130 meEmodule5 =
m_dbe->
book1D(
"RecHit Energy in z-module5 vs phi-sector",
"RecHit Energy in z-module5 vs phi-sector",16,0,16);
131 meEmodule6 =
m_dbe->
book1D(
"RecHit Energy in z-module6 vs phi-sector",
"RecHit Energy in z-module6 vs phi-sector",16,0,16);
132 meEmodule7 =
m_dbe->
book1D(
"RecHit Energy in z-module7 vs phi-sector",
"RecHit Energy in z-module7 vs phi-sector",16,0,16);
133 meEmodule8 =
m_dbe->
book1D(
"RecHit Energy in z-module8 vs phi-sector",
"RecHit Energy in z-module8 vs phi-sector",16,0,16);
134 meEmodule9 =
m_dbe->
book1D(
"RecHit Energy in z-module9 vs phi-sector",
"RecHit Energy in z-module9 vs phi-sector",16,0,16);
135 meEmodule10 =
m_dbe->
book1D(
"RecHit Energy in z-module10 vs phi-sector",
"RecHit Energy in z-module10 vs phi-sector",16,0,16);
136 meEmodule11 =
m_dbe->
book1D(
"RecHit Energy in z-module11 vs phi-sector",
"RecHit Energy in z-module11 vs phi-sector",16,0,16);
137 meEmodule12 =
m_dbe->
book1D(
"RecHit Energy in z-module12 vs phi-sector",
"RecHit Energy in z-module12 vs phi-sector",16,0,16);
138 meEmodule13 =
m_dbe->
book1D(
"RecHit Energy in z-module13 vs phi-sector",
"RecHit Energy in z-module13 vs phi-sector",16,0,16);
139 meEmodule14 =
m_dbe->
book1D(
"RecHit Energy in z-module14 vs phi-sector",
"RecHit Energy in z-module14 vs phi-sector",16,0,16);
141 double EmaxSector=800;
142 double NbinsSector=200;
145 meEsectorEM1 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector1",
"RecHit Energy in EM phi-sector1",NbinsSector,0,EmaxSector);
146 meEsectorEM2 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector2",
"RecHit Energy in EM phi-sector2",NbinsSector,0,EmaxSector);
147 meEsectorEM3 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector3",
"RecHit Energy in EM phi-sector3",NbinsSector,0,EmaxSector);
148 meEsectorEM4 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector4",
"RecHit Energy in EM phi-sector4",NbinsSector,0,EmaxSector);
149 meEsectorEM5 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector5",
"RecHit Energy in EM phi-sector5",NbinsSector,0,EmaxSector);
150 meEsectorEM6 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector6",
"RecHit Energy in EM phi-sector6",NbinsSector,0,EmaxSector);
151 meEsectorEM7 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector7",
"RecHit Energy in EM phi-sector7",NbinsSector,0,EmaxSector);
152 meEsectorEM8 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector8",
"RecHit Energy in EM phi-sector8",NbinsSector,0,EmaxSector);
153 meEsectorEM9 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector9",
"RecHit Energy in EM phi-sector9",NbinsSector,0,EmaxSector);
154 meEsectorEM10 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector10",
"RecHit Energy in EM phi-sector10",NbinsSector,0,EmaxSector);
155 meEsectorEM11 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector11",
"RecHit Energy in EM phi-sector11",NbinsSector,0,EmaxSector);
156 meEsectorEM12 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector12",
"RecHit Energy in EM phi-sector12",NbinsSector,0,EmaxSector);
157 meEsectorEM13 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector13",
"RecHit Energy in EM phi-sector13",NbinsSector,0,EmaxSector);
158 meEsectorEM14 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector14",
"RecHit Energy in EM phi-sector14",NbinsSector,0,EmaxSector);
159 meEsectorEM15 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector15",
"RecHit Energy in EM phi-sector15",NbinsSector,0,EmaxSector);
160 meEsectorEM16 =
m_dbe->
book1D(
"RecHit Energy in EM phi-sector16",
"RecHit Energy in EM phi-sector16",NbinsSector,0,EmaxSector);
163 meEsectorHAD1 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector1",
"RecHit Energy in HAD phi-sector1",NbinsSector,0,EmaxSector);
164 meEsectorHAD2 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector2",
"RecHit Energy in HAD phi-sector2",NbinsSector,0,EmaxSector);
165 meEsectorHAD3 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector3",
"RecHit Energy in HAD phi-sector3",NbinsSector,0,EmaxSector);
166 meEsectorHAD4 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector4",
"RecHit Energy in HAD phi-sector4",NbinsSector,0,EmaxSector);
167 meEsectorHAD5 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector5",
"RecHit Energy in HAD phi-sector5",NbinsSector,0,EmaxSector);
168 meEsectorHAD6 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector6",
"RecHit Energy in HAD phi-sector6",NbinsSector,0,EmaxSector);
169 meEsectorHAD7 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector7",
"RecHit Energy in HAD phi-sector7",NbinsSector,0,EmaxSector);
170 meEsectorHAD8 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector8",
"RecHit Energy in HAD phi-sector8",NbinsSector,0,EmaxSector);
171 meEsectorHAD9 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector9",
"RecHit Energy in HAD phi-sector9",NbinsSector,0,EmaxSector);
172 meEsectorHAD10 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector10",
"RecHit Energy in HAD phi-sector10",NbinsSector,0,EmaxSector);
173 meEsectorHAD11 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector11",
"RecHit Energy in HAD phi-sector11",NbinsSector,0,EmaxSector);
174 meEsectorHAD12 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector12",
"RecHit Energy in HAD phi-sector12",NbinsSector,0,EmaxSector);
175 meEsectorHAD13 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector13",
"RecHit Energy in HAD phi-sector13",NbinsSector,0,EmaxSector);
176 meEsectorHAD14 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector14",
"RecHit Energy in HAD phi-sector14",NbinsSector,0,EmaxSector);
177 meEsectorHAD15 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector15",
"RecHit Energy in HAD phi-sector15",NbinsSector,0,EmaxSector);
178 meEsectorHAD16 =
m_dbe->
book1D(
"RecHit Energy in HAD phi-sector16",
"RecHit Energy in HAD phi-sector16",NbinsSector,0,EmaxSector);
354 if(
fVerbosity>0)
std::cout <<
"CastorHIMonitor::processEvent => DQMStore is not instantiated !!!"<<std::endl;
366 for (
int sec=0; sec<16; sec++) {
372 for (
int sec=0; sec<16; sec++)
385 if(castorHits.
size()>0)
388 if(
fVerbosity>0)
std::cout <<
"==>CastorHIMonitor::processEvent: castorHits.size()>0 !!!" << std::endl;
391 for (CASTORiter=castorHits.
begin(); CASTORiter!=castorHits.
end(); ++CASTORiter) {
400 energy = CASTORiter->energy();
401 time = CASTORiter->time();
404 std::cout<<
"CastorHIMonitor==> module:"<< module <<
" sector:"<<
sector <<
" energy:" <<
energy<<std::endl;
448 for (
int sec=0; sec<16;sec++){
493 for(
int sec=0; sec<16;sec++){
546 for(
int sec=0; sec<16;sec++)
558 for(
int sec=0; sec<16;sec++)
574 for(
int sec=0; sec<16;sec++)
584 for(
int sec=0; sec<16;sec++){
594 for(
int sec=0; sec<16;sec++)
601 else {
if(
fVerbosity>0)
std::cout<<
"CastorHIMonitor::processEvent NO Castor RecHits !!!"<<std::endl; }
611 if(castorDigis.
size()>0) {
621 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
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< T >::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
list mod
Load physics model.
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
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