ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
TrigSiSpacePoint Class Reference

#include <TrigSiSpacePoint.h>

Inheritance diagram for TrigSiSpacePoint:
Collaboration diagram for TrigSiSpacePoint:

Public Member Functions

 TrigSiSpacePoint (const InDet::SiCluster *cluster1, const Identifier &elementId, long layer, double r, double phi, double z, double dr=0.0, double dphi=0.0, double dz=0.0)
 
 TrigSiSpacePoint (const InDet::SiCluster *cluster1, const InDet::SiCluster *cluster2, const Identifier &elementId, long layer, double r, double phi, double z, double dr=0.0, double dphi=0.0, double dz=0.0)
 
virtual ~TrigSiSpacePoint ()
 
void locT (const double locT)
 
void locL (const double locL)
 
const Identifieridentify () const
 
double dphi () const
 
double locT () const
 
double locL () const
 
double original_r () const
 
double original_phi () const
 
double original_x () const
 
double original_y () const
 
std::pair< const InDet::SiCluster *, const InDet::SiCluster * > clusters () const
 
void r (const double r)
 
double r () const
 
void phi (const double phi)
 
double phi () const
 
void z (const double z)
 
double z () const
 
void x (const double x)
 
double x () const
 
void y (const double y)
 
double y () const
 
void dr (const double dr)
 
double dr () const
 
void dz (const double dz)
 
double dz () const
 
void barCode (int code)
 
int barCode () const
 
long layer () const
 
bool isPixel () const
 
bool isSCT () const
 
double eta (double z0) const
 
const Trk::SpacePointofflineSpacePoint () const
 

Protected Attributes

long m_layer
 
double m_r
 
double m_x
 
double m_y
 
double m_phi
 
double m_z
 
double m_dr
 
double m_dz
 
int m_barCode
 
bool m_isPixel
 
const Trk::SpacePointm_offlineSpacePoint
 

Private Attributes

std::pair< const InDet::SiCluster *, const InDet::SiCluster * > m_clusters
 
double m_dphi {}
 
double m_locT {}
 
double m_locL {}
 
double m_original_r {}
 
double m_original_phi {}
 
double m_original_x {}
 
double m_original_y {}
 
const Identifier m_elementId
 

Detailed Description

Definition at line 12 of file TrigSiSpacePoint.h.

Constructor & Destructor Documentation

◆ TrigSiSpacePoint() [1/2]

TrigSiSpacePoint::TrigSiSpacePoint ( const InDet::SiCluster cluster1,
const Identifier elementId,
long  layer,
double  r,
double  phi,
double  z,
double  dr = 0.0,
double  dphi = 0.0,
double  dz = 0.0 
)
inline

Definition at line 17 of file TrigSiSpacePoint.h.

20  :
22  m_clusters(cluster1, 0),
23  m_dphi(dphi),
24  m_elementId(elementId) {};

◆ TrigSiSpacePoint() [2/2]

TrigSiSpacePoint::TrigSiSpacePoint ( const InDet::SiCluster cluster1,
const InDet::SiCluster cluster2,
const Identifier elementId,
long  layer,
double  r,
double  phi,
double  z,
double  dr = 0.0,
double  dphi = 0.0,
double  dz = 0.0 
)
inline

Definition at line 27 of file TrigSiSpacePoint.h.

31  :
33  m_clusters(cluster1, cluster2),
34  m_dphi(dphi),
35  m_elementId(elementId) {};

◆ ~TrigSiSpacePoint()

virtual TrigSiSpacePoint::~TrigSiSpacePoint ( )
inlinevirtual

Definition at line 38 of file TrigSiSpacePoint.h.

38 {};

Member Function Documentation

◆ barCode() [1/2]

int TrigSiSpacePointBase::barCode ( ) const
inlineinherited

Definition at line 80 of file TrigSiSpacePointBase.h.

80 {return m_barCode;}

◆ barCode() [2/2]

void TrigSiSpacePointBase::barCode ( int  code)
inlineinherited

Definition at line 59 of file TrigSiSpacePointBase.h.

59 {m_barCode = code;}

◆ clusters()

std::pair< const InDet::SiCluster*, const InDet::SiCluster* > TrigSiSpacePoint::clusters ( ) const
inline

Definition at line 56 of file TrigSiSpacePoint.h.

