ATLAS Offline Software
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 
22 
23 namespace Trk
24 {
25  static const InterfaceID IID_TrkPriVxPurityTool("TrkPriVxPurityTool", 1, 0);
26 
27  class VxCandidate;
28  class TrkPriVxPurity;
29 
31  {
32  public:
33 
38 
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 
91  std::string m_mc_collection_name;
92 
93  };//end of class definitions
94 
95 }//end of namespace definitions
96 
97 #endif
Trk::TrkPriVxPurityTool::~TrkPriVxPurityTool
virtual ~TrkPriVxPurityTool()
AlgTool destructor.
Trk::TrkPriVxPurityTool::purity
const TrkPriVxPurity * purity(const Trk::VxCandidate *vertex) const
Actual analysis method, returning a Trk::TrkPriVxPurity object for a given TrkVxCandidate.
Definition: TrkPriVxPurityTool.cxx:62
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::TrkPriVxPurityTool::finalize
StatusCode finalize()
AlgTool method.
Definition: TrkPriVxPurityTool.cxx:34
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Trk::TrkPriVxPurityTool::m_trackParticleTruthCollName
std::string m_trackParticleTruthCollName
Name of the track true <-> rec map to be read from the storegate.
Definition: TrkPriVxPurityTool.h:86
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Trk::TrkPriVxPurity
Definition: TrkPriVxPurity.h:41
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::TrkPriVxPurityTool::initialize
StatusCode initialize()
AlgTool method.
Definition: TrkPriVxPurityTool.cxx:30
Trk::TrkPriVxPurityTool::m_mc_collection_name
std::string m_mc_collection_name
Name of the MC event collection to read.
Definition: TrkPriVxPurityTool.h:91
Trk::TrkPriVxPurityTool::m_r_tol
double m_r_tol
Primary vertex definition for MC: tolerances taken in r (mm) around the simulated point of proton-pro...
Definition: TrkPriVxPurityTool.h:73
Trk::TrkPriVxPurityTool::TrkPriVxPurityTool
TrkPriVxPurityTool(const std::string &t, const std::string &n, const IInterface *p)
AlgTool constructor.
Definition: TrkPriVxPurityTool.cxx:39
Trk::vertex
@ vertex
Definition: MeasurementType.h:21
Trk::TrkPriVxPurityTool
Definition: TrkPriVxPurityTool.h:31
Trk::VxCandidate
Definition: VxCandidate.h:27
AthAlgTool
Definition: AthAlgTool.h:26
Trk::TrkPriVxPurityTool::m_z_tol
double m_z_tol
Primary vertex definition for MC: tolerances taken in z (mm) around the simulated point of proton-pro...
Definition: TrkPriVxPurityTool.h:81
Trk::TrkPriVxPurityTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface method.
Definition: TrkPriVxPurityTool.h:57