1 #ifndef NuclearVertexBuilder_h_ 2 #define NuclearVertexBuilder_h_ 23 chi2Cut_(iConfig.getParameter<double>(
"chi2Cut")),
24 DPtovPtCut_(iConfig.getParameter<double>(
"DPtovPtCut")),
26 shareFrac_(iConfig.getParameter<double>(
"shareFrac")){}
28 void build(
const reco::TrackRef& primaryTrack, std::vector<reco::TrackRef>& secondaryTrack );
43 const double& distOfClosestApp,
46 std::vector<reco::TrackRef>& tC)
const;
48 std::vector<reco::TrackRef>& tC)
const;
64 if( a->numberOfValidHits() != b->numberOfValidHits())
return (a->numberOfValidHits()> b->numberOfValidHits());
65 else return (a->normalizedChi2()<b->normalizedChi2());
void addSecondaryTrack(const reco::TrackRef &secTrack)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
reco::Vertex getVertex() const
NuclearVertexBuilder(const MagneticField *mag, const TransientTrackBuilder *transientTkBuilder, const edm::ParameterSet &iConfig)
void build(const reco::TrackRef &primaryTrack, std::vector< reco::TrackRef > &secondaryTrack)
bool operator()(const reco::TrackRef &a, const reco::TrackRef &b)
const TransientTrackBuilder * theTransientTrackBuilder
ClosestApproachInRPhi * closestApproach(const reco::TrackRef &primTrack, const reco::TrackRef &secTrack) const
bool isCompatible(const reco::TrackRef &secTrack) const
void checkEnergy(const reco::TrackRef &primTrack, std::vector< reco::TrackRef > &tC) const
void FillVertexWithLastPrimHit(const reco::TrackRef &primTrack, const std::vector< reco::TrackRef > &secTracks)
bool FillVertexWithCrossingPoint(const reco::TrackRef &primTrack, const std::vector< reco::TrackRef > &secTracks)
FreeTrajectoryState getTrajectory(const reco::TrackRef &track) const
bool isGoodSecondaryTrack(const reco::TrackRef &primTrack, const reco::TrackRef &secTrack) const
const MagneticField * theMagField
void cleanTrackCollection(const reco::TrackRef &primTrack, std::vector< reco::TrackRef > &tC) const
bool FillVertexWithAdaptVtxFitter(const reco::TrackRef &primTrack, const std::vector< reco::TrackRef > &secTracks)