43 bool isHalfModule =
false;
64 meXYPos_ = iBooker.
book2D(hid,
"XY Position", 100, -1., 1, 100, -4, 4);
94 delete theHistogramId;
97 if (type == 1 && barrel) {
103 sprintf(sladder,
"Ladder_%02i", DBladder);
104 hid = src.
label() +
"_" + sladder;
111 meXYPosLad_ = iBooker.
book2D(
"xypos_" + hid,
"XY Position", 100, -1., 1, 100, -4, 4);
134 if (type == 2 && barrel) {
140 sprintf(slayer,
"Layer_%i", DBlayer);
141 hid = src.
label() +
"_" + slayer;
145 meXYPosLay_ = iBooker.
book2D(
"xypos_" + hid,
"XY Position", 100, -1., 1, 100, -4, 4);
169 if (type == 3 && barrel) {
175 sprintf(smodule,
"Ring_%i", DBmodule);
176 hid = src.
label() +
"_" + smodule;
180 meXYPosPhi_ = iBooker.
book2D(
"xypos_" + hid,
"XY Position", 100, -1., 1, 100, -4, 4);
203 if (type == 4 && endcap) {
210 sprintf(sblade,
"Blade_%02i", blade);
211 hid = src.
label() +
"_" + sblade;
227 if (type == 5 && endcap) {
234 sprintf(sdisk,
"Disk_%i", disk);
235 hid = src.
label() +
"_" + sdisk;
252 if (type == 6 && endcap) {
266 sprintf(slab,
"Panel_%i_Ring_%i", panel, module);
267 hid = src.
label() +
"_" + slab;
271 meXYPosRing_ = iBooker.
book2D(
"xypos_" + hid,
"XY Position", 100, -1., 1, 100, -4, 4);
298 const float &rechit_y,
333 if (ladon && barrel) {
348 if (layon && barrel) {
363 if (phion && barrel) {
378 if (bladeon && endcap) {
386 if (diskon && endcap) {
394 if (ringon && endcap) {
411 const int &nrec,
bool modon,
bool ladon,
bool layon,
bool phion,
bool bladeon,
bool diskon,
bool ringon) {
424 if (bladeon && endcap)
426 if (diskon && endcap)
428 if (ringon && endcap)
int plaquetteName() const
plaquetteId (in pannel)
MonitorElement * menRecHitsLay_
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_
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * meXYPosLay_px_
MonitorElement * meClustXRing_
MonitorElement * meXYPos_py_
MonitorElement * meErrorYLay_
MonitorElement * meXYPos_
std::string setHistoId(std::string variable, uint32_t &rawId)
Set Histogram Id.
int ladderName() const
ladder id (index in phi)
void book(const edm::ParameterSet &iConfig, DQMStore::IBooker &iBooker, const TrackerTopology *pTT, int type=0, bool twoD=true, bool reducedSet=false, bool isUpgrade=false)
Book histograms.
MonitorElement * meXYPosLad_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
int layerName() const
layer id
T getParameter(std::string const &) const
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
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
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_
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * meErrorXPhi_