54 bool isHalfModule =
false;
65 meResidualX_ = dbe->book1D(hisID,
"Hit-to-Track Residual in r-phi",100,-150,150);
68 meResidualY_ = dbe->book1D(hisID,
"Hit-to-Track Residual in Z",100,-300,300);
76 meCharge_onTrack_ = dbe->book1D(hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
80 meSize_onTrack_ = dbe->book1D(hisID,
"Total cluster size (on Track)",30,0.,30.);
92 meSize_offTrack_ = dbe->book1D(hisID,
"Total cluster size (off Track)",30,0.,30.);
97 meSizeX_onTrack_ = dbe->book1D(hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
101 meSizeY_onTrack_ = dbe->book1D(hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
105 meSizeX_offTrack_ = dbe->book1D(hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
109 meSizeY_offTrack_ = dbe->book1D(hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
112 delete theHistogramId;
117 char sladder[80]; sprintf(sladder,
"Ladder_%02i",DBladder);
118 hisID = src.
label() +
"_" + sladder;
119 if(isHalfModule) hisID +=
"H";
121 meResidualXLad_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in r-phi",100,-150,150);
123 meResidualYLad_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Z",100,-300,300);
129 meCharge_onTrackLad_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
132 meSize_onTrackLad_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
138 meCharge_offTrackLad_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
141 meSize_offTrackLad_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
145 meSizeX_offTrackLad_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
148 meSizeY_offTrackLad_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
151 meSizeX_onTrackLad_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
154 meSizeY_onTrackLad_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
161 char slayer[80]; sprintf(slayer,
"Layer_%i",DBlayer);
162 hisID = src.
label() +
"_" + slayer;
163 meResidualXLay_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in r-phi",100,-150,150);
165 meResidualYLay_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Z",100,-300,300);
171 meCharge_onTrackLay_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
174 meSize_onTrackLay_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
180 meCharge_offTrackLay_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
183 meSize_offTrackLay_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
187 meSizeX_onTrackLay_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
190 meSizeY_onTrackLay_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
193 meSizeX_offTrackLay_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
196 meSizeY_offTrackLay_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
203 char smodule[80]; sprintf(smodule,
"Ring_%i",DBmodule);
204 hisID = src.
label() +
"_" + smodule;
205 meResidualXPhi_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in r-phi",100,-150,150);
207 meResidualYPhi_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Z",100,-300,300);
213 meCharge_onTrackPhi_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
216 meSize_onTrackPhi_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
222 meCharge_offTrackPhi_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
225 meSize_offTrackPhi_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
229 meSizeX_onTrackPhi_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
232 meSizeY_onTrackPhi_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
235 meSizeX_offTrackPhi_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
238 meSizeY_offTrackPhi_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
243 if(
type==4 && endcap){
245 char sblade[80]; sprintf(sblade,
"Blade_%02i",blade);
246 hisID = src.
label() +
"_" + sblade;
247 meResidualXBlade_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in r-phi",100,-150,150);
249 meResidualYBlade_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Z",100,-300,300);
255 meCharge_onTrackBlade_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
258 meSize_onTrackBlade_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
267 meSize_offTrackBlade_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
271 meSizeX_onTrackBlade_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
274 meSizeY_onTrackBlade_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
277 meSizeX_offTrackBlade_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
280 meSizeY_offTrackBlade_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
285 if(
type==5 && endcap){
287 char sdisk[80]; sprintf(sdisk,
"Disk_%i",disk);
288 hisID = src.
label() +
"_" + sdisk;
289 meResidualXDisk_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in r-phi",100,-150,150);
291 meResidualYDisk_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Z",100,-300,300);
297 meCharge_onTrackDisk_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
300 meSize_onTrackDisk_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
306 meCharge_offTrackDisk_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
309 meSize_offTrackDisk_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
313 meSizeX_onTrackDisk_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
316 meSizeY_onTrackDisk_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
319 meSizeX_offTrackDisk_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
322 meSizeY_offTrackDisk_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
327 if(
type==6 && endcap){
330 char slab[80]; sprintf(slab,
"Panel_%i_Ring_%i",panel, module);
331 hisID = src.
label() +
"_" + slab;
332 meResidualXRing_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in r-phi",100,-150,150);
334 meResidualYRing_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Z",100,-300,300);
340 meCharge_onTrackRing_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
343 meSize_onTrackRing_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
349 meCharge_offTrackRing_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
352 meSize_offTrackRing_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
356 meSizeX_onTrackRing_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
359 meSizeY_onTrackRing_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
362 meSizeX_offTrackRing_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
365 meSizeY_offTrackRing_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
int plaquetteName() const
plaquetteId (in pannel)
T getParameter(std::string const &) const
MonitorElement * meResidualX_
MonitorElement * meSizeY_onTrackBlade_
MonitorElement * meSizeX_onTrack_
MonitorElement * meSizeY_offTrack_
MonitorElement * meCharge_onTrackDisk_
MonitorElement * meSizeY_offTrackLay_
MonitorElement * meSizeX_offTrackBlade_
int moduleName() const
module id (index in z)
MonitorElement * meSizeX_onTrackPhi_
MonitorElement * meNClusters_offTrackDisk_
MonitorElement * meSizeY_onTrackDisk_
MonitorElement * meSizeX_onTrackDisk_
MonitorElement * meSizeX_onTrackLad_
MonitorElement * meResidualXLad_
MonitorElement * meSize_offTrackLay_
MonitorElement * meNClusters_offTrackLay_
MonitorElement * meSizeY_onTrackRing_
MonitorElement * meNClusters_onTrackPhi_
MonitorElement * meSizeX_offTrack_
MonitorElement * meSizeY_onTrackLay_
MonitorElement * meNClusters_offTrackLad_
MonitorElement * meSizeY_onTrack_
MonitorElement * meResidualXPhi_
MonitorElement * meSizeX_offTrackLad_
MonitorElement * meSize_offTrackRing_
MonitorElement * meNClusters_offTrackPhi_
MonitorElement * meResidualXBlade_
MonitorElement * meSizeY_offTrackDisk_
int bladeName() const
blade id
MonitorElement * meNClusters_offTrack_
MonitorElement * meNClusters_onTrackLay_
MonitorElement * meSizeX_offTrackPhi_
MonitorElement * meSizeX_offTrackLay_
bool isHalfModule() const
full or half module
MonitorElement * meNClusters_onTrackLad_
MonitorElement * meSize_onTrackRing_
MonitorElement * meResidualXDisk_
MonitorElement * meResidualYPhi_
MonitorElement * meCharge_onTrackLay_
MonitorElement * meNClusters_onTrackDisk_
MonitorElement * meSizeX_offTrackRing_
MonitorElement * meSizeY_offTrackLad_
MonitorElement * meSizeX_offTrackDisk_
MonitorElement * meCharge_offTrackLad_
MonitorElement * meCharge_onTrackLad_
MonitorElement * meSizeY_offTrackPhi_
MonitorElement * meNClusters_offTrackRing_
MonitorElement * meResidualYBlade_
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * meCharge_offTrack_
MonitorElement * meCharge_offTrackLay_
MonitorElement * meResidualYRing_
MonitorElement * meCharge_onTrackBlade_
MonitorElement * meSizeY_offTrackBlade_
MonitorElement * meSizeX_onTrackRing_
std::string setHistoId(std::string variable, uint32_t &rawId)
Set Histogram Id.
MonitorElement * meCharge_offTrackPhi_
int ladderName() const
ladder id (index in phi)
MonitorElement * meResidualYLad_
MonitorElement * meResidualYLay_
MonitorElement * meResidualYDisk_
int layerName() const
layer id
MonitorElement * meSize_offTrackPhi_
MonitorElement * meNClusters_onTrackBlade_
MonitorElement * meCharge_offTrackRing_
MonitorElement * meSizeY_offTrackRing_
MonitorElement * meSizeY_onTrackLad_
MonitorElement * meNClusters_onTrackRing_
MonitorElement * meResidualY_
MonitorElement * meCharge_offTrackDisk_
MonitorElement * meSizeX_onTrackLay_
MonitorElement * meSize_onTrackLay_
int pannelName() const
pannel id
MonitorElement * meNClusters_onTrack_
MonitorElement * meSizeY_onTrackPhi_
MonitorElement * meCharge_offTrackBlade_
MonitorElement * meSize_onTrackLad_
int diskName() const
disk id
MonitorElement * meSize_onTrackBlade_
MonitorElement * meCharge_onTrackRing_
MonitorElement * meResidualXRing_
MonitorElement * meSize_onTrack_
MonitorElement * meSize_onTrackPhi_
MonitorElement * meSizeX_onTrackBlade_
MonitorElement * meSize_offTrack_
MonitorElement * meSize_offTrackLad_
MonitorElement * meCharge_onTrack_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * meSize_offTrackBlade_
MonitorElement * meSize_offTrackDisk_
MonitorElement * meSize_onTrackDisk_
MonitorElement * meNClusters_offTrackBlade_
MonitorElement * meResidualXLay_
MonitorElement * meCharge_onTrackPhi_