ATLAS Offline Software
SiSpacePointForSeed.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
8 // Header file for class SiSpacePointForSeed
10 // (c) ATLAS Detector software
12 // Class space points for seed maker
14 // Version 1.0 18/11/2004 I.Gavrilenko
16 
17 #ifndef SiSpacePointForSeed_h
18 #define SiSpacePointForSeed_h
19 
20 #include <cmath>
21 
22 namespace Trk {
23  class SpacePoint;
24  class Surface;
25 }
26 
27 namespace InDet {
28  class SiCluster;
29 
30  class SiSpacePointForSeed final{
31 
33  // Public methods:
35 
36  public:
37 
38  SiSpacePointForSeed() = default;
42  SiSpacePointForSeed& operator = (SiSpacePointForSeed&) noexcept = default;
44 
47 
48  void set(const Trk::SpacePoint*const&,const float*);
49  void set(const Trk::SpacePoint*const&,const float*,const float*);
50  void setQuality(float);
51  void setParam(const float&);
52  void setD0(const float&);
53  void setEta(const float&);
54  void setDZDR(const float&);
55  void setPt(const float&);
57 
58  const Trk::SpacePoint* spacepoint = nullptr;
59  const float& x() const {return m_x;}
60  const float& y() const {return m_y;}
61  const float& z() const {return m_z;}
62  const float& radius() const {return m_r;}
63  float phi() const {return atan2(m_y,m_x);}
64  const float& covr() const {return m_covr;}
65  const float& covz() const {return m_covz;}
66  const float& d0() const {return m_d0;}
67  const float& eta() const {return m_eta;}
68  const float& param() const {return m_param;}
69  const float& scorePenalty() const {return m_scorePenalty;}
70  const float& quality() const {return m_q ;}
71  const float& dzdr() const {return m_dzdr;}
72  const float& Pt() const {return m_pt;}
73  const Trk::Surface* sur() const {return m_su;}
74  const Trk::Surface* sun() const {return m_sn;}
75 
76  private:
77 
78  float m_x{} ; // x-coordinate in beam system coordinates
79  float m_y{} ; // y-coordinate in beam system coordinates
80  float m_z{} ; // z-coordinate in beam system coordinetes
81  float m_r{} ; // radius in beam system coordinates
82  float m_covr{}; //
83  float m_covz{}; //
84  float m_d0 = 0.f;
85  float m_eta = 0.f;
86  float m_dzdr = 0.f;
87  float m_pt = 0.f;
88  float m_param{};
89  float m_scorePenalty=0.f;
90  float m_q{};
91  const Trk::Surface* m_su = nullptr;
92  const Trk::Surface* m_sn = nullptr;
93  };
94 
95 } // end of name space
96 
97 #endif // SiSpacePointForSeed_h
InDet::SiSpacePointForSeed::scorePenalty
const float & scorePenalty() const
impact parameter
Definition: SiSpacePointForSeed.h:69
Trk::SpacePoint
Definition: Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePoint.h:35
InDet::SiSpacePointForSeed::sun
const Trk::Surface * sun() const
Definition: SiSpacePointForSeed.h:74
InDet::SiSpacePointForSeed::m_r
float m_r
Definition: SiSpacePointForSeed.h:81
InDet::SiSpacePointForSeed
Definition: SiSpacePointForSeed.h:30
InDet::SiSpacePointForSeed::m_dzdr
float m_dzdr
Definition: SiSpacePointForSeed.h:86
InDet::SiSpacePointForSeed::d0
const float & d0() const
Definition: SiSpacePointForSeed.h:66
InDet::SiSpacePointForSeed::m_q
float m_q
penalty term in the seed score
Definition: SiSpacePointForSeed.h:90
InDet::SiSpacePointForSeed::spacepoint
const Trk::SpacePoint * spacepoint
Definition: SiSpacePointForSeed.h:58
InDet::SiSpacePointForSeed::m_d0
float m_d0
Definition: SiSpacePointForSeed.h:84
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::SiSpacePointForSeed::m_scorePenalty
float m_scorePenalty
impact parameter
Definition: SiSpacePointForSeed.h:89
SiCluster
Definition: Trigger/TrigAccel/TrigCudaFitter/src/SiCluster.h:9
InDet::SiSpacePointForSeed::covz
const float & covz() const
Definition: SiSpacePointForSeed.h:65
Surface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/Surface.h:8
InDet::SiSpacePointForSeed::setEta
void setEta(const float &)
Definition: SiSpacePointForSeed.cxx:121
InDet::SiSpacePointForSeed::setParam
void setParam(const float &)
Definition: SiSpacePointForSeed.cxx:111
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
InDet::SiSpacePointForSeed::x
const float & x() const
Definition: SiSpacePointForSeed.h:59
InDet::SiSpacePointForSeed::SiSpacePointForSeed
SiSpacePointForSeed(SiSpacePointForSeed &&) noexcept=default
SpacePoint
Definition: Trigger/TrigAccel/TrigCudaFitter/src/SpacePoint.h:7
InDet::SiSpacePointForSeed::m_covz
float m_covz
Definition: SiSpacePointForSeed.h:83
InDet::SiSpacePointForSeed::radius
const float & radius() const
Definition: SiSpacePointForSeed.h:62
InDet::SiSpacePointForSeed::Pt
const float & Pt() const
Definition: SiSpacePointForSeed.h:72
InDet::SiSpacePointForSeed::param
const float & param() const
Definition: SiSpacePointForSeed.h:68
InDet::SiSpacePointForSeed::setD0
void setD0(const float &)
Definition: SiSpacePointForSeed.cxx:116
InDet::SiSpacePointForSeed::eta
const float & eta() const
Definition: SiSpacePointForSeed.h:67
InDet::SiSpacePointForSeed::set
void set(const Trk::SpacePoint *const &, const float *)
Definition: SiSpacePointForSeed.cxx:36
InDet::SiSpacePointForSeed::y
const float & y() const
Definition: SiSpacePointForSeed.h:60
InDet::SiSpacePointForSeed::m_z
float m_z
Definition: SiSpacePointForSeed.h:80
InDet::SiSpacePointForSeed::z
const float & z() const
Definition: SiSpacePointForSeed.h:61
InDet::SiSpacePointForSeed::setDZDR
void setDZDR(const float &)
Definition: SiSpacePointForSeed.cxx:131
InDet::SiSpacePointForSeed::setQuality
void setQuality(float)
Definition: SiSpacePointForSeed.cxx:126
InDet::SiSpacePointForSeed::SiSpacePointForSeed
SiSpacePointForSeed()=default
InDet::SiSpacePointForSeed::quality
const float & quality() const
penalty term in the seed score
Definition: SiSpacePointForSeed.h:70
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
createCoolChannelIdFile.par
par
Definition: createCoolChannelIdFile.py:29
InDet::SiSpacePointForSeed::operator=
SiSpacePointForSeed & operator=(const SiSpacePointForSeed &)=default
InDet::SiSpacePointForSeed::m_covr
float m_covr
Definition: SiSpacePointForSeed.h:82
InDet::SiSpacePointForSeed::m_sn
const Trk::Surface * m_sn
Definition: SiSpacePointForSeed.h:92
InDet::SiSpacePointForSeed::m_su
const Trk::Surface * m_su
quality of the best seed this candidate was seen on
Definition: SiSpacePointForSeed.h:91
InDet::SiSpacePointForSeed::m_pt
float m_pt
Definition: SiSpacePointForSeed.h:87
InDet::SiSpacePointForSeed::m_x
float m_x
Definition: SiSpacePointForSeed.h:78
InDet::SiSpacePointForSeed::covr
const float & covr() const
Definition: SiSpacePointForSeed.h:64
InDet::SiSpacePointForSeed::phi
float phi() const
Definition: SiSpacePointForSeed.h:63
InDet::SiSpacePointForSeed::m_y
float m_y
Definition: SiSpacePointForSeed.h:79
InDet::SiSpacePointForSeed::sur
const Trk::Surface * sur() const
Definition: SiSpacePointForSeed.h:73
InDet::SiSpacePointForSeed::SiSpacePointForSeed
SiSpacePointForSeed(const SiSpacePointForSeed &)=default
InDet::SiSpacePointForSeed::m_param
float m_param
Definition: SiSpacePointForSeed.h:88
InDet::SiSpacePointForSeed::dzdr
const float & dzdr() const
quality of the best seed this candidate was seen on
Definition: SiSpacePointForSeed.h:71
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
InDet::SiSpacePointForSeed::setScorePenalty
void setScorePenalty(const float &par)
Definition: SiSpacePointForSeed.h:56
InDet::SiSpacePointForSeed::setPt
void setPt(const float &)
Definition: SiSpacePointForSeed.cxx:136
InDet::SiSpacePointForSeed::m_eta
float m_eta
Definition: SiSpacePointForSeed.h:85