ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
PESA::T2BeamSpot Class Reference

#include <T2BeamSpot.h>

Collaboration diagram for PESA::T2BeamSpot:

Public Member Functions

 T2BeamSpot (const InDet::BeamSpotData *)
 
unsigned status () const
 
double posX () const
 
double posY () const
 
double posZ () const
 
double sigmaX () const
 
double sigmaY () const
 
double sigmaZ () const
 
double tiltX () const
 
double tiltY () const
 
double sigmaXY () const
 

Private Attributes

unsigned m_status
 
double m_posX
 
double m_posY
 
double m_posZ
 
double m_sigmaX
 
double m_sigmaY
 
double m_sigmaZ
 
double m_tiltX
 
double m_tiltY
 
double m_sigmaXY
 

Detailed Description

Definition at line 31 of file T2BeamSpot.h.

Constructor & Destructor Documentation

◆ T2BeamSpot()

PESA::T2BeamSpot::T2BeamSpot ( const InDet::BeamSpotData beamspotdata)

Definition at line 32 of file T2BeamSpot.cxx.

33  : m_status ( 0 )
34  , m_posX ( 0. )
35  , m_posY ( 0. )
36  , m_posZ ( 0. )
37  , m_sigmaX ( 0. )
38  , m_sigmaY ( 0. )
39  , m_sigmaZ ( 0. )
40  , m_tiltX ( 0. )
41  , m_tiltY ( 0. )
42  , m_sigmaXY( 0. ){
43  if(beamspotdata == nullptr) return;
44  m_status = beamspotdata->beamStatus();
45  m_posX = beamspotdata->beamPos().x();
46  m_posY = beamspotdata->beamPos().y();
47  m_posZ = beamspotdata->beamPos().z();
48  m_sigmaX = beamspotdata->beamSigma(0);
49  m_sigmaY = beamspotdata->beamSigma(1);
50  m_sigmaZ = beamspotdata->beamSigma(2);
51  m_tiltX = beamspotdata->beamTilt(0);
52  m_tiltY = beamspotdata->beamTilt(1);
53  m_sigmaXY = 0.; // FIXME: fill this in
54  }

Member Function Documentation

◆ posX()

double PESA::T2BeamSpot::posX ( ) const
inline

Definition at line 39 of file T2BeamSpot.h.

39 { return m_posX ; }

◆ posY()

double PESA::T2BeamSpot::posY ( ) const
inline

Definition at line 40 of file T2BeamSpot.h.

40 { return m_posY ; }

◆ posZ()

double PESA::T2BeamSpot::posZ ( ) const
inline

Definition at line 41 of file T2BeamSpot.h.

41 { return m_posZ ; }

◆ sigmaX()

double PESA::T2BeamSpot::sigmaX ( ) const
inline

Definition at line 42 of file T2BeamSpot.h.

42 { return m_sigmaX ; }

◆ sigmaXY()

double PESA::T2BeamSpot::sigmaXY ( ) const
inline

Definition at line 47 of file T2BeamSpot.h.

47 { return m_sigmaXY; }

◆ sigmaY()

double PESA::T2BeamSpot::sigmaY ( ) const
inline

Definition at line 43 of file T2BeamSpot.h.

43 { return m_sigmaY ; }

◆ sigmaZ()

double PESA::T2BeamSpot::sigmaZ ( ) const
inline

Definition at line 44 of file T2BeamSpot.h.

44 { return m_sigmaZ ; }

◆ status()

unsigned PESA::T2BeamSpot::status ( ) const
inline

Definition at line 38 of file T2BeamSpot.h.

38 { return m_status ; }

◆ tiltX()

double PESA::T2BeamSpot::tiltX ( ) const
inline

Definition at line 45 of file T2BeamSpot.h.

45 { return m_tiltX ; }

◆ tiltY()

double PESA::T2BeamSpot::tiltY ( ) const
inline

Definition at line 46 of file T2BeamSpot.h.

46 { return m_tiltY ; }

Member Data Documentation

◆ m_posX

double PESA::T2BeamSpot::m_posX
private

Definition at line 52 of file T2BeamSpot.h.

◆ m_posY

double PESA::T2BeamSpot::m_posY
private

Definition at line 53 of file T2BeamSpot.h.

◆ m_posZ

double PESA::T2BeamSpot::m_posZ
private

Definition at line 54 of file T2BeamSpot.h.

◆ m_sigmaX

double PESA::T2BeamSpot::m_sigmaX
private

Definition at line 55 of file T2BeamSpot.h.

◆ m_sigmaXY

double PESA::T2BeamSpot::m_sigmaXY
private

Definition at line 60 of file T2BeamSpot.h.

◆ m_sigmaY

double PESA::T2BeamSpot::m_sigmaY
private

Definition at line 56 of file T2BeamSpot.h.

◆ m_sigmaZ

double PESA::T2BeamSpot::m_sigmaZ
private

Definition at line 57 of file T2BeamSpot.h.

◆ m_status

unsigned PESA::T2BeamSpot::m_status
private

Definition at line 51 of file T2BeamSpot.h.

◆ m_tiltX

double PESA::T2BeamSpot::m_tiltX
private

Definition at line 58 of file T2BeamSpot.h.

◆ m_tiltY

double PESA::T2BeamSpot::m_tiltY
private

Definition at line 59 of file T2BeamSpot.h.


The documentation for this class was generated from the following files:
PESA::T2BeamSpot::m_sigmaZ
double m_sigmaZ
Definition: T2BeamSpot.h:57
PESA::T2BeamSpot::m_status
unsigned m_status
Definition: T2BeamSpot.h:51
PESA::T2BeamSpot::m_sigmaX
double m_sigmaX
Definition: T2BeamSpot.h:55
PESA::T2BeamSpot::m_sigmaY
double m_sigmaY
Definition: T2BeamSpot.h:56
PESA::T2BeamSpot::m_posZ
double m_posZ
Definition: T2BeamSpot.h:54
PESA::T2BeamSpot::m_posY
double m_posY
Definition: T2BeamSpot.h:53
InDet::BeamSpotData::beamPos
const Amg::Vector3D & beamPos() const noexcept
Definition: BeamSpotData.h:68
PESA::T2BeamSpot::m_sigmaXY
double m_sigmaXY
Definition: T2BeamSpot.h:60
PESA::T2BeamSpot::m_tiltY
double m_tiltY
Definition: T2BeamSpot.h:59
InDet::BeamSpotData::beamStatus
int beamStatus() const noexcept
Definition: BeamSpotData.h:76
PESA::T2BeamSpot::m_tiltX
double m_tiltX
Definition: T2BeamSpot.h:58
PESA::T2BeamSpot::m_posX
double m_posX
Definition: T2BeamSpot.h:52
InDet::BeamSpotData::beamTilt
float beamTilt(int i) const noexcept
Returns the beam sigma for the i+3-th error matrix element (the 'tilt')
Definition: BeamSpotData.h:74
InDet::BeamSpotData::beamSigma
float beamSigma(int i) const noexcept
Returns the beam sigma for the i-th error matrix element.
Definition: BeamSpotData.h:70