ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
InDet::SiSpacePointsSeed Class Referencefinal

#include <SiSpacePointsSeed.h>

Collaboration diagram for InDet::SiSpacePointsSeed:

Public Member Functions

 SiSpacePointsSeed ()
 
 SiSpacePointsSeed (const Trk::SpacePoint *&, const Trk::SpacePoint *&, const double &)
 
 SiSpacePointsSeed (const Trk::SpacePoint *&, const Trk::SpacePoint *&, const Trk::SpacePoint *&, const double &)
 
 SiSpacePointsSeed (const SiSpacePointsSeed &)
 
SiSpacePointsSeedoperator= (const SiSpacePointsSeed &)
 
 SiSpacePointsSeed (SiSpacePointsSeed &&)=default
 
SiSpacePointsSeedoperator= (SiSpacePointsSeed &&)=default
 
 ~SiSpacePointsSeed ()=default
 
void erase ()
 
void add (const Trk::SpacePoint *&)
 
void setD0 (const double &)
 
void setZVertex (const double &)
 
void setEta (const double &)
 
void setX1 (const double &)
 
void setX2 (const double &)
 
void setX3 (const double &)
 
void setY1 (const double &)
 
void setY2 (const double &)
 
void setY3 (const double &)
 
void setZ1 (const double &)
 
void setZ2 (const double &)
 
void setZ3 (const double &)
 
void setR1 (const double &)
 
void setR2 (const double &)
 
void setR3 (const double &)
 
void setDZDR_B (const double &)
 
void setDZDR_T (const double &)
 
void setPt (const double &)
 
const std::vector< const Trk::SpacePoint * > & spacePoints () const
 
const double & d0 () const
 
const double & zVertex () const
 
const double & eta () const
 
const double & x1 () const
 
const double & x2 () const
 
const double & x3 () const
 
const double & y1 () const
 
const double & y2 () const
 
const double & y3 () const
 
const double & z1 () const
 
const double & z2 () const
 
const double & z3 () const
 
const double & r1 () const
 
const double & r2 () const
 
const double & r3 () const
 
const double & dzdr_b () const
 
const double & dzdr_t () const
 
const double & pt () const
 
virtual MsgStream & dump (MsgStream &out) const
 
virtual std::ostream & dump (std::ostream &out) const
 

Protected Attributes

std::vector< const Trk::SpacePoint * > m_spacepoints
 
double m_d0 = 0.0
 
double m_zvertex =0.0
 
double m_eta = 0.0
 
double m_x1 = 0.0
 
double m_x2 = 0.0
 
double m_x3 = 0.0
 
double m_y1 = 0.0
 
double m_y2 = 0.0
 
double m_y3 = 0.0
 
double m_z1 = 0.0
 
double m_z2 = 0.0
 
double m_z3 = 0.0
 
double m_r1 = 0.0
 
double m_r2 = 0.0
 
double m_r3 = 0.0
 
double m_dzdr_b = 0.0
 
double m_dzdr_t = 0.0
 
double m_pt = 0.0
 

Detailed Description

Definition at line 30 of file SiSpacePointsSeed.h.

Constructor & Destructor Documentation

◆ SiSpacePointsSeed() [1/5]

InDet::SiSpacePointsSeed::SiSpacePointsSeed ( )

Definition at line 25 of file SiSpacePointsSeed.cxx.

26  {
27  m_zvertex = 0.;
28  }

◆ SiSpacePointsSeed() [2/5]

InDet::SiSpacePointsSeed::SiSpacePointsSeed ( const Trk::SpacePoint *&  p1,
const Trk::SpacePoint *&  p2,
const double &  z 
)

Definition at line 30 of file SiSpacePointsSeed.cxx.

33  {
34  m_spacepoints.push_back(p1);
35  m_spacepoints.push_back(p2);
36  m_zvertex = z;
37  }

◆ SiSpacePointsSeed() [3/5]

