ATLAS Offline Software
Loading...
Searching...
No Matches
TrkPriVxPurityTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKVERTEXFITTERVALIDATIONUTILS_TRKPRIVXPURITYTOOL_H
6#define TRKVERTEXFITTERVALIDATIONUTILS_TRKPRIVXPURITYTOOL_H
7
20
22
23namespace Trk
24{
25 static const InterfaceID IID_TrkPriVxPurityTool("TrkPriVxPurityTool", 1, 0);
26
27 class VxCandidate;
28 class TrkPriVxPurity;
29
31 {
32 public:
33
37 StatusCode initialize();
38
42 StatusCode finalize();
43
47 TrkPriVxPurityTool(const std::string& t, const std::string& n, const IInterface* p);
48
53
57 static const InterfaceID& interfaceID(){ return IID_TrkPriVxPurityTool; }
58
63 const TrkPriVxPurity * purity(const Trk::VxCandidate * vertex) const;
64
65 private:
66
73 double m_r_tol;
74
81 double m_z_tol;
82
87
92
93 };//end of class definitions
94
95}//end of namespace definitions
96
97#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
TrkPriVxPurityTool(const std::string &t, const std::string &n, const IInterface *p)
AlgTool constructor.
std::string m_mc_collection_name
Name of the MC event collection to read.
std::string m_trackParticleTruthCollName
Name of the track true <-> rec map to be read from the storegate.
double m_z_tol
Primary vertex definition for MC: tolerances taken in z (mm) around the simulated point of proton-pro...
static const InterfaceID & interfaceID()
AlgTool interface method.
StatusCode initialize()
AlgTool method.
const TrkPriVxPurity * purity(const Trk::VxCandidate *vertex) const
Actual analysis method, returning a Trk::TrkPriVxPurity object for a given TrkVxCandidate.
double m_r_tol
Primary vertex definition for MC: tolerances taken in r (mm) around the simulated point of proton-pro...
StatusCode finalize()
AlgTool method.
virtual ~TrkPriVxPurityTool()
AlgTool destructor.
A prototype data class for primary vertex purity.
Ensure that the ATLAS eigen extensions are properly loaded.
static const InterfaceID IID_TrkPriVxPurityTool("TrkPriVxPurityTool", 1, 0)