ATLAS Offline Software
Loading...
Searching...
No Matches
PRD_TruthTrajectorySelectorID.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INDETTRUTHTOOLS_PRD_TRUTHTRAJECTORYSELECTORID_H
6#define INDETTRUTHTOOLS_PRD_TRUTHTRAJECTORYSELECTORID_H
7
9// PRD_TruthTrajectorySelectorID.h, (c) ATLAS Detector software
11
15
17
18 public :
20 ThreePointCircle( const std::vector<Amg::Vector3D>& vecPoints);
21
24
26 const Amg::Vector2D& center() const;
29
30 //assignment is not safe unless a deep copy is made, so delete
32 //copy is not safe unless a deep copy is made, so delete
34
35
36 /* d0, z0, eta, phi, pt */
37 double d0() const;
38 double z0() const;
39 double phi0() const;
40 double eta() const;
41 double pT() const;
42 double radius() const;
43
44 private :
45 void constructCircle(const Amg::Vector3D&, const Amg::Vector3D&, const Amg::Vector3D&);
46 // the reference point
48 // the parameters
50 double m_radius{};
52
53};
54
55inline double ThreePointCircle::d0() const { return m_d0; }
56inline double ThreePointCircle::z0() const { return m_z0; }
57inline double ThreePointCircle::phi0() const { return m_phi0; }
58inline double ThreePointCircle::eta() const { return m_eta; }
59inline double ThreePointCircle::pT() const { return m_pt; }
60inline double ThreePointCircle::radius() const { return m_radius; }
61
62inline const Amg::Vector2D& ThreePointCircle::center() const { return m_center; }
63
65
66
67class AtlasDetectorID;
68
69namespace InDet {
79
80 public:
81 //** Constructor with parameters */
82 PRD_TruthTrajectorySelectorID( const std::string& t, const std::string& n, const IInterface* p );
83
86
87 // Athena algtool's Hooks
88 StatusCode initialize();
89 StatusCode finalize();
90
92 virtual bool pass( const Trk::PRD_TruthTrajectory & ) const;
93
94 private:
97 };
98}
99
100#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
virtual bool pass(const Trk::PRD_TruthTrajectory &) const
Interface method from IPRD_TruthTrajectorySelector.
PRD_TruthTrajectorySelectorID(const std::string &t, const std::string &n, const IInterface *p)
const AtlasDetectorID * m_atlasId
ID pixel helper.
Amg::Translation3D * m_translation
const Amg::Translation3D * frameTranslation() const
Translation.
ThreePointCircle & operator=(const ThreePointCircle &)=delete
ThreePointCircle(const std::vector< Amg::Vector3D > &vecPoints)
The constructor from three points.
const Amg::Vector2D & center() const
center
void constructCircle(const Amg::Vector3D &, const Amg::Vector3D &, const Amg::Vector3D &)
ThreePointCircle(const ThreePointCircle &)=delete
The interface for the truth PRD trajectory selector.
Eigen::Matrix< double, 2, 1 > Vector2D
Eigen::Matrix< double, 3, 1 > Vector3D
Eigen::Translation< double, 3 > Translation3D
Primary Vertex Finder.
simple definitiion of a PRD_TruhtTrajectory
#define private