InDet::SiSpacePointsSeed::SiSpacePointsSeed ( const Trk::SpacePoint *&  p1,
const Trk::SpacePoint *&  p2,
const Trk::SpacePoint *&  p3,
const double &  z 
)

Definition at line 39 of file SiSpacePointsSeed.cxx.

42  {
43  m_spacepoints.push_back(p1);
44  m_spacepoints.push_back(p2);
45  m_spacepoints.push_back(p3);
46  m_zvertex = z;
47  }

◆ SiSpacePointsSeed() [4/5]

InDet::SiSpacePointsSeed::SiSpacePointsSeed ( const SiSpacePointsSeed Se)

Definition at line 53 of file SiSpacePointsSeed.cxx.

54  : m_spacepoints (Se.m_spacepoints),
55  m_zvertex (Se.m_zvertex)
56  {
57  }

◆ SiSpacePointsSeed() [5/5]

InDet::SiSpacePointsSeed::SiSpacePointsSeed ( SiSpacePointsSeed &&  )
default

◆ ~SiSpacePointsSeed()

InDet::SiSpacePointsSeed::~SiSpacePointsSeed ( )
default

Member Function Documentation

◆ add()

void InDet::SiSpacePointsSeed::add ( const Trk::SpacePoint *&  p)
inline

Definition at line 135 of file SiSpacePointsSeed.h.

136  {
137  m_spacepoints.push_back(p);
138  }

◆ d0()

const double & InDet::SiSpacePointsSeed::d0 ( ) const
inline

Definition at line 230 of file SiSpacePointsSeed.h.

231  {
232  return m_d0;
233  }

◆ dump() [1/2]

MsgStream & InDet::SiSpacePointsSeed::dump ( MsgStream &  out) const
virtual

Definition at line 78 of file SiSpacePointsSeed.cxx.

79  {
80 
81  out<<"InDet::SpacePointsSeed contains: "
82  <<std::setw(3)<<m_spacepoints.size()
83  <<" space points"
84  <<std::endl;
85  std::vector<const Trk::SpacePoint*>::const_iterator is,ise = m_spacepoints.end();
86  for(is=m_spacepoints.begin(); is!=ise; ++is) {
87 
88  if((*is)->clusterList().second == 0) {
89  out<<"pix: r,f,z = "
90  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().perp()
91  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().phi ()
92  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().z ()
93  <<std::endl;
94  }
95  else {
96  out<<"sct: r,f,z = "
97  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().perp()
98  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().phi ()
99  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().z ()
100  <<std::endl;
101  }
102  }
103  return out;
104  }

◆ dump() [2/2]

std::ostream & InDet::SiSpacePointsSeed::dump ( std::ostream &  out) const
virtual

Definition at line 110 of file SiSpacePointsSeed.cxx.

111  {
112 
113  out<<"InDet::SpacePointsSeed contains: "
114  <<std::setw(3)<<m_spacepoints.size()
115  <<" space points"
116  <<std::endl;
117  std::vector<const Trk::SpacePoint*>::const_iterator is,ise = m_spacepoints.end();
118  for(is=m_spacepoints.begin(); is!=ise; ++is) {
119 
120  if((*is)->clusterList().second == 0) {
121  out<<"pix: r,f,z = "
122  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().perp()
123  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().phi ()
124  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().z ()
125  <<std::endl;
126  }
127  else {
128  out<<"sct: r,f,z = "
129  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().perp()
130  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().phi ()
131  <<std::setw(12)<<std::setprecision(5)<<(*is)->globalPosition().z ()
132  <<std::endl;
133  }
134  }
135  return out;
136  }

◆ dzdr_b()

const double & InDet::SiSpacePointsSeed::dzdr_b ( ) const
inline

Definition at line 305 of file SiSpacePointsSeed.h.

306  {
307  return m_dzdr_b;
308  }

◆ dzdr_t()

const double & InDet::SiSpacePointsSeed::dzdr_t ( ) const
inline

Definition at line 310 of file SiSpacePointsSeed.h.

