Classes | |
struct | topolInfo |
Typedefs | |
using | indexedCorners = std::map< unsigned int, std::pair< std::vector< float >, std::vector< float > >> |
Enumerations | |
enum | regions { BPixL1o, BPixL1i, BPixL2o, BPixL2i, BPixL3o, BPixL3i, BPixL4o, BPixL4i, FPixmL1, FPixmL2, FPixmL3, FPixpL1, FPixpL2, FPixpL3, NUM_OF_REGIONS } |
Functions | |
void | adjustCanvasMargins (TVirtualPad *pad, float top, float bottom, float left, float right) |
void | adjustStats (TPaveStats *stats, float X1, float Y1, float X2, float Y2) |
bool | checkAnswerOK (std::string &answer, bool &result) |
void | displayNotSupported (TCanvas &canv, const unsigned int size) |
void | draw_line (double x1, double x2, double y1, double y2, int width=2, int style=1, int color=1) |
void | dress_occup_plot (TCanvas &canv, TH2 *h, int lay, int ring=0, int phase=0, bool half_shift=true, bool mark_zero=true, bool standard_palette=true) |
template<typename T > | |
std::pair< T, T > | findMinMaxInMap (const std::map< unsigned int, T > &theMap) |
std::pair< float, float > | getExtrema (TH1 *h1, TH1 *h2) |
std::string | getStringFromRegionEnum (SiPixelPI::regions e) |
bool | isBPixOuterLadder (const DetId &detid, const TrackerTopology &tTopo, bool isPhase0) |
void | makeNicePlotStyle (TH1 *hist) |
std::vector< std::pair< int, int > > | maskedBarrelRocsToBins (int layer, int ladder, int module) |
std::vector< std::tuple< int, int, int > > | maskedBarrelRocsToBins (int layer, int ladder, int module, std::bitset< 16 > bad_rocs, bool isFlipped) |
std::vector< std::pair< int, int > > | maskedForwardRocsToBins (int ring, int blade, int panel, int disk) |
std::vector< std::tuple< int, int, int > > | maskedForwardRocsToBins (int ring, int blade, int panel, int disk, std::bitset< 16 > bad_rocs, bool isFlipped) |
int | quadrant (const DetId &detid, const TrackerTopology *tTopo_, bool phase_) |
const indexedCorners | retrieveCorners (const std::vector< edm::FileInPath > &cornerFiles, const unsigned int reads) |
int | ring (const DetId &detid, const TrackerTopology &tTopo_, bool phase_) |
int | signed_blade (const DetId &detid, const TrackerTopology &tTopo_, bool phase_) |
int | signed_blade_panel (const DetId &detid, const TrackerTopology &tTopo_, bool phase_) |
int | signed_disk (const DetId &detid, const TrackerTopology &tTopo_, bool phase_) |
int | signed_ladder (const DetId &detid, const TrackerTopology &tTopo_, bool phase_) |
int | signed_module (const DetId &detid, const TrackerTopology &tTopo_, bool phase_) |
std::pair< unsigned int, unsigned int > | unpack (cond::Time_t since) |
Variables | |
static const unsigned int | phase0size = 1440 |
static const unsigned int | phase1size = 1856 |
using SiPixelPI::indexedCorners = typedef std::map<unsigned int, std::pair<std::vector<float>, std::vector<float> >> |
Definition at line 907 of file SiPixelPayloadInspectorHelper.h.
enum SiPixelPI::regions |
Enumerator | |
---|---|
BPixL1o | |
BPixL1i | |
BPixL2o | |
BPixL2i | |
BPixL3o | |
BPixL3i | |
BPixL4o | |
BPixL4i | |
FPixmL1 | |
FPixmL2 | |
FPixmL3 | |
FPixpL1 | |
FPixpL2 | |
FPixpL3 | |
NUM_OF_REGIONS |
Definition at line 501 of file SiPixelPayloadInspectorHelper.h.
void SiPixelPI::adjustCanvasMargins | ( | TVirtualPad * | pad, |
float | top, | ||
float | bottom, | ||
float | left, | ||
float | right | ||
) |
Definition at line 435 of file SiPixelPayloadInspectorHelper.h.
Referenced by Phase1PixelMaps::DrawBarrelMaps(), Phase1PixelMaps::DrawForwardMaps(), gainCalibHelper::SiPixelGainCalibrationValues< myType, PayloadType >::fill(), and gainCalibHelper::SiPixelGainCalibrationValuesPerRegion< isBarrel, myType, PayloadType >::fill().
void SiPixelPI::adjustStats | ( | TPaveStats * | stats, |
float | X1, | ||
float | Y1, | ||
float | X2, | ||
float | Y2 | ||
) |
Definition at line 449 of file SiPixelPayloadInspectorHelper.h.
References dqmMemoryStats::stats.
Referenced by gainCalibHelper::SiPixelGainCalibrationValues< myType, PayloadType >::fill(), and PixelRegions::PixelRegionContainers::stats().
bool SiPixelPI::checkAnswerOK | ( | std::string & | answer, |
bool & | result | ||
) |
Definition at line 998 of file SiPixelPayloadInspectorHelper.h.
References submit::answer, mps_fire::result, and HcalDetIdTransform::transform().
Referenced by gainCalibHelper::SiPixelGainCalibrationValuesPerRegion< isBarrel, myType, PayloadType >::fill().
void SiPixelPI::displayNotSupported | ( | TCanvas & | canv, |
const unsigned int | size | ||
) |
Definition at line 971 of file SiPixelPayloadInspectorHelper.h.
References HLT_2018_cff::phase, phase1size, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and RandomServiceHelper::t2.
Referenced by gainCalibHelper::SiPixelGainCalibrationValuesPerRegion< isBarrel, myType, PayloadType >::fill().
void SiPixelPI::draw_line | ( | double | x1, |
double | x2, | ||
double | y1, | ||
double | y2, | ||
int | width = 2 , |
||
int | style = 1 , |
||
int | color = 1 |
||
) |
Definition at line 138 of file SiPixelPayloadInspectorHelper.h.
References cmsLHEtoEOSManager::l, ApeEstimator_cff::width, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by dress_occup_plot().
void SiPixelPI::dress_occup_plot | ( | TCanvas & | canv, |
TH2 * | h, | ||
int | lay, | ||
int | ring = 0 , |
||
int | phase = 0 , |
||
bool | half_shift = true , |
||
bool | mark_zero = true , |
||
bool | standard_palette = true |
||
) |
Definition at line 148 of file SiPixelPayloadInspectorHelper.h.
References electronCompare::blue, draw_line(), dqmMemoryStats::float, mod(), ZMuMuCategoriesSequences_cff::nbin, HLT_2018_cff::phase, electronCompare::red, ring(), Scenarios_cff::scale, Validation_hcalonly_cfi::sign, AlCaHLTBitMon_QueryRunRegistry::string, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
std::pair<T, T> SiPixelPI::findMinMaxInMap | ( | const std::map< unsigned int, T > & | theMap | ) |
Definition at line 986 of file SiPixelPayloadInspectorHelper.h.
References SiStripPI::max, min(), p1, and p2.
std::pair<float, float> SiPixelPI::getExtrema | ( | TH1 * | h1, |
TH1 * | h2 | ||
) |
Definition at line 459 of file SiPixelPayloadInspectorHelper.h.
References mps_fire::result.
Referenced by PixelRegions::PixelRegionContainers::rescaleMax().
std::string SiPixelPI::getStringFromRegionEnum | ( | SiPixelPI::regions | e | ) |
bool SiPixelPI::isBPixOuterLadder | ( | const DetId & | detid, |
const TrackerTopology & | tTopo, | ||
bool | isPhase0 | ||
) |
Definition at line 559 of file SiPixelPayloadInspectorHelper.h.
References TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), and DetId::rawId().
Referenced by SiPixelPI::topolInfo::fillGeometryInfo().
void SiPixelPI::makeNicePlotStyle | ( | TH1 * | hist | ) |
Definition at line 475 of file SiPixelPayloadInspectorHelper.h.
References HLT_2018_cff::Class, and compare::hist.
Referenced by PixelRegions::PixelRegionContainers::beautify(), Phase1PixelMaps::beautifyAllHistograms(), and gainCalibHelper::SiPixelGainCalibrationValues< myType, PayloadType >::fill().
std::vector<std::pair<int, int> > SiPixelPI::maskedBarrelRocsToBins | ( | int | layer, |
int | ladder, | ||
int | module | ||
) |
Definition at line 697 of file SiPixelPayloadInspectorHelper.h.
References funct::abs(), COUT, and PVValHelper::ladder.
std::vector<std::tuple<int, int, int> > SiPixelPI::maskedBarrelRocsToBins | ( | int | layer, |
int | ladder, | ||
int | module, | ||
std::bitset< 16 > | bad_rocs, | ||
bool | isFlipped | ||
) |
Definition at line 727 of file SiPixelPayloadInspectorHelper.h.
References funct::abs(), COUT, training_settings::idx, and PVValHelper::ladder.
std::vector<std::pair<int, int> > SiPixelPI::maskedForwardRocsToBins | ( | int | ring, |
int | blade, | ||
int | panel, | ||
int | disk | ||
) |
Definition at line 803 of file SiPixelPayloadInspectorHelper.h.
References funct::abs(), COUT, and ring().
std::vector<std::tuple<int, int, int> > SiPixelPI::maskedForwardRocsToBins | ( | int | ring, |
int | blade, | ||
int | panel, | ||
int | disk, | ||
std::bitset< 16 > | bad_rocs, | ||
bool | isFlipped | ||
) |
Definition at line 833 of file SiPixelPayloadInspectorHelper.h.
References funct::abs(), COUT, training_settings::idx, and ring().
int SiPixelPI::quadrant | ( | const DetId & | detid, |
const TrackerTopology * | tTopo_, | ||
bool | phase_ | ||
) |
Definition at line 54 of file SiPixelPayloadInspectorHelper.h.
References PixelEndcapName::halfCylinder(), PixelSubdetector::PixelBarrel, PixelBarrelName::shell(), and DetId::subdetId().
Referenced by EcalElectronicsId::channelId(), MEEEGeom::crystal_in_sc(), MEEEGeom::dee(), MEEEGeom::getBoundary(), MEEEGeom::lmr(), GeometryInterface::loadFromSiPixelCoordinates(), MEEEGeom::sc(), signed_blade(), signed_disk(), signed_ladder(), signed_module(), and TrackTransformerForCosmicMuons::transform().
const indexedCorners SiPixelPI::retrieveCorners | ( | const std::vector< edm::FileInPath > & | cornerFiles, |
const unsigned int | reads | ||
) |
Definition at line 910 of file SiPixelPayloadInspectorHelper.h.
References begin, COUT, end, Exception, FrontierConditions_GlobalTag_cff::file, mps_fire::i, triggerObjects_cff::id, mps_splice::line, Skims_PA_cff::name, MatrixUtil::remove(), AlCaHLTBitMon_QueryRunRegistry::string, and OrderedSet::t.
Referenced by Phase1PixelMaps::bookBarrelBins(), and Phase1PixelMaps::bookForwardBins().
int SiPixelPI::ring | ( | const DetId & | detid, |
const TrackerTopology & | tTopo_, | ||
bool | phase_ | ||
) |
Definition at line 93 of file SiPixelPayloadInspectorHelper.h.
References PixelSubdetector::PixelEndcap, TrackerTopology::pxfModule(), TrackerTopology::pxfPanel(), PixelEndcapName::ringName(), and DetId::subdetId().
Referenced by PixelRegions::detIdToPixelId(), dress_occup_plot(), and maskedForwardRocsToBins().
int SiPixelPI::signed_blade | ( | const DetId & | detid, |
const TrackerTopology & | tTopo_, | ||
bool | phase_ | ||
) |
Definition at line 108 of file SiPixelPayloadInspectorHelper.h.
References PixelEndcapName::bladeName(), PixelSubdetector::PixelEndcap, quadrant(), and DetId::subdetId().
Referenced by signed_blade_panel().
int SiPixelPI::signed_blade_panel | ( | const DetId & | detid, |
const TrackerTopology & | tTopo_, | ||
bool | phase_ | ||
) |
Definition at line 118 of file SiPixelPayloadInspectorHelper.h.
References PixelSubdetector::PixelEndcap, TrackerTopology::pxfPanel(), signed_blade(), and DetId::subdetId().
int SiPixelPI::signed_disk | ( | const DetId & | detid, |
const TrackerTopology & | tTopo_, | ||
bool | phase_ | ||
) |
Definition at line 128 of file SiPixelPayloadInspectorHelper.h.
References PixelSubdetector::PixelEndcap, TrackerTopology::pxfDisk(), quadrant(), and DetId::subdetId().
int SiPixelPI::signed_ladder | ( | const DetId & | detid, |
const TrackerTopology & | tTopo_, | ||
bool | phase_ | ||
) |
Definition at line 65 of file SiPixelPayloadInspectorHelper.h.
References PixelBarrelName::ladderName(), PixelSubdetector::PixelBarrel, quadrant(), and DetId::subdetId().
int SiPixelPI::signed_module | ( | const DetId & | detid, |
const TrackerTopology & | tTopo_, | ||
bool | phase_ | ||
) |
Definition at line 77 of file SiPixelPayloadInspectorHelper.h.
References PixelBarrelName::moduleName(), PixelSubdetector::PixelBarrel, quadrant(), and DetId::subdetId().
std::pair<unsigned int, unsigned int> SiPixelPI::unpack | ( | cond::Time_t | since | ) |
Definition at line 44 of file SiPixelPayloadInspectorHelper.h.
References cond::time::kLowMask(), writedatasetfile::run, and writeEcalDQMStatus::since.
Referenced by edmStreamStallGrapher::consolidateContiguousBlocks(), pat::PackedGenParticle::dxy(), pat::PackedGenParticle::dz(), reco::PatternSet< N >::fill(), pat::PackedCandidate::pack(), TreeCrawler.mymf::scan_opcodes_25(), reco::TrackResiduals::unpack_pull(), and reco::TrackResiduals::unpack_residual().
|
static |
Definition at line 40 of file SiPixelPayloadInspectorHelper.h.
Referenced by gainCalibHelper::SiPixelGainCalibrationValuesPerRegion< isBarrel, myType, PayloadType >::fill().
|
static |
Definition at line 41 of file SiPixelPayloadInspectorHelper.h.
Referenced by displayNotSupported(), and gainCalibHelper::SiPixelGainCalibrationValuesPerRegion< isBarrel, myType, PayloadType >::fill().