#include "CommonTools/Statistics/src/IncompleteGammaComplement.h"
#include "CommonTools/Statistics/interface/ChiSquaredProbability.h"
Go to the source code of this file.
Macros | |
#define | ChiSquaredProbability_H |
Functions | |
float | ChiSquaredProbability (double chiSquared, double nrDOF) |
float | LnChiSquaredProbability (double chiSquared, double nrDOF) |
#define ChiSquaredProbability_H |
Definition at line 2 of file ChiSquaredProbability.cc.
float ChiSquaredProbability | ( | double | chiSquared, |
double | nrDOF | ||
) |
Returns the probability that an observation, correctly described by a model with nrDOF, will give rise to a chi-squared larger than the one observed; from this, one can interpret this probability as how likely it is to observe as high (or higher) a chi-squared. source: Numerical Recipes
Definition at line 13 of file ChiSquaredProbability.cc.
References IncompleteGammaComplement::value().
Referenced by BPHGenericVertexSelect::accept(), MiniAODSVAnalyzer::analyze(), Phase2OTMonitorTTTrack::analyze(), OuterTrackerMonitorTTTrack::analyze(), ElectronConversionRejectionValidator::analyze(), TkConvValidator::analyze(), PhotonValidator::analyze(), HitResol::analyze(), PhotonAnalyzer::analyze(), OverlapValidation::analyzeTrajectory(), ConversionProducer::buildCollection(), ConfigurableTrimmedVertexFinder::clean(), egammaisolation::EgammaTrackExtractor::deposit(), CSCOfflineMonitor::doSegments(), VertexFitterResult::fill(), DiMuonMassBiasMonitor::fillDecayHistograms(), HeavyFlavorDQMAnalyzer::fillDecayHistograms(), MuonTrackAnalyzer::fillPlots(), SVTagInfoValidationAnalyzer::fillRecoToSim(), recoBSVTagInfoValidationAnalyzer::fillRecoToSim(), SVTagInfoValidationAnalyzer::fillSimToReco(), recoBSVTagInfoValidationAnalyzer::fillSimToReco(), LeptonSkimming::filter(), OniaPhotonConversionProducer::HighpuritySubset(), CSCSegAlgoTC::isSegmentGood(), LowPtConversion::match(), egammaisolation::EgammaTrackSelector::operator()(), ChiSquared::probability(), PFConversionProducer::produce(), ConversionTrackMerger::produce(), CSCSegAlgoST::prune_bad_hits(), ConversionVertexFinder::run(), CSCSegAlgoTC::segmentSort(), TrimmedVertexFinder::theWorst(), PrimaryVertexMonitor::vertexPlots(), and GeneralPurposeVertexAnalyzer::vertexPlots().
float LnChiSquaredProbability | ( | double | chiSquared, |
double | nrDOF | ||
) |
Definition at line 17 of file ChiSquaredProbability.cc.
References IncompleteGammaComplement::ln().
Referenced by ChiSquared::lnProbability(), GlobalTrackQualityProducer::trackProbability(), and GlobalTrajectoryBuilderBase::trackProbability().