311  {
312  return m_dzdr_t;
313  }

◆ erase()

void InDet::SiSpacePointsSeed::erase ( )
inline

Definition at line 130 of file SiSpacePointsSeed.h.

131  {
132  m_spacepoints.erase(m_spacepoints.begin(),m_spacepoints.end());
133  }

◆ eta()

const double & InDet::SiSpacePointsSeed::eta ( ) const
inline

Definition at line 240 of file SiSpacePointsSeed.h.

241  {
242  return m_eta;
243  }

◆ operator=() [1/2]

SiSpacePointsSeed & InDet::SiSpacePointsSeed::operator= ( const SiSpacePointsSeed Se)

Definition at line 65 of file SiSpacePointsSeed.cxx.

66  {
67  if(&Se!=this) {
68  m_spacepoints = Se.m_spacepoints;
69  m_zvertex = Se.m_zvertex ;
70  }
71  return *this;
72  }

◆ operator=() [2/2]

SiSpacePointsSeed& InDet::SiSpacePointsSeed::operator= ( SiSpacePointsSeed &&  )
default

◆ pt()

const double & InDet::SiSpacePointsSeed::pt ( ) const
inline

Definition at line 315 of file SiSpacePointsSeed.h.

316  {
317  return m_pt;
318  }

◆ r1()

const double & InDet::SiSpacePointsSeed::r1 ( ) const
inline

Definition at line 290 of file SiSpacePointsSeed.h.

291  {
292  return m_r1;
293  }

◆ r2()

const double & InDet::SiSpacePointsSeed::r2 ( ) const
inline

Definition at line 295 of file SiSpacePointsSeed.h.

296  {
297  return m_r2;
298  }

◆ r3()

const double & InDet::SiSpacePointsSeed::r3 ( ) const
inline

Definition at line 300 of file SiSpacePointsSeed.h.

301  {
302  return m_r3;
303  }

◆ setD0()

void InDet::SiSpacePointsSeed::setD0 ( const double &  d0)
inline

Definition at line 140 of file SiSpacePointsSeed.h.

141  {
142  m_d0 = d0;
143  }

◆ setDZDR_B()

void InDet::SiSpacePointsSeed::setDZDR_B ( const double &  dzdr)
inline

Definition at line 215 of file SiSpacePointsSeed.h.

216  {
217  m_dzdr_b = dzdr;
218  }

◆ setDZDR_T()

void InDet::SiSpacePointsSeed::setDZDR_T ( const double &  dzdr)
inline

Definition at line 220 of file SiSpacePointsSeed.h.

221  {
222  m_dzdr_t = dzdr;
223  }

◆ setEta()

void InDet::SiSpacePointsSeed::setEta ( const double &  eta)
inline

Definition at line 150 of file SiSpacePointsSeed.h.

151  {
152  m_eta = eta;
153  }

◆ setPt()

void InDet::SiSpacePointsSeed::setPt ( const double &  pt)
inline

Definition at line 225 of file SiSpacePointsSeed.h.

226  {
227  m_pt = pt;
228  }

◆ setR1()

void InDet::SiSpacePointsSeed::setR1 ( const double &  r1)
inline

Definition at line 200 of file SiSpacePointsSeed.h.

201  {
202  m_r1 = r1;
203  }

◆ setR2()

void InDet::SiSpacePointsSeed::setR2 ( const double &  r2)
inline

Definition at line 205 of file SiSpacePointsSeed.h.

206  {
207  m_r2 = r2;
208  }

◆ setR3()

void InDet::SiSpacePointsSeed::setR3 ( const double &  r3)
inline

Definition at line 210 of file SiSpacePointsSeed.h.

211  {
212  m_r3 = r3;
213  }

◆ setX1()

void InDet::SiSpacePointsSeed::setX1 ( const double &  x1)
inline

Definition at line 155 of file SiSpacePointsSeed.h.

156  {
157  m_x1 = x1;
158  }

◆ setX2()

