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 TCanvas& 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;
88 for (
unsigned int lay = 1; lay <=
n_layers; lay++) {
199 }
else if (phase_ == 1) {
240 bool isOuter =
false;
245 isOuter = !odd_ladder;
247 isOuter = odd_ladder;
250 isOuter = odd_ladder;
252 isOuter = !odd_ladder;
void dress_plot(TCanvas &canv, TH2 *h, int lay, int ring, int phase, bool half_shift, bool mark_zero, bool standard_palette)
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)
void drawMaps(TCanvas &canvas)
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
Phase1PixelROCMaps(const char *option)
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_)
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)
void drawForwardMaps(TCanvas &canvas)
constexpr uint32_t rawId() const
get the raw id
void drawBarrelMaps(TCanvas &canvas)
static constexpr const char * kVerbose
DetCoordinates findDetCoordinates(const uint32_t &t_detid)
bool isBPixOuterLadder(const DetId &detid, bool isPhase0)
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