CP::TightTrackVertexAssociationTool Class Reference

#include <TightTrackVertexAssociationTool.h>

Inheritance diagram for CP::TightTrackVertexAssociationTool:
asg::AsgTool CP::ITrackVertexAssociationTool asg::IAsgTool asg::IAsgTool

List of all members.

Public Member Functions

 TightTrackVertexAssociationTool (std::string name)
StatusCode initialize ()
void print () const
 Print the state of the tool.
bool isCompatible (const xAOD::TrackParticle &trk, const xAOD::Vertex &vx) const
xAOD::TrackVertexAssociationMap getMatchMap (std::vector< const xAOD::TrackParticle * > &trk_list, std::vector< const xAOD::Vertex * > &vx_list) const
xAOD::TrackVertexAssociationMap getMatchMap (const xAOD::TrackParticleContainer &trkCont, const xAOD::VertexContainer &vxCont) const
ElementLink
< xAOD::VertexContainer
getUniqueMatchVertexLink (const xAOD::TrackParticle &, const xAOD::VertexContainer &vxCont) const
const xAOD::VertexgetUniqueMatchVertex (const xAOD::TrackParticle &trk, std::vector< const xAOD::Vertex * > &vx_list) const
xAOD::TrackVertexAssociationMap getUniqueMatchMap (std::vector< const xAOD::TrackParticle * > &trk_list, std::vector< const xAOD::Vertex * > &vx_list) const
xAOD::TrackVertexAssociationMap getUniqueMatchMap (const xAOD::TrackParticleContainer &trkCont, const xAOD::VertexContainer &vxCont) const

Detailed Description

TightTrackVertexAssociationTool: apply tight track-vertex association process, the main idea is base on track used in vertex fit and recover the rest by loose method


Member Function Documentation

xAOD::TrackVertexAssociationMap CP::TightTrackVertexAssociationTool::getUniqueMatchMap ( std::vector< const xAOD::TrackParticle * > &  trk_list,
std::vector< const xAOD::Vertex * > &  vx_list 
) const [virtual]

This functions related to the previous functions, will return a map<const xAOD::Vertex*, std::vector<const xAOD::TrackParticle*> > (defined as TrackVertexAssociationMap) to store the best matched tracks for each vertex. Note: the dummy vertex will be also stored in the map but the track stored vector which assigned to this vertex will be empty

Implements CP::ITrackVertexAssociationTool.

ElementLink< xAOD::VertexContainer > CP::TightTrackVertexAssociationTool::getUniqueMatchVertexLink ( const xAOD::TrackParticle trk,
const xAOD::VertexContainer vxCont 
) const [virtual]

This functions will return the best matched vertex For ambiguity resolve: 1) If this track is used in vertex fit, always pick up the vertex fitted using this track. 2) If this track is not used for any vertex fit, pick up the vertex with mini_dz

Implements CP::ITrackVertexAssociationTool.

StatusCode CP::TightTrackVertexAssociationTool::initialize ( void   )  [virtual]

Dummy implementation of the initialisation function

It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...

Reimplemented from asg::AsgTool.

bool CP::TightTrackVertexAssociationTool::isCompatible ( const xAOD::TrackParticle trk,
const xAOD::Vertex vx 
) const [virtual]

This function will return the decision of whether the track is matched to the Vertex Not sure whether the track is matched to best choice Note: Only apply to good vertex(vx->vertexType()!=xAODVxType::NoVtx), return false if vertex is a dummy one

Implements CP::ITrackVertexAssociationTool.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1