CbmRoot
CbmStsSensorPoint Class Reference

Container class for a local point in a STS sensor. More...

#include <CbmStsSensorPoint.h>

Public Member Functions

 CbmStsSensorPoint ()
 
 CbmStsSensorPoint (Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2, Double_t p, Double_t eLoss, Double_t time, Double_t bx=0., Double_t by=0., Double_t bz=0., Int_t pid=0)
 
virtual ~CbmStsSensorPoint ()
 
Double_t GetX1 () const
 Entry x coordinate [cm]. More...
 
Double_t GetY1 () const
 Entry y coordinate [cm]. More...
 
Double_t GetZ1 () const
 Entry z coordinate [cm]. More...
 
Double_t GetX2 () const
 Exit x coordinate [cm]. More...
 
Double_t GetY2 () const
 Exit y coordinate [cm]. More...
 
Double_t GetZ2 () const
 Exit z coordinate [cm]. More...
 
Double_t GetP () const
 Momentum magnitude. More...
 
Double_t GetELoss () const
 Energy loss [GeV]. More...
 
Double_t GetTime () const
 Time [ns]. More...
 
Double_t GetBx () const
 Bx-Field at midpoint [T]. More...
 
Double_t GetBy () const
 By-Field at midpoint [T]. More...
 
Double_t GetBz () const
 Bz-Field at midpoint [T]. More...
 
Int_t GetPid () const
 Particle ID [PDG]. More...
 
std::string ToString () const
 

Private Member Functions

 ClassDef (CbmStsSensorPoint, 2)
 

Private Attributes

Double_t fX1
 Entry point x [cm]. More...
 
Double_t fY1
 Entry point y [cm]. More...
 
Double_t fZ1
 Entry point z [cm]. More...
 
Double_t fX2
 Exit point x [cm]. More...
 
Double_t fY2
 Exit point y [cm]. More...
 
Double_t fZ2
 Exit point z [cm]. More...
 
Double_t fP
 Momentum magnitude at entry point [GeV]. More...
 
Double_t fELoss
 Energy deposit [GeV]. More...
 
Double_t fTime
 Time [ns]. More...
 
Double_t fBx
 Magnetic field x component at midpoint [T]. More...
 
Double_t fBy
 Magnetic field y component at midpoint [T]. More...
 
Double_t fBz
 Magnetic field z component at midpoint [T]. More...
 
Int_t fPid
 Particle Type [PDG code]. More...
 

Detailed Description

Container class for a local point in a STS sensor.

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Version
1.0

Stores parameters needed for digitisation in the sensor C.S.

Definition at line 19 of file CbmStsSensorPoint.h.

Constructor & Destructor Documentation

◆ CbmStsSensorPoint() [1/2]

CbmStsSensorPoint::CbmStsSensorPoint ( )

Default constructor

Definition at line 13 of file CbmStsSensorPoint.cxx.

◆ CbmStsSensorPoint() [2/2]

CbmStsSensorPoint::CbmStsSensorPoint ( Double_t  x1,
Double_t  y1,
Double_t  z1,
Double_t  x2,
Double_t  y2,
Double_t  z2,
Double_t  p,
Double_t  eLoss,
Double_t  time,
Double_t  bx = 0.,
Double_t  by = 0.,
Double_t  bz = 0.,
Int_t  pid = 0 
)

Constructor with parameters

