55 bool isHalfModule =
false;
59 }
else if (isUpgrade) {
117 delete theHistogramId;
120 if(type==1 && barrel){
124 char sladder[80]; sprintf(sladder,
"Ladder_%02i",DBladder);
125 hisID = src.
label() +
"_" + sladder;
126 if(isHalfModule) hisID +=
"H";
166 if(type==2 && barrel){
170 char slayer[80]; sprintf(slayer,
"Layer_%i",DBlayer);
171 hisID = src.
label() +
"_" + slayer;
210 if(type==3 && barrel){
214 char smodule[80]; sprintf(smodule,
"Ring_%i",DBmodule);
215 hisID = src.
label() +
"_" + smodule;
254 if(type==4 && endcap){
258 char sblade[80]; sprintf(sblade,
"Blade_%02i",blade);
259 hisID = src.
label() +
"_" + sblade;
298 if(type==5 && endcap){
303 char sdisk[80]; sprintf(sdisk,
"Disk_%i",disk);
304 hisID = src.
label() +
"_" + sdisk;
343 if(type==6 && endcap){
354 char slab[80]; sprintf(slab,
"Panel_%i_Ring_%i",panel, module);
355 hisID = src.
label() +
"_" + slab;
420 if(bladeon && endcap){
425 if(diskon && endcap){
430 if(ringon && endcap){
437 void SiPixelTrackResidualModule::fill(
const SiPixelCluster &clust,
bool onTrack,
double corrCharge,
bool reducedSet,
bool modon,
bool ladon,
bool layon,
bool phion,
bool bladeon,
bool diskon,
bool ringon){
443 if(onTrack) charge = corrCharge;
445 int sizeX = clust.
sizeX();
446 int sizeY = clust.
sizeY();
481 if(endcap && bladeon){
489 if(endcap && diskon){
497 if(endcap && ringon){
540 if(endcap && bladeon){
548 if(endcap && diskon){
556 if(endcap && ringon){
574 bool fillOn =
false;
if(onTrack>0) fillOn =
true;
575 bool fillOff =
false;
if(offTrack>0) fillOff =
true;
594 if(bladeon && endcap){
598 if(diskon && endcap){
602 if(ringon && endcap){
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_
bool isHalfModule() const
full or half module
MonitorElement * meNClusters_offTrackLad_
MonitorElement * meSizeY_onTrack_
MonitorElement * meResidualXPhi_
MonitorElement * meSizeX_offTrackLad_
MonitorElement * meSize_offTrackRing_
int plaquetteName() const
plaquetteId (in pannel)
MonitorElement * meNClusters_offTrackPhi_
MonitorElement * meResidualXBlade_
MonitorElement * meSizeY_offTrackDisk_
int bladeName() const
blade id
MonitorElement * meNClusters_offTrack_
SiPixelTrackResidualModule()
MonitorElement * meNClusters_onTrackLay_
void nfill(int onTrack, int offTrack, bool reducedSet, bool modon, bool ladon, bool layon, bool phion, bool bladeon, bool diskon, bool ringon)
MonitorElement * meSizeX_offTrackPhi_
MonitorElement * meSizeX_offTrackLay_
bool isHalfModule() const
full or half module
MonitorElement * meNClusters_onTrackLad_
MonitorElement * meSize_onTrackRing_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * meResidualXDisk_
MonitorElement * meResidualYPhi_
MonitorElement * meCharge_onTrackLay_
MonitorElement * meNClusters_onTrackDisk_
MonitorElement * meSizeX_offTrackRing_
MonitorElement * meSizeY_offTrackLad_
MonitorElement * book1D(Args &&...args)
MonitorElement * meSizeX_offTrackDisk_
MonitorElement * meCharge_offTrackLad_
void book(const edm::ParameterSet &, DQMStore::IBooker &, bool reducedSet=true, int type=0, bool isUpgrade=false)
MonitorElement * meCharge_onTrackLad_
MonitorElement * meSizeY_offTrackPhi_
MonitorElement * meNClusters_offTrackRing_
int bladeName() const
blade id
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_
int diskName() const
disk id
MonitorElement * meResidualYRing_
MonitorElement * meCharge_onTrackBlade_
void fill(const Measurement2DVector &, bool reducedSet=true, bool modon=true, bool ladon=true, bool layon=true, bool phion=true, bool bladeon=true, bool diskon=true, bool ringon=true)
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_
int ladderName() const
ladder id (index in phi)
int moduleName() const
module id (index in z)
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_
Pixel cluster – collection of neighboring pixels above threshold.
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_
int pannelName() const
pannel id
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_
int layerName() const
layer id
tuple size
Write out results.
MonitorElement * meNClusters_offTrackBlade_
MonitorElement * meResidualXLay_
~SiPixelTrackResidualModule()
MonitorElement * meCharge_onTrackPhi_