ATLAS Offline Software
Loading...
Searching...
No Matches
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 33 of file T2BeamSpot.cxx.

34 {
35 if(beamspotdata == nullptr) return;
36 m_status = beamspotdata->beamStatus();
37 m_posX = beamspotdata->beamPos().x();
38 m_posY = beamspotdata->beamPos().y();
39 m_posZ = beamspotdata->beamPos().z();
40 m_sigmaX = beamspotdata->beamSigma(0);
41 m_sigmaY = beamspotdata->beamSigma(1);
42 m_sigmaZ = beamspotdata->beamSigma(2);
43 m_tiltX = beamspotdata->beamTilt(0);
44 m_tiltY = beamspotdata->beamTilt(1);
45 m_sigmaXY = 0.; // FIXME: fill this in
46 }
float beamTilt(int i) const noexcept
Returns the beam sigma for the i+3-th error matrix element (the 'tilt').
float beamSigma(int i) const noexcept
Returns the beam sigma for the i-th error matrix element.
int beamStatus() const noexcept
const Amg::Vector3D & beamPos() const noexcept
unsigned m_status
Definition T2BeamSpot.h:51

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.

52{} ;

◆ m_posY

double PESA::T2BeamSpot::m_posY {}
private

Definition at line 53 of file T2BeamSpot.h.

53{} ;

◆ m_posZ

double PESA::T2BeamSpot::m_posZ {}
private

Definition at line 54 of file T2BeamSpot.h.

54{} ;

◆ m_sigmaX

double PESA::T2BeamSpot::m_sigmaX {}
private

Definition at line 55 of file T2BeamSpot.h.

55{} ;

◆ m_sigmaXY

double PESA::T2BeamSpot::m_sigmaXY {}
private

Definition at line 60 of file T2BeamSpot.h.

60{};

◆ m_sigmaY

double PESA::T2BeamSpot::m_sigmaY {}
private

Definition at line 56 of file T2BeamSpot.h.

56{} ;

◆ m_sigmaZ

double PESA::T2BeamSpot::m_sigmaZ {}
private

Definition at line 57 of file T2BeamSpot.h.

57{} ;

◆ m_status

unsigned PESA::T2BeamSpot::m_status {}
private

Definition at line 51 of file T2BeamSpot.h.

51{} ;

◆ m_tiltX

double PESA::T2BeamSpot::m_tiltX {}
private

Definition at line 58 of file T2BeamSpot.h.

58{} ;

◆ m_tiltY

double PESA::T2BeamSpot::m_tiltY {}
private

Definition at line 59 of file T2BeamSpot.h.

59{} ;

The documentation for this class was generated from the following files: