ATLAS Offline Software
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;
28  const Amg::Translation3D* frameTranslation() 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
49  double m_d0, m_z0, m_phi0, m_eta, m_pt;
50  double m_radius{};
52 
53 };
54 
55 inline double ThreePointCircle::d0() const { return m_d0; }
56 inline double ThreePointCircle::z0() const { return m_z0; }
57 inline double ThreePointCircle::phi0() const { return m_phi0; }
58 inline double ThreePointCircle::eta() const { return m_eta; }
59 inline double ThreePointCircle::pT() const { return m_pt; }
60 inline double ThreePointCircle::radius() const { return m_radius; }
61 
62 inline const Amg::Vector2D& ThreePointCircle::center() const { return m_center; }
63 
65 
66 
67 class AtlasDetectorID;
68 
69 namespace 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
90 
92  virtual bool pass( const Trk::PRD_TruthTrajectory & ) const;
93 
94  private:
97  };
98 }
99 
100 #endif
ThreePointCircle::m_phi0
double m_phi0
Definition: PRD_TruthTrajectorySelectorID.h:49
Trk::IPRD_TruthTrajectorySelector
The interface for the truth PRD trajectory selector.
Definition: IPRD_TruthTrajectorySelector.h:30
ThreePointCircle::z0
double z0() const
Definition: PRD_TruthTrajectorySelectorID.h:56
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
InDet::PRD_TruthTrajectorySelectorID
Definition: PRD_TruthTrajectorySelectorID.h:78
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
ThreePointCircle::eta
double eta() const
Definition: PRD_TruthTrajectorySelectorID.h:58
ThreePointCircle::ThreePointCircle
ThreePointCircle(const std::vector< Amg::Vector3D > &vecPoints)
The constructor from three points.
Definition: PRD_TruthTrajectorySelectorID.cxx:42
ThreePointCircle::d0
double d0() const
Definition: PRD_TruthTrajectorySelectorID.h:55
ThreePointCircle::pT
double pT() const
Definition: PRD_TruthTrajectorySelectorID.h:59
ThreePointCircle::m_z0
double m_z0
Definition: PRD_TruthTrajectorySelectorID.h:49
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDet::PRD_TruthTrajectorySelectorID::PRD_TruthTrajectorySelectorID
PRD_TruthTrajectorySelectorID(const std::string &t, const std::string &n, const IInterface *p)
Definition: PRD_TruthTrajectorySelectorID.cxx:20
ThreePointCircle::radius
double radius() const
Definition: PRD_TruthTrajectorySelectorID.h:60
ThreePointCircle::operator=
ThreePointCircle & operator=(const ThreePointCircle &)=delete
ThreePointCircle::m_eta
double m_eta
Definition: PRD_TruthTrajectorySelectorID.h:49
ThreePointCircle::m_pt
double m_pt
Definition: PRD_TruthTrajectorySelectorID.h:49
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ThreePointCircle::center
const Amg::Vector2D & center() const
center
Definition: PRD_TruthTrajectorySelectorID.h:62
AthAlgTool.h
ThreePointCircle::m_d0
double m_d0
Definition: PRD_TruthTrajectorySelectorID.h:49
ThreePointCircle::frameTranslation
const Amg::Translation3D * frameTranslation() const
Translation.
Definition: PRD_TruthTrajectorySelectorID.h:64
ThreePointCircle::m_translation
Amg::Translation3D * m_translation
Definition: PRD_TruthTrajectorySelectorID.h:47
ThreePointCircle::phi0
double phi0() const
Definition: PRD_TruthTrajectorySelectorID.h:57
Trk::PRD_TruthTrajectory
Definition: PRD_TruthTrajectory.h:27
ThreePointCircle::m_radius
double m_radius
Definition: PRD_TruthTrajectorySelectorID.h:50
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
ThreePointCircle
Definition: PRD_TruthTrajectorySelectorID.h:16
InDet::PRD_TruthTrajectorySelectorID::pass
virtual bool pass(const Trk::PRD_TruthTrajectory &) const
Interface method from IPRD_TruthTrajectorySelector.
Definition: PRD_TruthTrajectorySelectorID.cxx:134
IPRD_TruthTrajectorySelector.h
InDet::PRD_TruthTrajectorySelectorID::~PRD_TruthTrajectorySelectorID
~PRD_TruthTrajectorySelectorID()
Tool Destructor.
Definition: PRD_TruthTrajectorySelectorID.h:85
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
ThreePointCircle::m_center
Amg::Vector2D m_center
Definition: PRD_TruthTrajectorySelectorID.h:51
LocalParameters.h
Amg::Translation3D
Eigen::Translation< double, 3 > Translation3D
Definition: GeoPrimitives.h:44
ThreePointCircle::ThreePointCircle
ThreePointCircle(const ThreePointCircle &)=delete
AthAlgTool
Definition: AthAlgTool.h:26
InDet::PRD_TruthTrajectorySelectorID::finalize
StatusCode finalize()
Definition: PRD_TruthTrajectorySelectorID.cxx:37
InDet::PRD_TruthTrajectorySelectorID::m_atlasId
const AtlasDetectorID * m_atlasId
ID pixel helper.
Definition: PRD_TruthTrajectorySelectorID.h:96
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
InDet::PRD_TruthTrajectorySelectorID::initialize
StatusCode initialize()
Definition: PRD_TruthTrajectorySelectorID.cxx:26
ThreePointCircle::constructCircle
void constructCircle(const Amg::Vector3D &, const Amg::Vector3D &, const Amg::Vector3D &)
Definition: PRD_TruthTrajectorySelectorID.cxx:56
ThreePointCircle::~ThreePointCircle
~ThreePointCircle()
Destructor.
Definition: PRD_TruthTrajectorySelectorID.cxx:51