1 #ifndef DQM_TRACKERREMAPPER_PHASE1PIXELROCMAPS_H 2 #define DQM_TRACKERREMAPPER_PHASE1PIXELROCMAPS_H 13 #include <fmt/printf.h> 15 #include <boost/tokenizer.hpp> 16 #include <boost/range/adaptor/indexed.hpp> 24 #ifndef PHASE1PIXELMAP_STANDALONE 25 #define LOGDEBUG(x) LogDebug(x) 27 #define LOGDEBUG(x) std::cout << x << ": " 36 TPad*& canv, TH2*
h,
int lay,
int ring,
int phase,
bool half_shift,
bool mark_zero,
bool standard_palette);
70 <<
" disk: " <<
m_s_disk << std::endl;
91 for (
unsigned int lay = 1; lay <=
n_layers; lay++) {
212 }
else if (phase_ == 1) {
253 bool isOuter =
false;
258 isOuter = !odd_ladder;
260 isOuter = odd_ladder;
263 isOuter = odd_ladder;
265 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)
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
static std::string to_string(const XMLCh *ch)
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)
const int nlad_list[n_layers]
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
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.