void InDet::SiSpacePointsSeed::setX2 ( const double &  x2)
inline

Definition at line 160 of file SiSpacePointsSeed.h.

161  {
162  m_x2 = x2;
163  }

◆ setX3()

void InDet::SiSpacePointsSeed::setX3 ( const double &  x3)
inline

Definition at line 165 of file SiSpacePointsSeed.h.

166  {
167  m_x3 = x3;
168  }

◆ setY1()

void InDet::SiSpacePointsSeed::setY1 ( const double &  y1)
inline

Definition at line 170 of file SiSpacePointsSeed.h.

171  {
172  m_y1 = y1;
173  }

◆ setY2()

void InDet::SiSpacePointsSeed::setY2 ( const double &  y2)
inline

Definition at line 175 of file SiSpacePointsSeed.h.

176  {
177  m_y2 = y2;
178  }

◆ setY3()

void InDet::SiSpacePointsSeed::setY3 ( const double &  y3)
inline

Definition at line 180 of file SiSpacePointsSeed.h.

181  {
182  m_y3 = y3;
183  }

◆ setZ1()

void InDet::SiSpacePointsSeed::setZ1 ( const double &  z1)
inline

Definition at line 185 of file SiSpacePointsSeed.h.

186  {
187  m_z1 = z1;
188  }

◆ setZ2()

void InDet::SiSpacePointsSeed::setZ2 ( const double &  z2)
inline

Definition at line 190 of file SiSpacePointsSeed.h.

191  {
192  m_z2 = z2;
193  }

◆ setZ3()

void InDet::SiSpacePointsSeed::setZ3 ( const double &  z3)
inline

Definition at line 195 of file SiSpacePointsSeed.h.

196  {
197  m_z3 = z3;
198  }

◆ setZVertex()

void InDet::SiSpacePointsSeed::setZVertex ( const double &  z)
inline

Definition at line 145 of file SiSpacePointsSeed.h.

146  {
147  m_zvertex = z;
148  }

◆ spacePoints()

const std::vector< const Trk::SpacePoint * > & InDet::SiSpacePointsSeed::spacePoints ( ) const
inline

Definition at line 125 of file SiSpacePointsSeed.h.

126  {
127  return this->m_spacepoints;
128  }

◆ x1()

const double & InDet::SiSpacePointsSeed::x1 ( ) const
inline

Definition at line 245 of file SiSpacePointsSeed.h.

246  {
247  return m_x1;
248  }

◆ x2()

const double & InDet::SiSpacePointsSeed::x2 ( ) const
inline

Definition at line 250 of file SiSpacePointsSeed.h.

251  {
252  return m_x2;
253  }

◆ x3()

const double & InDet::SiSpacePointsSeed::x3 ( ) const
inline

Definition at line 255 of file SiSpacePointsSeed.h.

256  {
257  return m_x3;
258  }

◆ y1()

const double & InDet::SiSpacePointsSeed::y1 ( ) const
inline

Definition at line 260 of file SiSpacePointsSeed.h.

261  {
262  return m_y1;
263  }

◆ y2()

const double & InDet::SiSpacePointsSeed::y2 ( ) const
inline

Definition at line 265 of file SiSpacePointsSeed.h.

266  {
267  return m_y2;
268  }

◆ y3()

const double & InDet::SiSpacePointsSeed::y3 ( ) const
inline

Definition at line 270 of file SiSpacePointsSeed.h.

271  {
272  return m_y3;
273  }

◆ z1()

const double & InDet::SiSpacePointsSeed::z1 ( ) const
inline

Definition at line 275 of file SiSpacePointsSeed.h.

276  {
277  return m_z1;
278  }

◆ z2()

const double & InDet::SiSpacePointsSeed::z2 ( ) const
inline

Definition at line 280 of file SiSpacePointsSeed.h.

281  {
282  return m_z2;
283  }

◆ z3()

const double & InDet::SiSpacePointsSeed::z3 ( ) const
inline

Definition at line 285 of file SiSpacePointsSeed.h.

