51 bool twoD,
bool reducedSet,
bool isUpgrade) {
60 bool isHalfModule =
false;
115 delete theHistogramId;
118 if(type==1 && barrel){
123 char sladder[80]; sprintf(sladder,
"Ladder_%02i",DBladder);
124 hid = src.
label() +
"_" + sladder;
125 if(isHalfModule) hid +=
"H";
155 if(type==2 && barrel){
161 char slayer[80]; sprintf(slayer,
"Layer_%i",DBlayer);
162 hid = src.
label() +
"_" + slayer;
193 if(type==3 && barrel){
198 char smodule[80]; sprintf(smodule,
"Ring_%i",DBmodule);
199 hid = src.
label() +
"_" + smodule;
229 if(type==4 && endcap){
235 char sblade[80]; sprintf(sblade,
"Blade_%02i",blade);
236 hid = src.
label() +
"_" + sblade;
253 if(type==5 && endcap){
259 char sdisk[80]; sprintf(sdisk,
"Disk_%i",disk);
260 hid = src.
label() +
"_" + sdisk;
278 if(type==6 && endcap){
291 char slab[80]; sprintf(slab,
"Panel_%i_Ring_%i",panel, module);
292 hid = src.
label() +
"_" + slab;
328 const float& lerr_x,
const float& lerr_y,
329 bool modon,
bool ladon,
bool layon,
bool phion,
330 bool bladeon,
bool diskon,
bool ringon,
331 bool twoD,
bool reducedSet) {
398 if(bladeon && endcap){
406 if(diskon && endcap){
414 if(ringon && endcap){
int plaquetteName() const
plaquetteId (in pannel)
MonitorElement * menRecHitsLay_
T getParameter(std::string const &) const
MonitorElement * meXYPosPhi_px_
MonitorElement * meClustYRing_
MonitorElement * meClustXLay_
MonitorElement * meXYPosPhi_
void nfill(const int &nrec, bool modon=true, bool ladon=false, bool layon=false, bool phion=false, bool bladeon=false, bool diskon=false, bool ringon=false)
MonitorElement * meXYPosPhi_py_
MonitorElement * meErrorXDisk_
MonitorElement * meClustYPhi_
SiPixelRecHitModule()
Default constructor.
int moduleName() const
module id (index in z)
MonitorElement * meXYPosLay_py_
MonitorElement * meClustXDisk_
MonitorElement * meClustYDisk_
MonitorElement * meErrorY_
MonitorElement * meErrorYRing_
~SiPixelRecHitModule()
Destructor.
MonitorElement * meClustXLad_
MonitorElement * meErrorYPhi_
MonitorElement * meXYPosRing_px_
MonitorElement * meXYPosLay_
MonitorElement * meErrorXLad_
MonitorElement * meClustX_
MonitorElement * meClustXBlade_
MonitorElement * meClustXPhi_
MonitorElement * meXYPosLad_px_
int bladeName() const
blade id
MonitorElement * meErrorXBlade_
bool isHalfModule() const
full or half module
MonitorElement * meXYPosRing_
MonitorElement * meErrorYLad_
MonitorElement * menRecHitsRing_
MonitorElement * book1D(Args &&...args)
MonitorElement * meXYPosLay_px_
MonitorElement * meClustXRing_
MonitorElement * meXYPos_py_
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * meErrorYLay_
MonitorElement * meXYPos_
std::string setHistoId(std::string variable, uint32_t &rawId)
Set Histogram Id.
void book(const edm::ParameterSet &iConfig, DQMStore::IBooker &iBooker, const edm::EventSetup &iSetup, int type=0, bool twoD=true, bool reducedSet=false, bool isUpgrade=false)
Book histograms.
int ladderName() const
ladder id (index in phi)
MonitorElement * book2D(Args &&...args)
MonitorElement * meXYPosLad_
int layerName() const
layer id
MonitorElement * meErrorYDisk_
MonitorElement * menRecHitsDisk_
MonitorElement * meErrorX_
MonitorElement * menRecHitsPhi_
int pannelName() const
pannel id
MonitorElement * menRecHitsLad_
MonitorElement * meClustYLad_
MonitorElement * meClustY_
MonitorElement * meXYPosRing_py_
int diskName() const
disk id
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
T const * product() const
MonitorElement * meXYPosLad_py_
MonitorElement * meErrorXLay_
MonitorElement * menRecHitsBlade_
MonitorElement * meClustYBlade_
void fill(const float &rechit_x, const float &rechit_y, const int &sizeX, const int &sizeY, const float &lerr_x, const float &lerr_y, bool modon=true, bool ladon=false, bool layon=false, bool phion=false, bool bladeon=false, bool diskon=false, bool ringon=false, bool twoD=true, bool reducedSet=false)
Fill histograms.
MonitorElement * meClustYLay_
MonitorElement * meXYPos_px_
MonitorElement * meErrorXRing_
MonitorElement * meErrorYBlade_
MonitorElement * meErrorXPhi_