1 #ifndef DataFormat_ParticleFlowReco_PFDisplacedVertexCandidate_h 2 #define DataFormat_ParticleFlowReco_PFDisplacedVertexCandidate_h 49 typedef std::map<float, std::pair<int, int> >
DistMap;
70 std::multimap<float, unsigned>& sortedAssociates,
110 const float dist(
unsigned ie1,
unsigned ie2)
const;
113 bool testLink(
unsigned ie1,
unsigned ie2)
const;
void addElement(const TrackBaseRef)
add a track Reference to the current Candidate
void associatedElements(const unsigned i, const VertexLinkData &vertexLinkData, std::multimap< float, unsigned > &sortedAssociates, const VertexLinkTest test=LINKTEST_DCA) const
associate 2 elements
const GlobalPoint dcaPoint(unsigned ie1, unsigned ie2) const
const VertexLinkData & vertexLinkData() const
std::vector< TrackBaseRef > elements_
--—— MEMBERS --—— ///
A block of tracks linked together.
bool isValid() const
A Vertex Candidate is valid if it has at least two tracks.
PFDisplacedVertexCandidate()
Default constructor.
DistVector distVector() const
void setLink(unsigned i1, unsigned i2, const float dist, const GlobalPoint &dcaPoint, const VertexLinkTest test=LINKTEST_DCA)
bool matrix2vector(unsigned i, unsigned j, unsigned &index) const
std::map< unsigned int, VertexLink > VertexLinkData
void Dump(std::ostream &out=std::cout) const
cout function
const std::vector< TrackBaseRef > & elements() const
std::vector< float > DistVector
friend std::ostream & operator<<(std::ostream &, const PFDisplacedVertexCandidate &)
cout function
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
bool testLink(unsigned ie1, unsigned ie2) const
test if a link between two tracks is valid: value_link =! -1
unsigned vertexLinkDataSize() const
--—— Storage of the information --—— ///
DistVector r2Vector() const
const TrackBaseRef & tref(unsigned ie) const
VertexLinkData vertexLinkData_
map of links between tracks
std::map< float, std::pair< int, int > > DistMap
const float dist(unsigned ie1, unsigned ie2) const
--—— Internal tools --—— ///
DistMap r2Map() const
--—— Provide useful information --—— ///
VertexLink(float d, GlobalPoint p, char t)