286  {
287  return m_z3;
288  }

◆ zVertex()

const double & InDet::SiSpacePointsSeed::zVertex ( ) const
inline

Definition at line 235 of file SiSpacePointsSeed.h.

236  {
237  return m_zvertex;
238  }

Member Data Documentation

◆ m_d0

double InDet::SiSpacePointsSeed::m_d0 = 0.0
protected

Definition at line 98 of file SiSpacePointsSeed.h.

◆ m_dzdr_b

double InDet::SiSpacePointsSeed::m_dzdr_b = 0.0
protected

Definition at line 113 of file SiSpacePointsSeed.h.

◆ m_dzdr_t

double InDet::SiSpacePointsSeed::m_dzdr_t = 0.0
protected

Definition at line 114 of file SiSpacePointsSeed.h.

◆ m_eta

double InDet::SiSpacePointsSeed::m_eta = 0.0
protected

Definition at line 100 of file SiSpacePointsSeed.h.

◆ m_pt

double InDet::SiSpacePointsSeed::m_pt = 0.0
protected

Definition at line 115 of file SiSpacePointsSeed.h.

◆ m_r1

double InDet::SiSpacePointsSeed::m_r1 = 0.0
protected

Definition at line 110 of file SiSpacePointsSeed.h.

◆ m_r2

double InDet::SiSpacePointsSeed::m_r2 = 0.0
protected

Definition at line 111 of file SiSpacePointsSeed.h.

◆ m_r3

double InDet::SiSpacePointsSeed::m_r3 = 0.0
protected

Definition at line 112 of file SiSpacePointsSeed.h.

◆ m_spacepoints

std::vector<const Trk::SpacePoint*> InDet::SiSpacePointsSeed::m_spacepoints
protected

Definition at line 97 of file SiSpacePointsSeed.h.

◆ m_x1

double InDet::SiSpacePointsSeed::m_x1 = 0.0
protected

Definition at line 101 of file SiSpacePointsSeed.h.

◆ m_x2

double InDet::SiSpacePointsSeed::m_x2 = 0.0
protected

Definition at line 102 of file SiSpacePointsSeed.h.

◆ m_x3

double InDet::SiSpacePointsSeed::m_x3 = 0.0
protected

Definition at line 103 of file SiSpacePointsSeed.h.

◆ m_y1

double InDet::SiSpacePointsSeed::m_y1 = 0.0
protected

Definition at line 104 of file SiSpacePointsSeed.h.

◆ m_y2

double InDet::SiSpacePointsSeed::m_y2 = 0.0
protected

Definition at line 105 of file SiSpacePointsSeed.h.

◆ m_y3

double InDet::SiSpacePointsSeed::m_y3 = 0.0
protected

Definition at line 106 of file SiSpacePointsSeed.h.

◆ m_z1

double InDet::SiSpacePointsSeed::m_z1 = 0.0
protected

Definition at line 107 of file SiSpacePointsSeed.h.

◆ m_z2

double InDet::SiSpacePointsSeed::m_z2 = 0.0
protected

Definition at line 108 of file SiSpacePointsSeed.h.

◆ m_z3

double InDet::SiSpacePointsSeed::m_z3 = 0.0
protected

Definition at line 109 of file SiSpacePointsSeed.h.

◆ m_zvertex

double InDet::SiSpacePointsSeed::m_zvertex =0.0
protected

Definition at line 99 of file SiSpacePointsSeed.h.


