55 bool isHalfModule =
false;
66 meResidualX_ = dbe->book1D(hisID,
"Hit-to-Track Residual in X",100,-5.,5.);
69 meResidualY_ = dbe->book1D(hisID,
"Hit-to-Track Residual in Y",100,-5.,5.);
77 meCharge_onTrack_ = dbe->book1D(hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
81 meSize_onTrack_ = dbe->book1D(hisID,
"Total cluster size (on Track)",30,0.,30.);
93 meSize_offTrack_ = dbe->book1D(hisID,
"Total cluster size (off Track)",30,0.,30.);
98 meSizeX_onTrack_ = dbe->book1D(hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
102 meSizeY_onTrack_ = dbe->book1D(hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
106 meSizeX_offTrack_ = dbe->book1D(hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
110 meSizeY_offTrack_ = dbe->book1D(hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
113 delete theHistogramId;
118 char sladder[80]; sprintf(sladder,
"Ladder_%02i",DBladder);
119 hisID = src.
label() +
"_" + sladder;
120 if(isHalfModule) hisID +=
"H";
122 meResidualXLad_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in X",100,-5.,5.);
124 meResidualYLad_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Y",100,-5.,5.);
130 meCharge_onTrackLad_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
133 meSize_onTrackLad_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
139 meCharge_offTrackLad_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
142 meSize_offTrackLad_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
146 meSizeX_offTrackLad_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
149 meSizeY_offTrackLad_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
152 meSizeX_onTrackLad_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
155 meSizeY_onTrackLad_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
162 char slayer[80]; sprintf(slayer,
"Layer_%i",DBlayer);
163 hisID = src.
label() +
"_" + slayer;
164 meResidualXLay_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in X",100,-5.,5.);
166 meResidualYLay_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Y",100,-5.,5.);
172 meCharge_onTrackLay_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
175 meSize_onTrackLay_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
181 meCharge_offTrackLay_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
184 meSize_offTrackLay_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
188 meSizeX_onTrackLay_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
191 meSizeY_onTrackLay_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
194 meSizeX_offTrackLay_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
197 meSizeY_offTrackLay_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
204 char smodule[80]; sprintf(smodule,
"Ring_%i",DBmodule);
205 hisID = src.
label() +
"_" + smodule;
206 meResidualXPhi_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in X",100,-5.,5.);
208 meResidualYPhi_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Y",100,-5.,5.);
214 meCharge_onTrackPhi_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
217 meSize_onTrackPhi_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
223 meCharge_offTrackPhi_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
226 meSize_offTrackPhi_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
230 meSizeX_onTrackPhi_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
233 meSizeY_onTrackPhi_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
236 meSizeX_offTrackPhi_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
239 meSizeY_offTrackPhi_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
244 if(
type==4 && endcap){
246 char sblade[80]; sprintf(sblade,
"Blade_%02i",blade);
247 hisID = src.
label() +
"_" + sblade;
248 meResidualXBlade_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in X",100,-5.,5.);
250 meResidualYBlade_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Y",100,-5.,5.);
256 meCharge_onTrackBlade_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
259 meSize_onTrackBlade_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
268 meSize_offTrackBlade_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
272 meSizeX_onTrackBlade_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
275 meSizeY_onTrackBlade_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
278 meSizeX_offTrackBlade_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
281 meSizeY_offTrackBlade_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
286 if(
type==5 && endcap){
288 char sdisk[80]; sprintf(sdisk,
"Disk_%i",disk);
289 hisID = src.
label() +
"_" + sdisk;
290 meResidualXDisk_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in X",100,-5.,5.);
292 meResidualYDisk_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Y",100,-5.,5.);
298 meCharge_onTrackDisk_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
301 meSize_onTrackDisk_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
307 meCharge_offTrackDisk_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
310 meSize_offTrackDisk_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
314 meSizeX_onTrackDisk_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
317 meSizeY_onTrackDisk_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
320 meSizeX_offTrackDisk_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
323 meSizeY_offTrackDisk_ = dbe->book1D(
"sizeY_OffTrack_" + hisID,
"Cluster y-width (columns) (off Track)",15,0.,15.);
328 if(
type==6 && endcap){
331 char slab[80]; sprintf(slab,
"Panel_%i_Ring_%i",panel, module);
332 hisID = src.
label() +
"_" + slab;
333 meResidualXRing_ = dbe->book1D(
"residualX_"+hisID,
"Hit-to-Track Residual in X",100,-5.,5.);
335 meResidualYRing_ = dbe->book1D(
"residualY_"+hisID,
"Hit-to-Track Residual in Y",100,-5.,5.);
341 meCharge_onTrackRing_ = dbe->book1D(
"charge_OnTrack_" + hisID,
"Normalized Cluster charge (on Track)",100,0.,200.);
344 meSize_onTrackRing_ = dbe->book1D(
"size_OnTrack_" + hisID,
"Total cluster size (on Track)",30,0.,30.);
350 meCharge_offTrackRing_ = dbe->book1D(
"charge_OffTrack_" + hisID,
"Cluster charge (off Track)",100,0.,200.);
353 meSize_offTrackRing_ = dbe->book1D(
"size_OffTrack_" + hisID,
"Total cluster size (off Track)",30,0.,30.);
357 meSizeX_onTrackRing_ = dbe->book1D(
"sizeX_OnTrack_" + hisID,
"Cluster x-width (rows) (on Track)",10,0.,10.);
360 meSizeY_onTrackRing_ = dbe->book1D(
"sizeY_OnTrack_" + hisID,
"Cluster y-width (columns) (on Track)",15,0.,15.);
363 meSizeX_offTrackRing_ = dbe->book1D(
"sizeX_OffTrack_" + hisID,
"Cluster x-width (rows) (off Track)",10,0.,10.);
366 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_