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) |
typedef std::tuple<std::string,std::string,std::string> PVValHelper::plotLabels |
Definition at line 112 of file PVValidationHelpers.h.
Enumerator | |
---|---|
MEAN | |
WIDTH | |
MEDIAN | |
MAD | |
UNKWN |
Definition at line 34 of file PVValidationHelpers.h.
Enumerator | |
---|---|
phi | |
eta | |
pT | |
pTCentral | |
ladder | |
modZ | |
END_OF_PLOTS |
Definition at line 63 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 42 of file PVValidationHelpers.h.
void PVValHelper::add | ( | std::map< std::string, TH1 * > & | h, |
TH1 * | hist | ||
) |
Definition at line 12 of file PVValidationHelpers.cc.
References create_public_lumi_plots::hist.
Referenced by BPHRecoBuilder::add(), SiPixelQuality::addDisabledModule(), edm::eventsetup::EventSetupRecord::cacheIdentifier(), Folder::cd(), FastLineRecognition::Cluster::Cluster(), popcon::PopConSourceHandler< CastorPedestals >::convertFromOld(), CosmicHitPairGenerator::CosmicHitPairGenerator(), CosmicHitTripletGenerator::CosmicHitTripletGenerator(), edmStreamStallGrapher::createPDFImage(), BPHWriteSpecificDecay::fill(), evf::FastMonitoringService::Encoding::fillReserved(), CaloHitResponse::finalizeHits(), 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(), EBHitResponse::keepBlank(), CTPPSIncludeAlignmentsFromXML::Merge(), CSCCLCTData::nlines(), MtvClusterizer1D< T >::operator()(), FsmwClusterizer1D< T >::operator()(), muonisolation::NominalEfficiencyThresholds::locless::operator()(), amc13::Packet::Packet(), python.rootplot.core::plot_hists_mpl(), L1GctLut< NAddressBits, NDataBits >::printLine(), objects.VertexAnalyzer.VertexAnalyzer::process(), core.PileUpAnalyzer.PileUpAnalyzer::process(), fwlite::RunLumiSelector::RunLumiSelector(), TIBLayer::searchNeighbors(), CompositeTECWedge::searchNeighbors(), PixelForwardLayer::searchNeighbors(), TECLayer::searchNeighbors(), PixelForwardLayerPhase1::searchNeighbors(), TIDRing::searchNeighbors(), Phase2EndcapRing::searchNeighbors(), TOBRod::searchNeighbors(), TBPLayer::searchNeighbors(), PixelBlade::searchNeighbors(), Phase1PixelBlade::searchNeighbors(), Phase2OTBarrelRod::searchNeighbors(), TIBRing::searchNeighbors(), CompositeTECPetal::searchNeighbors(), AlignmentParameterSelector::selectedParameters(), edm::EventSetup::setKnownRecordsSupplier(), CSCBaseElectronicsSim::setSignalTimeRange(), MatrixReader.MatrixReader::showRaw(), CSCAnodeData2007::sizeInWords(), CSCAnodeData2006::sizeInWords(), CSCALCTs2006::sizeInWords(), conddb_migrate::tags_in_gts(), evf::FastMonitoringService::Encoding::update(), AlignmentParameterBuilder::~AlignmentParameterBuilder(), DTVDriftCalibration::cellInfo::~cellInfo(), PhysicsTools::Calibration::MVAComputerContainer::~MVAComputerContainer(), and pat::PATUserDataMerger< pat::pat::MET, pat::helper::AddUserInt >::~PATUserDataMerger().
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 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.
void PVValHelper::fillByIndex | ( | std::vector< TH1F * > & | h, |
unsigned int | index, | ||
double | x, | ||
std::string | tag = "" |
||
) |
Definition at line 42 of file PVValidationHelpers.cc.
Referenced by PrimaryVertexValidation::analyze().
std::pair< Measurement1D, Measurement1D > PVValHelper::fitResiduals | ( | TH1 * | hist | ) |
Definition at line 230 of file PVValidationHelpers.cc.
References RecoEcal_EventContent_cff::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 164 of file PVValidationHelpers.cc.
References a, begin, end, and findQualityFiles::v.
Referenced by PrimaryVertexValidation::PrimaryVertexValidation().
Measurement1D PVValHelper::getMAD | ( | TH1F * | histo | ) |
Definition at line 200 of file PVValidationHelpers.cc.
References funct::abs(), getMedian(), pileupCalc::nbins, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, Measurement1D::value(), and create_public_lumi_plots::weights.
Referenced by PrimaryVertexValidation::fillMap(), PrimaryVertexValidation::fillTrendPlot(), and PrimaryVertexValidation::fillTrendPlotByIndex().
Measurement1D PVValHelper::getMedian | ( | TH1F * | histo | ) |
Definition at line 183 of file PVValidationHelpers.cc.
References lumiQueryAPI::q, and mps_fire::result.
Referenced by PrimaryVertexValidation::fillMap(), PrimaryVertexValidation::fillTrendPlot(), PrimaryVertexValidation::fillTrendPlotByIndex(), and getMAD().
PVValHelper::plotLabels PVValHelper::getTypeString | ( | PVValHelper::residualType | type | ) |
Definition at line 62 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 131 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 19 of file PVValidationHelpers.h.
References mps_fire::i, N, funct::pow(), and ApeEstimator_cff::width.
void PVValHelper::shrinkHistVectorToFit | ( | std::vector< TH1F * > & | h, |
unsigned int | desired_size | ||
) |
Definition at line 55 of file PVValidationHelpers.cc.
Referenced by PrimaryVertexValidation::analyze().