Classes | |
struct | histodetails |
Typedefs | |
typedef std::tuple < std::string, std::string, std::string > | plotLabels |
Enumerations | |
enum | detectorPhase { phase0 = 0, phase1 = 1, phase2 = 2, END_OF_PHASES = 3 } |
enum | estimator { MEAN = 1, WIDTH = 2, MEDIAN = 3, MAD = 4, UNKWN = -1 } |
enum | plotVariable { phi = 1, eta = 2, pT = 3, pTCentral = 4, ladder = 5, modZ = 6, END_OF_PLOTS = 7 } |
enum | residualType { dxy = 1, dx = 2, dy = 3, dz = 4, IP2D = 5, resz = 6, IP3D = 7, d3D = 8, norm_dxy = 9, norm_dx = 10, norm_dy = 11, norm_dz = 12, norm_IP2D = 13, norm_resz = 14, norm_IP3D = 15, norm_d3D = 16, END_OF_TYPES = 17 } |
Functions | |
void | add (std::map< std::string, TH1 * > &h, TH1 *hist) |
void | fill (std::map< std::string, TH1 * > &h, const std::string &s, double x) |
void | fill (std::map< std::string, TH1 * > &h, const std::string &s, double x, double y) |
void | fillByIndex (std::vector< TH1F * > &h, unsigned int index, double x, std::string tag="") |
std::pair< Measurement1D, Measurement1D > | fitResiduals (TH1 *hist) |
std::vector< float > | generateBins (int n, float start, float range) |
Measurement1D | getMAD (TH1F *histo) |
Measurement1D | getMedian (TH1F *histo) |
plotLabels | getTypeString (residualType type) |
plotLabels | getVarString (plotVariable var) |
template<typename T , size_t N> | |
std::array< T, N+1 > | makeLogBins (const T &min, const T &max) |
void | shrinkHistVectorToFit (std::vector< TH1F * > &h, unsigned int desired_size) |
Variables | |
constexpr double | max_eta_phase0 = 2.5 |
constexpr double | max_eta_phase1 = 2.7 |
constexpr double | max_eta_phase2 = 4.0 |
typedef std::tuple<std::string, std::string, std::string> PVValHelper::plotLabels |
Definition at line 123 of file PVValidationHelpers.h.
Enumerator | |
---|---|
phase0 | |
phase1 | |
phase2 | |
END_OF_PHASES |
Definition at line 78 of file PVValidationHelpers.h.
Enumerator | |
---|---|
MEAN | |
WIDTH | |
MEDIAN | |
MAD | |
UNKWN |
Definition at line 45 of file PVValidationHelpers.h.
Enumerator | |
---|---|
phi | |
eta | |
pT | |
pTCentral | |
ladder | |
modZ | |
END_OF_PLOTS |
Definition at line 68 of file PVValidationHelpers.h.
Enumerator | |
---|---|
dxy | |
dx | |
dy | |
dz | |
IP2D | |
resz | |
IP3D | |
d3D | |
norm_dxy | |
norm_dx | |
norm_dy | |
norm_dz | |
norm_IP2D | |
norm_resz | |
norm_IP3D | |
norm_d3D | |
END_OF_TYPES |
Definition at line 47 of file PVValidationHelpers.h.
void PVValHelper::add | ( | std::map< std::string, TH1 * > & | h, |
TH1 * | hist | ||
) |
Definition at line 12 of file PVValidationHelpers.cc.
References gpuVertexFinder::hist.
Referenced by LHCInfoPopConSourceHandler::addEmptyPayload(), CosmicHitPairGenerator::CosmicHitPairGenerator(), CosmicHitTripletGenerator::CosmicHitTripletGenerator(), edmStreamStallGrapher::createPDFImage(), BPHWriteSpecificDecay::fill(), Phase2ITValidateCluster::fillITHistos(), Phase2OTValidateCluster::fillOTHistos(), evf::FastMonEncoding::fillReserved(), TrackerMap::find_layer(), symbols::get_libraries(), python.rootplot.core::get_plot_inputs(), symbols::get_symbols(), L1TPhase2CorrelatorOffline::getQuantile(), L1GctHfBitCountsLut::getThresholdsGct(), PixelForwardLayer::groupedCompatibleDetsV(), PixelForwardLayerPhase1::groupedCompatibleDetsV(), TIBRing::groupedCompatibleDetsV(), MillePedeVariables::increaseHitsX(), MillePedeVariables::increaseHitsY(), CTPPSRPAlignmentCorrectionsDataESSourceXMLCommon::Merge(), python.rootplot.core::plot_hists_mpl(), L1GctLut< NAddressBits, NDataBits >::printLine(), core.PileUpAnalyzer.PileUpAnalyzer::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), TIBLayer::searchNeighbors(), TECLayer::searchNeighbors(), CompositeTECWedge::searchNeighbors(), PixelForwardLayer::searchNeighbors(), PixelForwardLayerPhase1::searchNeighbors(), TIDRing::searchNeighbors(), TOBRod::searchNeighbors(), Phase2EndcapRing::searchNeighbors(), TBPLayer::searchNeighbors(), PixelBlade::searchNeighbors(), Phase1PixelBlade::searchNeighbors(), Phase2OTBarrelRod::searchNeighbors(), TIBRing::searchNeighbors(), CompositeTECPetal::searchNeighbors(), MatrixReader.MatrixReader::showRaw(), conddb_migrate::tags_in_gts(), LHCInfoImpl::transferPayloads(), evf::FastMonEncoding::update(), and evf::FastMonEncoding::updatePreinit().
void PVValHelper::fill | ( | std::map< std::string, TH1 * > & | h, |
const std::string & | s, | ||
double | x | ||
) |
Definition at line 20 of file PVValidationHelpers.cc.
References alignCSCRings::s.
Referenced by HFRaddamTask::_process(), TPTask::_process(), SiStripThreshold::allThresholds(), GenericBenchmarkAnalyzer::analyze(), EcalDumpRaw::analyze(), DTDataIntegrityTask::analyze(), AnalyzerMinbias::analyze(), TrackCountingTagPlotter::analyzeTag(), TrackProbabilityTagPlotter::analyzeTag(), L1TGlobalSummary::beginRun(), SimpleCosmicBONSeeder::checkNoisyModules(), funct::Master< F >::clear(), edm::IndexSet::clear(), edm::FileBlock::close(), l1tpf::corrector::corrector(), CSCTFUnpacker::CSCTFUnpacker(), EcalDumpRaw::decode(), PhysicsTools::VarProcessor::deriv(), DTEfficiencyTest::dqmEndLuminosityBlock(), MetTreeProducer::fill(), CandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), egHLT::MonElemContainer< T >::fill(), FlavourHistograms2D< T, G >::fill(), l1tpf_calo::GridData< PreCluster >::fill(), NanoAODDQM::SelGroupConfig::fillSel(), TrackingNtuple::fillStripRphiStereoHits(), PrimaryVertexValidation::fillTrackHistos(), TrackingNtuple::fillTrackingVertices(), Phase2EndcapLayer::groupedCompatibleDetsV(), GroupedCkfTrajectoryBuilder::groupedIntermediaryClean(), HITrackClusterRemover::HITrackClusterRemover(), HLTTrackClusterRemoverNew::HLTTrackClusterRemoverNew(), l1tpf::corrector::init_(), StripCPEfromTrackAngle::localParameters(), BoostedJetONNXJetTagsProducer::make_inputs(), HLTTauDQMPath::offlineMatching(), reco::PFCandidate::PFCandidate(), l1tpf_calo::Phase1GridBase::Phase1GridBase(), cscdqm::EventProcessor::processCSC(), EgammaHLTCaloTowerProducer::produce(), SeedClusterRemoverPhase2::produce(), SeedClusterRemover::produce(), BPHWriteSpecificDecay::produce(), HITrackClusterRemover::produce(), TTStubBuilder< T >::produce(), SeedClusterRemover::readPSet(), HLTTrackClusterRemoverNew::readPSet(), HITrackClusterRemover::readPSet(), PhiMemoryImage::reset(), funct::Master< F >::reset(), HGCal3DClustering::reset(), hltrigreport::Accumulate::reset(), L1DataEmulDigi::reset(), StMeasurementDetSet::resetOnDemandStrips(), HcalSiPM::resetSiPM(), edm::soa::Table< edm::soa::col::Pt, edm::soa::col::Eta, edm::soa::col::Phi, edm::soa::col::Vz >::resetStartingAt(), magfieldparam::rz_poly::rz_poly(), SeedClusterRemover::SeedClusterRemover(), CandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), StMeasurementConditionSet::set128StripStatus(), PxMeasurementDetSet::setActiveThisEvent(), Phase2OTMeasurementDetSet::setActiveThisEvent(), magfieldparam::rz_poly::SetAllON(), CaloSamples::setBlank(), StMeasurementDetSet::setEmpty(), PxMeasurementDetSet::setEmpty(), Phase2OTMeasurementDetSet::setEmpty(), PFAlgo::setHcalDepthInfo(), edm::StreamerOutputModuleCommon::setHltMask(), heppy::IsolationComputer::setPackedCandidates(), tmtt::StubFEWindows::setZero(), StripSubClusterShapeFilterBase::StripSubClusterShapeFilterBase(), SimG4HcalValidation::update(), edmNew::DetSetVector< T >::update(), MeasurementTrackerEventProducer::updatePixels(), DAClusterizerInZ::vertices(), DAClusterizerInZ_vect::vertices(), and DAClusterizerInZT_vect::vertices().
void PVValHelper::fill | ( | std::map< std::string, TH1 * > & | h, |
const std::string & | s, | ||
double | x, | ||
double | y | ||
) |
Definition at line 31 of file PVValidationHelpers.cc.
References alignCSCRings::s.
void PVValHelper::fillByIndex | ( | std::vector< TH1F * > & | h, |
unsigned int | index, | ||
double | x, | ||
std::string | tag = "" |
||
) |
Definition at line 42 of file PVValidationHelpers.cc.
References cms::cuda::assert().
Referenced by PrimaryVertexValidation::analyze(), SplitVertexResolution::analyze(), and DMRChecker::analyze().
std::pair< Measurement1D, Measurement1D > PVValHelper::fitResiduals | ( | TH1 * | hist | ) |
Definition at line 225 of file PVValidationHelpers.cc.
References cms::cuda::func, SiStripPI::mean, and mps_fire::result.
Referenced by PrimaryVertexValidation::fillMap(), PrimaryVertexValidation::fillTrendPlot(), and PrimaryVertexValidation::fillTrendPlotByIndex().
std::vector< float > PVValHelper::generateBins | ( | int | n, |
float | start, | ||
float | range | ||
) |
Definition at line 161 of file PVValidationHelpers.cc.
References a, SplitLinear::begin, dataset::end, MergeJob_cfg::interval, and findQualityFiles::v.
Referenced by PrimaryVertexValidation::PrimaryVertexValidation(), and SplitVertexResolution::SplitVertexResolution().
Measurement1D PVValHelper::getMAD | ( | TH1F * | histo | ) |
Definition at line 196 of file PVValidationHelpers.cc.
References funct::abs(), getMedian(), dqmiolumiharvest::j, median(), hlt_dqm_clientPB-live_cfg::nbins, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, Measurement1D::value(), and HLT_FULL_cff::weights.
Referenced by PrimaryVertexValidation::fillMap(), PrimaryVertexValidation::fillTrendPlot(), PrimaryVertexValidation::fillTrendPlotByIndex(), and SplitVertexResolution::fillTrendPlotByIndex().
Measurement1D PVValHelper::getMedian | ( | TH1F * | histo | ) |
Definition at line 180 of file PVValidationHelpers.cc.
References median(), submitPVResolutionJobs::q, and mps_fire::result.
Referenced by PrimaryVertexValidation::fillMap(), PrimaryVertexValidation::fillTrendPlot(), PrimaryVertexValidation::fillTrendPlotByIndex(), SplitVertexResolution::fillTrendPlotByIndex(), and getMAD().
PVValHelper::plotLabels PVValHelper::getTypeString | ( | PVValHelper::residualType | type | ) |
Definition at line 63 of file PVValidationHelpers.cc.
References d3D, dx, dxy, dy, dz, IP2D, IP3D, norm_d3D, norm_dx, norm_dxy, norm_dy, norm_dz, norm_IP2D, norm_IP3D, norm_resz, resz, and reco::returnType().
Referenced by PrimaryVertexValidation::bookResidualsHistogram(), and PrimaryVertexValidation::PrimaryVertexValidation().
PVValHelper::plotLabels PVValHelper::getVarString | ( | PVValHelper::plotVariable | var | ) |
Definition at line 130 of file PVValidationHelpers.cc.
References eta, ladder, modZ, phi, pT, and pTCentral.
Referenced by PrimaryVertexValidation::bookResidualsHistogram(), and PrimaryVertexValidation::PrimaryVertexValidation().
std::array<T, N + 1> PVValHelper::makeLogBins | ( | const T & | min, |
const T & | max | ||
) |
Definition at line 30 of file PVValidationHelpers.h.
References mps_fire::i, VarParsing::mult, N, funct::pow(), and runTheMatrix::ret.
void PVValHelper::shrinkHistVectorToFit | ( | std::vector< TH1F * > & | h, |
unsigned int | desired_size | ||
) |
Definition at line 56 of file PVValidationHelpers.cc.
Referenced by PrimaryVertexValidation::beginRun().
constexpr double PVValHelper::max_eta_phase0 = 2.5 |
Definition at line 23 of file PVValidationHelpers.h.
Referenced by PrimaryVertexValidation::beginRun().
constexpr double PVValHelper::max_eta_phase1 = 2.7 |
Definition at line 24 of file PVValidationHelpers.h.
Referenced by PrimaryVertexValidation::beginRun().
constexpr double PVValHelper::max_eta_phase2 = 4.0 |
Definition at line 25 of file PVValidationHelpers.h.
Referenced by PrimaryVertexValidation::beginRun().