Classes | |
struct | histodetails |
Typedefs | |
typedef std::tuple< std::string, std::string, std::string > | plotLabels |
Enumerations | |
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 | |
const double | max_eta_phase0 = 2.5 |
const double | max_eta_phase1 = 2.7 |
typedef std::tuple<std::string, std::string, std::string> PVValHelper::plotLabels |
Definition at line 115 of file PVValidationHelpers.h.
Enumerator | |
---|---|
phi | |
eta | |
pT | |
pTCentral | |
ladder | |
modZ | |
END_OF_PLOTS |
Definition at line 67 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 46 of file PVValidationHelpers.h.
void PVValHelper::add | ( | std::map< std::string, TH1 * > & | h, |
TH1 * | hist | ||
) |
Definition at line 12 of file PVValidationHelpers.cc.
References compare::hist.
Referenced by Options.Options::__getitem__(), SequenceTypes._ModuleSequenceType::_replaceIfHeldDirectly(), trklet::Sector::addStub(), Config.ProcessModifier::apply(), SequenceTypes._ModuleSequenceType::associate(), objects.VertexAnalyzer.VertexAnalyzer::beginLoop(), core.PileUpAnalyzer.PileUpAnalyzer::beginLoop(), CosmicHitPairGenerator::CosmicHitPairGenerator(), CosmicHitTripletGenerator::CosmicHitTripletGenerator(), o2olib.O2OTool::create(), edmStreamStallGrapher::createPDFImage(), evf::FastMonitoringService::Encoding::encode(), SequenceVisitors.NodeVisitor::enter(), helpers.CloneSequenceVisitor::enter(), SequenceTypes.NodeNameVisitor::enter(), trklet::TrackletEventProcessor::event(), BPHWriteSpecificDecay::fill(), Phase2ITValidateCluster::fillITHistos(), Phase2OTValidateCluster::fillOTHistos(), evf::FastMonitoringService::Encoding::fillReserved(), TrackerMap::find_layer(), symbols::get_libraries(), python.rootplot.core::get_plot_inputs(), symbols::get_symbols(), L1GctHfBitCountsLut::getThresholdsGct(), PixelForwardLayer::groupedCompatibleDetsV(), PixelForwardLayerPhase1::groupedCompatibleDetsV(), TIBRing::groupedCompatibleDetsV(), MillePedeVariables::increaseHitsX(), MillePedeVariables::increaseHitsY(), CTPPSRPAlignmentCorrectionsDataESSourceXML::Merge(), edmTracerLogToSimpleConfig.PathParser::parse(), edmTracerLogToSimpleConfig.ConsumesParser::parse(), python.rootplot.core::plot_hists_mpl(), L1GctLut< 16, 12 >::printLine(), core.JSONAnalyzer.JSONAnalyzer::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), core.PileUpAnalyzer.PileUpAnalyzer::process(), TIBLayer::searchNeighbors(), CompositeTECWedge::searchNeighbors(), TECLayer::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::FastMonitoringService::Encoding::update(), evf::FastMonitoringService::Encoding::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 alignCSCRings::s, and genVertex_cff::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 alignCSCRings::s, genVertex_cff::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(), GlobalPosition_Frontier_DevDB_cff::tag, and genVertex_cff::x.
Referenced by PrimaryVertexValidation::analyze(), SplitVertexResolution::analyze(), and DMRChecker::analyze().
std::pair< Measurement1D, Measurement1D > PVValHelper::fitResiduals | ( | TH1 * | hist | ) |
Definition at line 223 of file PVValidationHelpers.cc.
References TrackCollections2monitor_cff::func, compare::hist, SiStripPI::mean, mps_fire::result, and tools::TF1.
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, readEcalDQMStatus::interval, dqmiodumpmetadata::n, FastTimerService_cff::range, and findQualityFiles::v.
Referenced by PrimaryVertexValidation::PrimaryVertexValidation(), and SplitVertexResolution::SplitVertexResolution().
Measurement1D PVValHelper::getMAD | ( | TH1F * | histo | ) |
Definition at line 194 of file PVValidationHelpers.cc.
References funct::abs(), getMedian(), timingPdfMaker::histo, dqmiolumiharvest::j, pfDeepBoostedJetPreprocessParams_cfi::median, LaserClient_cfi::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 178 of file PVValidationHelpers.cc.
References timingPdfMaker::histo, pfDeepBoostedJetPreprocessParams_cfi::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 29 of file PVValidationHelpers.h.
References mps_fire::i, SiStripPI::max, 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.
Referenced by PrimaryVertexValidation::analyze().
const double PVValHelper::max_eta_phase0 = 2.5 |
Definition at line 23 of file PVValidationHelpers.h.
Referenced by PrimaryVertexValidation::analyze().
const double PVValHelper::max_eta_phase1 = 2.7 |
Definition at line 24 of file PVValidationHelpers.h.
Referenced by PrimaryVertexValidation::analyze().