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