#include <Measurement1D.h>
Public Member Functions | |
double | error () const |
Measurement1D (const double &aValue) | |
Measurement1D (const double &aValue, const double &aError) | |
Measurement1D () | |
double | significance () const |
double | value () const |
~Measurement1D () | |
Private Attributes | |
double | theError |
double | theValue |
A class that combines a value and it's associated uncertainty, or error, together. Provides a more explicit interface than a pair<double,double>. If you don't like the name, propose a better one!
Definition at line 11 of file Measurement1D.h.
Measurement1D::Measurement1D | ( | ) | [inline] |
Definition at line 16 of file Measurement1D.h.
Measurement1D::Measurement1D | ( | const double & | aValue | ) | [inline] |
Definition at line 18 of file Measurement1D.h.
Measurement1D::Measurement1D | ( | const double & | aValue, |
const double & | aError | ||
) | [inline] |
Definition at line 21 of file Measurement1D.h.
Measurement1D::~Measurement1D | ( | ) | [inline] |
Definition at line 26 of file Measurement1D.h.
{} ;
double Measurement1D::error | ( | ) | const [inline] |
Definition at line 30 of file Measurement1D.h.
References theError.
Referenced by addMeas(), PatBJetVertexAnalyzer::analyze(), PatBJetTrackAnalyzer::analyze(), PixelTrackBuilder::build(), DivisiveVertexFinder::findVertexes(), reco::GsfTangent::GsfTangent(), reco::VertexFilter::operator()(), pixeltemp::Cluster1DMerger< T >::operator()(), Cluster1DMerger< T >::operator()(), PrimaryVertexAnalyzer4PU::printPVTrks(), InclusiveVertexFinder::produce(), PixelFitterByConformalMappingAndLine::run(), pat::VertexAssociation::setDr(), pat::VertexAssociation::setDz(), VertexDistanceXY::signedDistance(), DistanceOfVertices2D::signedDistance(), VertexDistance3D::signedDistance(), and ImpactParameterAlgorithm::tag().
{ return theError;}
double Measurement1D::significance | ( | ) | const [inline] |
Definition at line 32 of file Measurement1D.h.
References theError, and theValue.
Referenced by PatBJetVertexAnalyzer::analyze(), PatBJetTrackAnalyzer::analyze(), PFRecoTauDiscriminationByFlight::discriminate(), SimpleSecondaryVertexComputer::discriminator(), reco::TauImpactParameterInfo::discriminator(), V0Fitter::fitAll(), HLTmmkFilter::hltFilter(), HLTmmkkFilter::hltFilter(), VertexMerging::mergeVertex(), InclusiveVertexFinder::nearTracks(), Flight2DSvFilter::operator()(), reco::VertexFilter::operator()(), TrackFilterForPVFinding::operator()(), CombinedSVComputer::operator()(), reco::TrackSelector::operator()(), reco::VertexSorting::operator()(), GhostTrackComputer::operator()(), PrimaryVertexAnalyzer4PU::printRecTrks(), InclusiveVertexFinder::produce(), significanceHigher(), PFRecoTauDiscriminationByFlightPathSignificance::vertexSignificance(), and CaloRecoTauDiscriminationByFlightPathSignificance::vertexSignificance().
double Measurement1D::value | ( | ) | const [inline] |
Definition at line 28 of file Measurement1D.h.
References theValue.
Referenced by addMeas(), PatBJetVertexAnalyzer::analyze(), PatBJetTrackAnalyzer::analyze(), PixelTrackBuilder::build(), SimpleSecondaryVertexComputer::discriminator(), reco::TauImpactParameterInfo::discriminator(), VertexCompatibleWithBeam::distanceToBeam(), DivisiveVertexFinder::findVertexes(), reco::GsfTangent::GsfTangent(), HLTmmkkFilter::hltFilter(), main(), Flight2DSvFilter::operator()(), reco::VertexFilter::operator()(), CombinedSVComputer::operator()(), pixeltemp::Cluster1DMerger< T >::operator()(), reco::TrackSelector::operator()(), VertexCompatibleWithBeam::operator()(), Cluster1DMerger< T >::operator()(), GhostTrackComputer::operator()(), Clusterizer1DCommons::ComparePairs< T >::operator()(), PrimaryVertexAnalyzer4PU::printPVTrks(), InclusiveVertexFinder::produce(), PixelFitterByConformalMappingAndLine::run(), pat::VertexAssociation::setDr(), pat::VertexAssociation::setDz(), VertexDistanceXY::signedDistance(), DistanceOfVertices2D::signedDistance(), VertexDistance3D::signedDistance(), ImpactParameterAlgorithm::tag(), and TrackVertexArbitration::trackVertexArbitrator().
{ return theValue;}
double Measurement1D::theError [private] |
Definition at line 40 of file Measurement1D.h.
Referenced by error(), and significance().
double Measurement1D::theValue [private] |
Definition at line 39 of file Measurement1D.h.
Referenced by significance(), and value().