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;
static constexpr const char * kVerbose
void drawMaps(TCanvas &canvas, const std::string &text="")
int signed_blade(const DetId &detid, bool phase_)
unsigned int pxbLayer(const DetId &id) const
int ringName() const
ring Id
int bladeName() const
blade id
int moduleName() const
module id (index in z)
unsigned int pxfModule(const DetId &id) const
DetCoordinates findDetCoordinates(const uint32_t &t_detid)
int signed_module(const DetId &detid, bool phase_)
std::vector< std::pair< int, int > > maskedForwardRocsToBins(DetCoordinates coord)
std::string to_string(const V &value)
static constexpr int n_layers
int signed_blade_panel(const DetId &detid, bool phase_)
std::array< std::shared_ptr< TH2D >, n_layers > h_bpix_maps
void drawBarrelMaps(TCanvas &canvas, const std::string &text="")
unsigned int pxbLadder(const DetId &id) const
void fillWholeModule(const uint32_t &detid, double value)
void draw_line(double x1, double x2, double y1, double y2, int width, int style, int color)
constexpr std::array< uint8_t, layerIndexSize > layer
const int nlad_list[n_layers]
void drawForwardMaps(TCanvas &canvas, const std::string &text="")
bool isBPixOuterLadder(const DetId &detid, bool isPhase0)
int quadrant(const DetId &detid, bool phase_)
static constexpr int n_rings
std::vector< std::pair< int, int > > maskedBarrelRocsToBins(DetCoordinates coord)
const int nxbins_list[n_rings]
std::array< std::shared_ptr< TH2D >, 4 > getLayerMaps()
Phase1PixelROCMaps(const char *option, const std::string &zAxisTitle="")
const int nybins_list[n_rings]
HalfCylinder halfCylinder() const
unsigned int pxfDisk(const DetId &id) const
int signed_disk(const DetId &detid, bool phase_)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
Log< level::Warning, true > LogPrint
int ring(const DetId &detid, bool phase_)
unsigned int pxfPanel(const DetId &id) const
static constexpr int numColumns
constexpr uint32_t rawId() const
get the raw id
void fillSelectedRocs(const uint32_t &detid, const std::bitset< 16 > &theROCs, double value)
TrackerTopology m_trackerTopo
std::array< std::shared_ptr< TH2D >, n_rings > h_fpix_maps
TrackerTopology fromTrackerParametersXMLFile(const std::string &xmlFileName)
int signed_ladder(const DetId &detid, bool phase_)
int ladderName() const
ladder id (index in phi)
static constexpr int numRows
void dress_plot(TPad *&canv, TH2 *h, int lay, int ring, int phase, bool half_shift, bool mark_zero, bool standard_palette)
std::array< std::shared_ptr< TH2D >, 2 > getRingMaps()
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.