56  {
57  return m_clusters;
58  }

◆ dphi()

double TrigSiSpacePoint::dphi ( ) const
inline

Definition at line 46 of file TrigSiSpacePoint.h.

46 {return m_dphi;}

◆ dr() [1/2]

double TrigSiSpacePointBase::dr ( ) const
inlineinherited

Definition at line 64 of file TrigSiSpacePointBase.h.

64 {return m_dr;}

◆ dr() [2/2]

void TrigSiSpacePointBase::dr ( const double  dr)
inlineinherited

Definition at line 56 of file TrigSiSpacePointBase.h.

56 {m_dr = dr; }

◆ dz() [1/2]

double TrigSiSpacePointBase::dz ( ) const
inlineinherited

Definition at line 65 of file TrigSiSpacePointBase.h.

65 {return m_dz;}

◆ dz() [2/2]

void TrigSiSpacePointBase::dz ( const double  dz)
inlineinherited

Definition at line 57 of file TrigSiSpacePointBase.h.

57 {m_dz = dz; }

◆ eta()

double TrigSiSpacePointBase::eta ( double  z0) const
inlineinherited

Definition at line 75 of file TrigSiSpacePointBase.h.

75  {
76  double zr = (m_z-z0)/m_r;
77  return log(zr+std::sqrt(1.+zr*zr));
78  }

◆ identify()

const Identifier& TrigSiSpacePoint::identify ( ) const
inline

Definition at line 45 of file TrigSiSpacePoint.h.

45 {return m_elementId;}

◆ isPixel()

bool TrigSiSpacePointBase::isPixel ( ) const
inlineinherited

Definition at line 70 of file TrigSiSpacePointBase.h.

70 {return m_isPixel;}

◆ isSCT()

bool TrigSiSpacePointBase::isSCT ( ) const
inlineinherited

Definition at line 71 of file TrigSiSpacePointBase.h.

71 {return !m_isPixel;}

◆ layer()

long TrigSiSpacePointBase::layer ( ) const
inlineinherited

Definition at line 68 of file TrigSiSpacePointBase.h.

68 {return m_layer;}

◆ locL() [1/2]

double TrigSiSpacePoint::locL ( ) const
inline

Definition at line 48 of file TrigSiSpacePoint.h.

48 {return m_locL;}

◆ locL() [2/2]

void TrigSiSpacePoint::locL ( const double  locL)
inline

Definition at line 42 of file TrigSiSpacePoint.h.

42 {m_locL = locL; }

◆ locT() [1/2]

double TrigSiSpacePoint::locT ( ) const
inline

Definition at line 47 of file TrigSiSpacePoint.h.

47 {return m_locT;}

◆ locT() [2/2]

void TrigSiSpacePoint::locT ( const double  locT)
inline

Definition at line 41 of file TrigSiSpacePoint.h.

41 {m_locT = locT;}

◆ offlineSpacePoint()

const Trk::SpacePoint* TrigSiSpacePointBase::offlineSpacePoint ( ) const
inlineinherited

Definition at line 81 of file TrigSiSpacePointBase.h.

81 {return m_offlineSpacePoint;}

◆ original_phi()

double TrigSiSpacePoint::original_phi ( ) const
inline

Definition at line 50 of file TrigSiSpacePoint.h.

50 {return m_original_phi;}

◆ original_r()

double TrigSiSpacePoint::original_r ( ) const
inline

Definition at line 49 of file TrigSiSpacePoint.h.

49 {return m_original_r;}

◆ original_x()

double TrigSiSpacePoint::original_x ( ) const
inline

Definition at line 51 of file TrigSiSpacePoint.h.

51 {return m_original_x;}

◆ original_y()

double TrigSiSpacePoint::original_y ( ) const
inline

Definition at line 52 of file TrigSiSpacePoint.h.

52 {return m_original_y;}

◆ phi() [1/2]

double TrigSiSpacePointBase::phi ( ) const
inlineinherited

Definition at line 62 of file TrigSiSpacePointBase.h.

62 {return m_phi;}

◆ phi() [2/2]

void TrigSiSpacePointBase::phi ( const double  phi)
inlineinherited

Definition at line 52 of file TrigSiSpacePointBase.h.

52 {m_phi = phi;}

◆ r() [1/2]