Parameters
x1,y1,z1Entry coordinates in local C.S. [cm]
x2,y2,z2Exit coordinates in local C.S. [cm]
pMomentum magnitude (entry) [GeV]
eLossEnergy deposit [GeV]
timeTime [ns]
bxMag. Field (x component) at midpoint [T]
byMag. Field (y component) at midpoint [T]
bzMag. Field (z component) at midpoint [T]
pidParticle ty[e [PDG code]

Definition at line 36 of file CbmStsSensorPoint.cxx.

◆ ~CbmStsSensorPoint()

CbmStsSensorPoint::~CbmStsSensorPoint ( )
virtual

Destructor

Definition at line 31 of file CbmStsSensorPoint.cxx.

Member Function Documentation

◆ ClassDef()

CbmStsSensorPoint::ClassDef ( CbmStsSensorPoint  ,
 
)
private

◆ GetBx()

Double_t CbmStsSensorPoint::GetBx ( ) const
inline

Bx-Field at midpoint [T].

Definition at line 65 of file CbmStsSensorPoint.h.

References fBx.

◆ GetBy()

Double_t CbmStsSensorPoint::GetBy ( ) const
inline

By-Field at midpoint [T].

Definition at line 66 of file CbmStsSensorPoint.h.

References fBy.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ GetBz()

Double_t CbmStsSensorPoint::GetBz ( ) const
inline

Bz-Field at midpoint [T].

Definition at line 67 of file CbmStsSensorPoint.h.

References fBz.

◆ GetELoss()

Double_t CbmStsSensorPoint::GetELoss ( ) const
inline

Energy loss [GeV].

Definition at line 63 of file CbmStsSensorPoint.h.

References fELoss.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ GetP()

Double_t CbmStsSensorPoint::GetP ( ) const
inline

Momentum magnitude.

Definition at line 62 of file CbmStsSensorPoint.h.

References fP.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ GetPid()

Int_t CbmStsSensorPoint::GetPid ( ) const
inline

Particle ID [PDG].

Definition at line 68 of file CbmStsSensorPoint.h.

References fPid.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ GetTime()

Double_t CbmStsSensorPoint::GetTime ( ) const
inline

Time [ns].

Definition at line 64 of file CbmStsSensorPoint.h.

References fTime.

Referenced by CbmStsSimSensorDssd::CalculateResponse().

◆ GetX1()

Double_t CbmStsSensorPoint::GetX1 ( ) const
inline

Entry x coordinate [cm].

Definition at line 56 of file CbmStsSensorPoint.h.

References fX1.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ GetX2()

Double_t CbmStsSensorPoint::GetX2 ( ) const
inline

Exit x coordinate [cm].

Definition at line 59 of file CbmStsSensorPoint.h.

References fX2.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ GetY1()

Double_t CbmStsSensorPoint::GetY1 ( ) const
inline

Entry y coordinate [cm].

Definition at line 57 of file CbmStsSensorPoint.h.

References fY1.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ GetY2()

Double_t CbmStsSensorPoint::GetY2 ( ) const
inline

Exit y coordinate [cm].

Definition at line 60 of file CbmStsSensorPoint.h.

References fY2.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ GetZ1()

Double_t CbmStsSensorPoint::GetZ1 ( ) const
inline

Entry z coordinate [cm].

Definition at line 58 of file CbmStsSensorPoint.h.

References fZ1.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ GetZ2()

Double_t CbmStsSensorPoint::GetZ2 ( ) const
inline

Exit z coordinate [cm].

Definition at line 61 of file CbmStsSensorPoint.h.

References fZ2.

Referenced by CbmStsSimSensorDssd::ProduceCharge().

◆ ToString()

string CbmStsSensorPoint::ToString ( ) const

String output

Definition at line 66 of file CbmStsSensorPoint.cxx.

References fBy, fELoss, fP, fPid, fTime, fX1, fX2, fY1, fY2, fZ1, and fZ2.

Member Data Documentation

◆ fBx

Double_t CbmStsSensorPoint::fBx
private

Magnetic field x component at midpoint [T].

Definition at line 85 of file CbmStsSensorPoint.h.

Referenced by GetBx().

◆ fBy

Double_t CbmStsSensorPoint::fBy
private

Magnetic field y component at midpoint [T].

Definition at line 86 of file CbmStsSensorPoint.h.

Referenced by GetBy(), and ToString().

◆ fBz

Double_t CbmStsSensorPoint::fBz
private

Magnetic field z component at midpoint [T].

Definition at line 87 of file CbmStsSensorPoint.h.

Referenced by GetBz().

◆ fELoss

Double_t CbmStsSensorPoint::fELoss
private

Energy deposit [GeV].

Definition at line 83 of file CbmStsSensorPoint.h.

Referenced by GetELoss(), and ToString().

◆ fP

Double_t CbmStsSensorPoint::fP
private

Momentum magnitude at entry point [GeV].

Definition at line 82 of file CbmStsSensorPoint.h.

Referenced by GetP(), and ToString().

◆ fPid

Int_t CbmStsSensorPoint::fPid
private

Particle Type [PDG code].

Definition at line 88 of file CbmStsSensorPoint.h.

Referenced by GetPid(), and ToString().

◆ fTime

Double_t CbmStsSensorPoint::fTime
private

Time [ns].

Definition at line 84 of file CbmStsSensorPoint.h.

Referenced by GetTime(), and ToString().

◆ fX1

Double_t CbmStsSensorPoint::fX1
private

Entry point x [cm].

Definition at line 76 of file CbmStsSensorPoint.h.

Referenced by GetX1(), and ToString().

◆ fX2

Double_t CbmStsSensorPoint::fX2
private

Exit point x [cm].

Definition at line 79 of file CbmStsSensorPoint.h.

Referenced by GetX2(), and ToString().

◆ fY1

Double_t CbmStsSensorPoint::fY1
private

Entry point y [cm].

Definition at line 77 of file CbmStsSensorPoint.h.

Referenced by GetY1(), and ToString().

◆ fY2

Double_t CbmStsSensorPoint::fY2
private

Exit point y [cm].

Definition at line 80 of file CbmStsSensorPoint.h.

Referenced by GetY2(), and ToString().

◆ fZ1

Double_t CbmStsSensorPoint::fZ1
private

Entry point z [cm].

Definition at line 78 of file CbmStsSensorPoint.h.

Referenced by GetZ1(), and ToString().

◆ fZ2

Double_t CbmStsSensorPoint::fZ2
private

Exit point z [cm].

Definition at line 81 of file CbmStsSensorPoint.h.

Referenced by GetZ2(), and ToString().


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