1 #ifndef TrackAssociatorByChi2Impl_h 2 #define TrackAssociatorByChi2Impl_h 93 std::pair<bool,reco::TrackBase::ParameterVector> parametersAtClosestApproach(
const Basic3DVector<double>&,
99 double compareTracksParam(reco::TrackCollection::const_iterator,
100 edm::SimTrackContainer::const_iterator,
121 double associateRecoToSim(reco::TrackCollection::const_iterator,
122 TrackingParticleCollection::const_iterator,
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
const reco::BeamSpot * theBeamSpot
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
double getChi2(const reco::TrackBase::ParameterVector &rParameters, const reco::TrackBase::CovarianceMatrix &recoTrackCovMatrix, const Basic3DVector< double > &momAtVtx, const Basic3DVector< double > &vert, int charge, const MagneticField &magfield, const reco::BeamSpot &bs)
basic method where chi2 is computed
edm::AssociationMap< edm::OneToManyWithQualityGeneric< reco::GenParticleCollection, edm::View< reco::Track >, double > > GenToRecoCollection
std::vector< Track > TrackCollection
collection of Tracks
virtual reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
math::Vector< dimension >::type ParameterVector
parameter vector
std::vector< RecoToSimPair > RecoToSimPairAssociation
std::pair< reco::Track, Chi2SimMap > RecoToSimPair
const MagneticField * theMF
TrackAssociatorByChi2Impl(const MagneticField &mF, const reco::BeamSpot &bs, double chi2Cut, bool onlyDiag)
Constructor.
virtual reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
std::vector< SimVertex > SimVertexContainer
virtual reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const override
compare reco to sim the handle of reco::Track and TrackingParticle collections
std::map< double, SimTrack > Chi2SimMap
edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, reco::GenParticleCollection, double > > RecoToGenCollection
std::vector< SimTrack > SimTrackContainer
virtual reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const override
compare reco to sim the handle of reco::Track and TrackingParticle collections
math::Error< dimension >::type CovarianceMatrix
5 parameter covariance matrix