double TrigSiSpacePointBase::r ( ) const
inlineinherited

Definition at line 61 of file TrigSiSpacePointBase.h.

61 {return m_r;}

◆ r() [2/2]

void TrigSiSpacePointBase::r ( const double  r)
inlineinherited

Definition at line 51 of file TrigSiSpacePointBase.h.

51 {m_r = r; }

◆ x() [1/2]

double TrigSiSpacePointBase::x ( ) const
inlineinherited

Definition at line 66 of file TrigSiSpacePointBase.h.

66 {return m_x;}

◆ x() [2/2]

void TrigSiSpacePointBase::x ( const double  x)
inlineinherited

Definition at line 54 of file TrigSiSpacePointBase.h.

54 {m_x = x; }

◆ y() [1/2]

double TrigSiSpacePointBase::y ( ) const
inlineinherited

Definition at line 67 of file TrigSiSpacePointBase.h.

67 {return m_y;}

◆ y() [2/2]

void TrigSiSpacePointBase::y ( const double  y)
inlineinherited

Definition at line 55 of file TrigSiSpacePointBase.h.

55 {m_y = y; }

◆ z() [1/2]

double TrigSiSpacePointBase::z ( ) const
inlineinherited

Definition at line 63 of file TrigSiSpacePointBase.h.

63 {return m_z;}

◆ z() [2/2]

void TrigSiSpacePointBase::z ( const double  z)
inlineinherited

Definition at line 53 of file TrigSiSpacePointBase.h.

53 {m_z = z; }

Member Data Documentation

◆ m_barCode

int TrigSiSpacePointBase::m_barCode
protectedinherited

Definition at line 96 of file TrigSiSpacePointBase.h.

◆ m_clusters

std::pair<const InDet::SiCluster*, const InDet::SiCluster*> TrigSiSpacePoint::m_clusters
private

Definition at line 62 of file TrigSiSpacePoint.h.

◆ m_dphi

double TrigSiSpacePoint::m_dphi {}
private

Definition at line 63 of file TrigSiSpacePoint.h.

◆ m_dr

double TrigSiSpacePointBase::m_dr
protectedinherited

Definition at line 93 of file TrigSiSpacePointBase.h.

◆ m_dz

double TrigSiSpacePointBase::m_dz
protectedinherited

Definition at line 94 of file TrigSiSpacePointBase.h.

◆ m_elementId

const Identifier TrigSiSpacePoint::m_elementId
private

Definition at line 71 of file TrigSiSpacePoint.h.

◆ m_isPixel

bool TrigSiSpacePointBase::m_isPixel
protectedinherited

Definition at line 97 of file TrigSiSpacePointBase.h.

◆ m_layer

long TrigSiSpacePointBase::m_layer
protectedinherited

Definition at line 85 of file TrigSiSpacePointBase.h.

◆ m_locL

double TrigSiSpacePoint::m_locL {}
private

Definition at line 65 of file TrigSiSpacePoint.h.

◆ m_locT

double TrigSiSpacePoint::m_locT {}
private

Definition at line 64 of file TrigSiSpacePoint.h.

◆ m_offlineSpacePoint

const Trk::SpacePoint* TrigSiSpacePointBase::m_offlineSpacePoint
protectedinherited

Definition at line 99 of file TrigSiSpacePointBase.h.

◆ m_original_phi

double TrigSiSpacePoint::m_original_phi {}
private

Definition at line 67 of file TrigSiSpacePoint.h.

◆ m_original_r

double TrigSiSpacePoint::m_original_r {}
private

Definition at line 66 of file TrigSiSpacePoint.h.

◆ m_original_x

double TrigSiSpacePoint::m_original_x {}
private

Definition at line 68 of file TrigSiSpacePoint.h.

◆ m_original_y

double TrigSiSpacePoint::m_original_y {}
private

Definition at line 69 of file TrigSiSpacePoint.h.

◆ m_phi

double TrigSiSpacePointBase::m_phi
protectedinherited

Definition at line 91 of file TrigSiSpacePointBase.h.

◆ m_r

double TrigSiSpacePointBase::m_r
protectedinherited

Definition at line 87 of file TrigSiSpacePointBase.h.

◆ m_x

double TrigSiSpacePointBase::m_x
protectedinherited

Definition at line 88 of file TrigSiSpacePointBase.h.

