BmnRoot
Loading...
Searching...
No Matches
BmnSsdSensorPoint Class Reference

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

#include <BmnSsdSensorPoint.h>

Public Member Functions

 BmnSsdSensorPoint ()
 
 BmnSsdSensorPoint (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 ~BmnSsdSensorPoint ()
 
Double_t GetX1 () const
 Entry x coordinate [cm].
 
Double_t GetY1 () const
 Entry y coordinate [cm].
 
Double_t GetZ1 () const
 Entry z coordinate [cm].
 
Double_t GetX2 () const
 Exit x coordinate [cm].
 
Double_t GetY2 () const
 Exit y coordinate [cm].
 
Double_t GetZ2 () const
 Exit z coordinate [cm].
 
Double_t GetP () const
 Momentum magnitude.
 
Double_t GetELoss () const
 Energy loss [GeV].
 
Double_t GetTime () const
 Time [ns].
 
Double_t GetBx () const
 Bx-Field at midpoint [T].
 
Double_t GetBy () const
 By-Field at midpoint [T].
 
Double_t GetBz () const
 Bz-Field at midpoint [T].
 
Int_t GetPid () const
 Particle ID [PDG].
 
std::string ToString () const
 

Detailed Description

Container class for a local point in a SSD sensor.

Version
1.0

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

Definition at line 19 of file BmnSsdSensorPoint.h.

Constructor & Destructor Documentation

◆ BmnSsdSensorPoint() [1/2]

BmnSsdSensorPoint::BmnSsdSensorPoint ( )

Default constructor

Definition at line 14 of file BmnSsdSensorPoint.cxx.

◆ BmnSsdSensorPoint() [2/2]

BmnSsdSensorPoint::BmnSsdSensorPoint ( 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 30 of file BmnSsdSensorPoint.cxx.

◆ ~BmnSsdSensorPoint()

BmnSsdSensorPoint::~BmnSsdSensorPoint ( )
virtual

Destructor

Definition at line 24 of file BmnSsdSensorPoint.cxx.

Member Function Documentation

◆ GetBx()

Double_t BmnSsdSensorPoint::GetBx ( ) const
inline

Bx-Field at midpoint [T].

Definition at line 59 of file BmnSsdSensorPoint.h.

◆ GetBy()

Double_t BmnSsdSensorPoint::GetBy ( ) const
inline

By-Field at midpoint [T].

Definition at line 60 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ GetBz()

Double_t BmnSsdSensorPoint::GetBz ( ) const
inline

Bz-Field at midpoint [T].

Definition at line 61 of file BmnSsdSensorPoint.h.

◆ GetELoss()

Double_t BmnSsdSensorPoint::GetELoss ( ) const
inline

Energy loss [GeV].

Definition at line 57 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ GetP()

Double_t BmnSsdSensorPoint::GetP ( ) const
inline

Momentum magnitude.

Definition at line 56 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ GetPid()

Int_t BmnSsdSensorPoint::GetPid ( ) const
inline

Particle ID [PDG].

Definition at line 62 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ GetTime()

Double_t BmnSsdSensorPoint::GetTime ( ) const
inline

Time [ns].

Definition at line 58 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::CalculateResponse().

◆ GetX1()

Double_t BmnSsdSensorPoint::GetX1 ( ) const
inline

Entry x coordinate [cm].

Definition at line 50 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ GetX2()

Double_t BmnSsdSensorPoint::GetX2 ( ) const
inline

Exit x coordinate [cm].

Definition at line 53 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ GetY1()

Double_t BmnSsdSensorPoint::GetY1 ( ) const
inline

Entry y coordinate [cm].

Definition at line 51 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ GetY2()

Double_t BmnSsdSensorPoint::GetY2 ( ) const
inline

Exit y coordinate [cm].

Definition at line 54 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ GetZ1()

Double_t BmnSsdSensorPoint::GetZ1 ( ) const
inline

Entry z coordinate [cm].

Definition at line 52 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ GetZ2()

Double_t BmnSsdSensorPoint::GetZ2 ( ) const
inline

Exit z coordinate [cm].

Definition at line 55 of file BmnSsdSensorPoint.h.

Referenced by BmnSsdSensorDssd::ProduceCharge().

◆ ToString()

string BmnSsdSensorPoint::ToString ( ) const

String output

Definition at line 43 of file BmnSsdSensorPoint.cxx.

Referenced by BmnSsdSensorDssd::CalculateResponse().


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