1 #ifndef DataFormat_ParticleFlowReco_PFDisplacedVertexSeed_h 2 #define DataFormat_ParticleFlowReco_PFDisplacedVertexSeed_h 34 typedef std::set< reco::TrackBaseRef >::iterator
IEset;
43 {
return s1.
key() < s2.
key();}
64 const std::set < TrackBaseRef, Compare >&
elements()
const const double nTracks() const
friend std::ostream & operator<<(std::ostream &out, const PFDisplacedVertexSeed &co)
bool operator()(const TrackBaseRef &s1, const TrackBaseRef &s2) const
std::set< TrackBaseRef, Compare > elements_
---—— MEMBERS ----—— ///
void addElement(TrackBaseRef)
Add a track Reference to the current Seed.
void mergeWith(const PFDisplacedVertexSeed &displacedVertex)
Merge two Seeds if their seed Points are close enough.
const std::set< TrackBaseRef, Compare > & elements() const
void Dump(std::ostream &out=std::cout) const
cout function
GlobalPoint seedPoint_
Seed point which indicated the approximative position of the vertex.
const GlobalPoint & seedPoint() const
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
bool isEmpty() const
Check if it is a new Seed.
std::set< reco::TrackBaseRef >::iterator IEset
-----— Useful Types -----— ///
const double totalWeight() const
PFDisplacedVertexSeed()
Default constructor.
void updateSeedPoint(const GlobalPoint &dcaPoint, const TrackBaseRef, const TrackBaseRef, double weight=1)