Go to the documentation of this file. 1 #ifndef DQM_TRACKERREMAPPER_PHASE1PIXELROCMAPS_H
2 #define DQM_TRACKERREMAPPER_PHASE1PIXELROCMAPS_H
12 #include <fmt/printf.h>
14 #include <boost/tokenizer.hpp>
15 #include <boost/range/adaptor/indexed.hpp>
23 #ifndef PHASE1PIXELMAP_STANDALONE
24 #define LOGDEBUG(x) LogDebug(x)
26 #define LOGDEBUG(x) std::cout << x << ": "
35 TPad*& canv, TH2*
h,
int lay,
int ring,
int phase,
bool half_shift,
bool mark_zero,
bool standard_palette);
69 <<
" disk: " <<
m_s_disk << std::endl;
90 for (
unsigned int lay = 1; lay <=
n_layers; lay++) {
211 }
else if (phase_ == 1) {
252 bool isOuter =
false;
257 isOuter = !odd_ladder;
259 isOuter = odd_ladder;
262 isOuter = odd_ladder;
264 isOuter = !odd_ladder;
void dress_plot(TPad *&canv, TH2 *h, int lay, int ring, int phase, bool half_shift, bool mark_zero, bool standard_palette)
void drawBarrelMaps(TCanvas &canvas, const std::string &text="")
std::array< std::shared_ptr< TH2D >, n_rings > h_fpix_maps
int ring(const DetId &detid, bool phase_)
std::array< std::shared_ptr< TH2D >, 4 > getLayerMaps()
static constexpr int numColumns
void fillWholeModule(const uint32_t &detid, double value)
unsigned int pxbLadder(const DetId &id) const
Log< level::Warning, true > LogPrint
void draw_line(double x1, double x2, double y1, double y2, int width, int style, int color)
HalfCylinder halfCylinder() const
int signed_blade(const DetId &detid, bool phase_)
int bladeName() const
blade id
unsigned int pxbLayer(const DetId &id) const
unsigned int pxfPanel(const DetId &id) const
const int nybins_list[n_rings]
std::array< std::shared_ptr< TH2D >, 2 > getRingMaps()
TrackerTopology m_trackerTopo
int quadrant(const DetId &detid, bool phase_)
std::vector< std::pair< int, int > > maskedForwardRocsToBins(DetCoordinates coord)
int ladderName() const
ladder id (index in phi)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
constexpr std::array< uint8_t, layerIndexSize > layer
int signed_ladder(const DetId &detid, bool phase_)
std::array< std::shared_ptr< TH2D >, n_layers > h_bpix_maps
void drawForwardMaps(TCanvas &canvas, const std::string &text="")
const int nxbins_list[n_rings]
void fillSelectedRocs(const uint32_t &detid, const std::bitset< 16 > &theROCs, double value)
unsigned int pxfModule(const DetId &id) const
unsigned int pxfDisk(const DetId &id) const
int signed_module(const DetId &detid, bool phase_)
void drawMaps(TCanvas &canvas, const std::string &text="")
static constexpr int n_layers
int moduleName() const
module id (index in z)
int signed_disk(const DetId &detid, bool phase_)
std::vector< std::pair< int, int > > maskedBarrelRocsToBins(DetCoordinates coord)
constexpr uint32_t rawId() const
get the raw id
static constexpr const char * kVerbose
DetCoordinates findDetCoordinates(const uint32_t &t_detid)
bool isBPixOuterLadder(const DetId &detid, bool isPhase0)
Phase1PixelROCMaps(const char *option, const std::string &zAxisTitle="")
TrackerTopology fromTrackerParametersXMLFile(const std::string &xmlFileName)
static constexpr int numRows
const int nlad_list[n_layers]
int signed_blade_panel(const DetId &detid, bool phase_)
int ringName() const
ring Id
static constexpr int n_rings