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 h, and gpuVertexFinder::hist.
Referenced by helpers.CloneTaskVisitor::__appendToTopTask(), Options.Options::__getitem__(), SequenceTypes._ModuleSequenceType::_replaceIfHeldDirectly(), SequenceTypes.Schedule::_replaceIfHeldDirectly(), LHCInfoPopConSourceHandler::addEmptyPayload(), custom_jme_cff::AddJetID(), custom_jme_cff::AddPileUpJetIDVars(), custom_jme_cff::AddQGLTaggerVars(), helpers::addTaskToProcess(), Config.ProcessModifier::apply(), SequenceTypes._ModuleSequenceType::associate(), objects.VertexAnalyzer.VertexAnalyzer::beginLoop(), core.PileUpAnalyzer.PileUpAnalyzer::beginLoop(), CosmicHitPairGenerator::CosmicHitPairGenerator(), CosmicHitTripletGenerator::CosmicHitTripletGenerator(), o2olib.O2OTool::create(), edmStreamStallGrapher::createPDFImage(), evf::FastMonEncoding::encode(), evf::FastMonEncoding::encodeString(), SequenceVisitors.NodeVisitor::enter(), helpers.CloneSequenceVisitor::enter(), SequenceTypes.NodeNameVisitor::enter(), BPHWriteSpecificDecay::fill(), Phase2ITValidateCluster::fillITHistos(), createIOVlist::fillJson(), 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(), edmTracerLogToSimpleConfig.PathParser::parse(), edmTracerLogToSimpleConfig.ConsumesParser::parse(), python.rootplot.core::plot_hists_mpl(), L1GctLut< 16, 12 >::printLine(), core.JSONAnalyzer.JSONAnalyzer::process(), core.PileUpAnalyzer.PileUpAnalyzer::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), TIBLayer::searchNeighbors(), TECLayer::searchNeighbors(), CompositeTECWedge::searchNeighbors(), PixelForwardLayer::searchNeighbors(), PixelForwardLayerPhase1::searchNeighbors(), Phase2EndcapSingleRing::searchNeighbors(), TIDRing::searchNeighbors(), Phase2EndcapRing::searchNeighbors(), TOBRod::searchNeighbors(), TBPLayer::searchNeighbors(), PixelBlade::searchNeighbors(), Phase2OTBarrelRod::searchNeighbors(), Phase1PixelBlade::searchNeighbors(), TIBRing::searchNeighbors(), CompositeTECPetal::searchNeighbors(), MatrixReader.MatrixReader::showRaw(), conddb_migrate::tags_in_gts(), LHCInfoImpl::transferPayloads(), evf::FastMonEncoding::update(), evf::FastMonEncoding::updatePreinit(), evf::FastMonEncoding::updateReserved(), and querying.connection::write().
void PVValHelper::fill | ( | std::map< std::string, TH1 *> & | h, |
const std::string & | s, | ||
double | x | ||
) |
Definition at line 20 of file PVValidationHelpers.cc.
References h, alignCSCRings::s, and x.
Referenced by PrimaryVertexValidation::fillTrackHistos().
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 h, alignCSCRings::s, x, and detailsBasic3DVector::y.
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(), h, makeGlobalPositionRcd_cfg::tag, and x.
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 EcalMonitorTask_cff::func, gpuVertexFinder::hist, 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, mps_fire::end, writeEcalDQMStatus::interval, dqmiodumpmetadata::n, FastTimerService_cff::range, 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(), timingPdfMaker::histo, dqmiolumiharvest::j, median(), LaserClient_cfi::nbins, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, Measurement1D::value(), and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::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 timingPdfMaker::histo, 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, pTCentral, and trigObjTnPSource_cfi::var.
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, SiStripPI::max, SiStripPI::min, VarParsing::mult, N, funct::pow(), runTheMatrix::ret, and ApeEstimator_cff::width.
void PVValHelper::shrinkHistVectorToFit | ( | std::vector< TH1F *> & | h, |
unsigned int | desired_size | ||
) |
Definition at line 56 of file PVValidationHelpers.cc.
References h.
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().