The documentation for this class was generated from the following files:
InDet::SiSpacePointsSeed::x3
const double & x3() const
Definition: SiSpacePointsSeed.h:255
InDet::SiSpacePointsSeed::m_z3
double m_z3
Definition: SiSpacePointsSeed.h:109
InDet::SiSpacePointsSeed::r1
const double & r1() const
Definition: SiSpacePointsSeed.h:290
InDet::SiSpacePointsSeed::m_dzdr_t
double m_dzdr_t
Definition: SiSpacePointsSeed.h:114
InDet::SiSpacePointsSeed::x2
const double & x2() const
Definition: SiSpacePointsSeed.h:250
InDet::SiSpacePointsSeed::pt
const double & pt() const
Definition: SiSpacePointsSeed.h:315
InDet::SiSpacePointsSeed::d0
const double & d0() const
Definition: SiSpacePointsSeed.h:230
InDet::SiSpacePointsSeed::z3
const double & z3() const
Definition: SiSpacePointsSeed.h:285
TRTCalib_cfilter.p1
p1
Definition: TRTCalib_cfilter.py:130
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::SiSpacePointsSeed::z1
const double & z1() const
Definition: SiSpacePointsSeed.h:275
InDet::SiSpacePointsSeed::y1
const double & y1() const
Definition: SiSpacePointsSeed.h:260
InDet::SiSpacePointsSeed::m_spacepoints
std::vector< const Trk::SpacePoint * > m_spacepoints
Definition: SiSpacePointsSeed.h:97
InDet::SiSpacePointsSeed::m_r3
double m_r3
Definition: SiSpacePointsSeed.h:112
InDet::SiSpacePointsSeed::m_pt
double m_pt
Definition: SiSpacePointsSeed.h:115
TRTCalib_cfilter.p2
p2
Definition: TRTCalib_cfilter.py:131
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
InDet::SiSpacePointsSeed::r3
const double & r3() const
Definition: SiSpacePointsSeed.h:300
InDet::SiSpacePointsSeed::z2
const double & z2() const
Definition: SiSpacePointsSeed.h:280
z
#define z
InDet::SiSpacePointsSeed::r2
const double & r2() const
Definition: SiSpacePointsSeed.h:295
InDet::SiSpacePointsSeed::m_r2
double m_r2
Definition: SiSpacePointsSeed.h:111
InDet::SiSpacePointsSeed::m_d0
double m_d0
Definition: SiSpacePointsSeed.h:98
InDet::SiSpacePointsSeed::y3
const double & y3() const
Definition: SiSpacePointsSeed.h:270
InDet::SiSpacePointsSeed::m_z2
double m_z2
Definition: SiSpacePointsSeed.h:108
InDet::SiSpacePointsSeed::m_y1
double m_y1
Definition: SiSpacePointsSeed.h:104
InDet::SiSpacePointsSeed::m_z1
double m_z1
Definition: SiSpacePointsSeed.h:107
InDet::SiSpacePointsSeed::m_zvertex
double m_zvertex
Definition: SiSpacePointsSeed.h:99
InDet::SiSpacePointsSeed::m_y2
double m_y2
Definition: SiSpacePointsSeed.h:105
InDet::SiSpacePointsSeed::m_x3
double m_x3
Definition: SiSpacePointsSeed.h:103
InDet::SiSpacePointsSeed::m_r1
double m_r1
Definition: SiSpacePointsSeed.h:110
InDet::SiSpacePointsSeed::m_x2
double m_x2
Definition: SiSpacePointsSeed.h:102
InDet::SiSpacePointsSeed::x1
const double & x1() const
Definition: SiSpacePointsSeed.h:245
InDet::SiSpacePointsSeed::eta
const double & eta() const
Definition: SiSpacePointsSeed.h:240
InDet::SiSpacePointsSeed::m_x1
double m_x1
Definition: SiSpacePointsSeed.h:101
InDet::SiSpacePointsSeed::m_y3
double m_y3
Definition: SiSpacePointsSeed.h:106
InDet::SiSpacePointsSeed::m_eta
double m_eta
Definition: SiSpacePointsSeed.h:100
TRTCalib_cfilter.p3
p3
Definition: TRTCalib_cfilter.py:132
InDet::SiSpacePointsSeed::m_dzdr_b
double m_dzdr_b
Definition: SiSpacePointsSeed.h:113
InDet::SiSpacePointsSeed::y2
const double & y2() const
Definition: SiSpacePointsSeed.h:265