◆ m_y

double TrigSiSpacePointBase::m_y
protectedinherited

Definition at line 89 of file TrigSiSpacePointBase.h.

◆ m_z

double TrigSiSpacePointBase::m_z
protectedinherited

Definition at line 92 of file TrigSiSpacePointBase.h.


The documentation for this class was generated from the following file:
TrigSiSpacePoint::m_original_phi
double m_original_phi
Definition: TrigSiSpacePoint.h:67
TrigSiSpacePoint::m_clusters
std::pair< const InDet::SiCluster *, const InDet::SiCluster * > m_clusters
Definition: TrigSiSpacePoint.h:62
TrigSiSpacePoint::locT
double locT() const
Definition: TrigSiSpacePoint.h:47
TrigSiSpacePointBase::TrigSiSpacePointBase
TrigSiSpacePointBase(long layer, double r, double phi, double z, double dr=0.0, double dz=0.0, const Trk::SpacePoint *offlineSpacePoint=nullptr)
Definition: TrigSiSpacePointBase.h:28
TrigSiSpacePointBase::m_barCode
int m_barCode
Definition: TrigSiSpacePointBase.h:96
TrigSiSpacePointBase::m_offlineSpacePoint
const Trk::SpacePoint * m_offlineSpacePoint
Definition: TrigSiSpacePointBase.h:99
TrigSiSpacePointBase::m_isPixel
bool m_isPixel
Definition: TrigSiSpacePointBase.h:97
TrigSiSpacePointBase::y
double y() const
Definition: TrigSiSpacePointBase.h:67
TrigSiSpacePointBase::phi
double phi() const
Definition: TrigSiSpacePointBase.h:62
TrigSiSpacePointBase::m_dz
double m_dz
Definition: TrigSiSpacePointBase.h:94
TrigSiSpacePointBase::z
double z() const
Definition: TrigSiSpacePointBase.h:63
TrigSiSpacePoint::m_elementId
const Identifier m_elementId
Definition: TrigSiSpacePoint.h:71
TrigSiSpacePoint::locL
double locL() const
Definition: TrigSiSpacePoint.h:48
TrigSiSpacePoint::dphi
double dphi() const
Definition: TrigSiSpacePoint.h:46
TrigSiSpacePointBase::r
double r() const
Definition: TrigSiSpacePointBase.h:61
TrigSiSpacePointBase::m_z
double m_z
Definition: TrigSiSpacePointBase.h:92
TrigSiSpacePointBase::layer
long layer() const
Definition: TrigSiSpacePointBase.h:68
histSizes.code
code
Definition: histSizes.py:129
TrigSiSpacePointBase::dz
double dz() const
Definition: TrigSiSpacePointBase.h:65
TrigSiSpacePointBase::m_x
double m_x
Definition: TrigSiSpacePointBase.h:88
TrigSiSpacePointBase::x
double x() const
Definition: TrigSiSpacePointBase.h:66
TrigSiSpacePoint::m_locT
double m_locT
Definition: TrigSiSpacePoint.h:64
TrigSiSpacePointBase::dr
double dr() const
Definition: TrigSiSpacePointBase.h:64
TrigSiSpacePointBase::m_layer
long m_layer
Definition: TrigSiSpacePointBase.h:85
TRT::Track::z0
@ z0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:63
TrigSiSpacePoint::m_locL
double m_locL
Definition: TrigSiSpacePoint.h:65
TrigSiSpacePoint::m_dphi
double m_dphi
Definition: TrigSiSpacePoint.h:63
TrigSiSpacePointBase::m_dr
double m_dr
Definition: TrigSiSpacePointBase.h:93
TrigSiSpacePoint::m_original_x
double m_original_x
Definition: TrigSiSpacePoint.h:68
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigSiSpacePointBase::m_y
double m_y
Definition: TrigSiSpacePointBase.h:89
TrigSiSpacePointBase::m_phi
double m_phi
Definition: TrigSiSpacePointBase.h:91
TrigSiSpacePointBase::m_r
double m_r
Definition: TrigSiSpacePointBase.h:87
TrigSiSpacePoint::m_original_r
double m_original_r
Definition: TrigSiSpacePoint.h:66
TrigSiSpacePoint::m_original_y
double m_original_y
Definition: TrigSiSpacePoint.h:69