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

#include <CbmStsPoint.h>

Inheritance diagram for CbmStsPoint:
[legend]
Collaboration diagram for CbmStsPoint:
[legend]

Public Member Functions

 CbmStsPoint ()
 
 CbmStsPoint (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Int_t eventId=0)
 
 CbmStsPoint (const CbmStsPoint &point, Int_t eventId=-1, Double_t eventTime=0., Double_t epochTime=0.)
 
virtual ~CbmStsPoint ()
 
Double_t GetXIn () const
 
Double_t GetYIn () const
 
Double_t GetZIn () const
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
void PositionIn (TVector3 &pos)
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
Int_t GetStation () const
 
Int_t GetModule () const
 
Double_t GetX (Double_t z) const
 
Double_t GetY (Double_t z) const
 
Bool_t IsUsable () const
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 
virtual void SetTrackID (Int_t id)
 
void SetStation (Int_t station)
 
void SetModule (Int_t module)
 
virtual void Print (const Option_t *opt="") const
 
void Info () const
 
 CbmStsPoint ()
 
 CbmStsPoint (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Int_t eventId=0)
 
 CbmStsPoint (const CbmStsPoint &point, Int_t eventId=-1, Double_t eventTime=0., Double_t epochTime=0.)
 
virtual ~CbmStsPoint ()
 
Double_t GetXIn () const
 
Double_t GetYIn () const
 
Double_t GetZIn () const
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
void PositionIn (TVector3 &pos)
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
Int_t GetStation () const
 
Int_t GetModule () const
 
Double_t GetX (Double_t z) const
 
Double_t GetY (Double_t z) const
 
Bool_t IsUsable () const
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 
virtual void SetTrackID (Int_t id)
 
void SetStation (Int_t station)
 
void SetModule (Int_t module)
 
virtual void Print (const Option_t *opt="") const
 
void Info () const
 

Protected Attributes

Double32_t fX_out
 
Double32_t fY_out
 
Double32_t fZ_out
 
Double32_t fPx_out
 
Double32_t fPy_out
 
Double32_t fPz_out
 
Int_t fStation
 
Int_t fModule
 

Detailed Description

Definition at line 25 of file CbmStsPoint.h.

Constructor & Destructor Documentation

◆ CbmStsPoint() [1/6]

CbmStsPoint::CbmStsPoint ( )

Default constructor

Definition at line 17 of file CbmStsPoint.cxx.

◆ CbmStsPoint() [2/6]

CbmStsPoint::CbmStsPoint ( Int_t  trackID,
Int_t  detID,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_t  eventId = 0 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posInCcoordinates at entrance to active volume [cm]
posOutCoordinates at exit of active volume [cm]
momInMomentum of track at entrance [GeV]
momOutMomentum of track at exit [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]
eventIdMC event identifier

Definition at line 34 of file CbmStsPoint.cxx.

References kMCTrack.

◆ CbmStsPoint() [3/6]

CbmStsPoint::CbmStsPoint ( const CbmStsPoint point,
Int_t  eventId = -1,
Double_t  eventTime = 0.,
Double_t  epochTime = 0. 
)

Copy constructor with event and epoch time Re-calculates time w.r.t. epoch time start

Parameters
eventIdMC event identifier (negative values keep original event ID)
eventTimeMC event time [ns]
epochTimeepoch start time [ns]

Definition at line 61 of file CbmStsPoint.cxx.

◆ ~CbmStsPoint() [1/2]

CbmStsPoint::~CbmStsPoint ( )
virtual

Destructor

Definition at line 55 of file CbmStsPoint.cxx.

◆ CbmStsPoint() [4/6]

CbmStsPoint::CbmStsPoint ( )

Default constructor

◆ CbmStsPoint() [5/6]

CbmStsPoint::CbmStsPoint ( Int_t  trackID,
Int_t  detID,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_t  eventId = 0 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posInCcoordinates at entrance to active volume [cm]
posOutCoordinates at exit of active volume [cm]
momInMomentum of track at entrance [GeV]
momOutMomentum of track at exit [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]
eventIdMC event identifier

◆ CbmStsPoint() [6/6]

CbmStsPoint::CbmStsPoint ( const CbmStsPoint point,
Int_t  eventId = -1,
Double_t  eventTime = 0.,
Double_t  epochTime = 0. 
)

Copy constructor with event and epoch time Re-calculates time w.r.t. epoch time start

Parameters
eventIdMC event identifier (negative values keep original event ID)
eventTimeMC event time [ns]
epochTimeepoch start time [ns]

◆ ~CbmStsPoint() [2/2]

virtual CbmStsPoint::~CbmStsPoint ( )
virtual

Destructor

Member Function Documentation

◆ GetModule() [1/2]

Int_t CbmStsPoint::GetModule ( ) const
inline

◆ GetModule() [2/2]

Int_t CbmStsPoint::GetModule ( ) const
inline

Definition at line 82 of file CbmStsPoint.h.

References fModule.

◆ GetPxOut() [1/2]

Double_t CbmStsPoint::GetPxOut ( ) const
inline

Definition at line 75 of file CbmStsPoint.h.

References fPx_out.

◆ GetPxOut() [2/2]

Double_t CbmStsPoint::GetPxOut ( ) const
inline

Definition at line 75 of file CbmStsPoint.h.

References fPx_out.

◆ GetPyOut() [1/2]

Double_t CbmStsPoint::GetPyOut ( ) const
inline

Definition at line 76 of file CbmStsPoint.h.

References fPy_out.

◆ GetPyOut() [2/2]

Double_t CbmStsPoint::GetPyOut ( ) const
inline

Definition at line 76 of file CbmStsPoint.h.

References fPy_out.

◆ GetPzOut() [1/2]

Double_t CbmStsPoint::GetPzOut ( ) const
inline

Definition at line 77 of file CbmStsPoint.h.

References fPz_out.

◆ GetPzOut() [2/2]

Double_t CbmStsPoint::GetPzOut ( ) const
inline

Definition at line 77 of file CbmStsPoint.h.

References fPz_out.

◆ GetStation() [1/2]

◆ GetStation() [2/2]

Int_t CbmStsPoint::GetStation ( ) const
inline

Definition at line 81 of file CbmStsPoint.h.

References fStation.

◆ GetX() [1/2]

Double_t CbmStsPoint::GetX ( Double_t  z) const

◆ GetX() [2/2]

Double_t CbmStsPoint::GetX ( Double_t  z) const

Point coordinates at given z from linear extrapolation

◆ GetXIn() [1/2]

◆ GetXIn() [2/2]

Double_t CbmStsPoint::GetXIn ( ) const
inline

Accessors

Definition at line 69 of file CbmStsPoint.h.

◆ GetXOut() [1/2]

◆ GetXOut() [2/2]

Double_t CbmStsPoint::GetXOut ( ) const
inline

Definition at line 72 of file CbmStsPoint.h.

References fX_out.

◆ GetY() [1/2]

◆ GetY() [2/2]

Double_t CbmStsPoint::GetY ( Double_t  z) const

◆ GetYIn() [1/2]

◆ GetYIn() [2/2]

Double_t CbmStsPoint::GetYIn ( ) const
inline

Definition at line 70 of file CbmStsPoint.h.

◆ GetYOut() [1/2]

◆ GetYOut() [2/2]

Double_t CbmStsPoint::GetYOut ( ) const
inline

Definition at line 73 of file CbmStsPoint.h.

References fY_out.

◆ GetZIn() [1/2]

◆ GetZIn() [2/2]

Double_t CbmStsPoint::GetZIn ( ) const
inline

Definition at line 71 of file CbmStsPoint.h.

◆ GetZOut() [1/2]

◆ GetZOut() [2/2]

Double_t CbmStsPoint::GetZOut ( ) const
inline

Definition at line 74 of file CbmStsPoint.h.

References fZ_out.

◆ Info() [1/2]

void CbmStsPoint::Info ( ) const

Definition at line 83 of file CbmStsPoint.cxx.

References fModule, fStation, fX_out, fY_out, and fZ_out.

◆ Info() [2/2]

void CbmStsPoint::Info ( ) const

◆ IsUsable() [1/2]

Bool_t CbmStsPoint::IsUsable ( ) const

Check for distance between in and out

Definition at line 123 of file CbmStsPoint.cxx.

References fZ_out.

Referenced by CbmStsIdealDigitize::Exec().

◆ IsUsable() [2/2]

Bool_t CbmStsPoint::IsUsable ( ) const

Check for distance between in and out

◆ MomentumOut() [1/2]

void CbmStsPoint::MomentumOut ( TVector3 &  mom)
inline

◆ MomentumOut() [2/2]

void CbmStsPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 80 of file CbmStsPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ PositionIn() [1/2]

void CbmStsPoint::PositionIn ( TVector3 &  pos)
inline

◆ PositionIn() [2/2]

void CbmStsPoint::PositionIn ( TVector3 &  pos)
inline

Definition at line 78 of file CbmStsPoint.h.

◆ PositionOut() [1/2]

◆ PositionOut() [2/2]

void CbmStsPoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 79 of file CbmStsPoint.h.

References fX_out, fY_out, and fZ_out.

◆ Print() [1/2]

virtual void CbmStsPoint::Print ( const Option_t *  opt = "") const
inlinevirtual

Output to screen

Definition at line 105 of file CbmStsPoint.h.

◆ Print() [2/2]

virtual void CbmStsPoint::Print ( const Option_t *  opt = "") const
inlinevirtual

Output to screen

Definition at line 105 of file CbmStsPoint.h.

◆ SetModule() [1/2]

void CbmStsPoint::SetModule ( Int_t  module)
inline

Definition at line 102 of file CbmStsPoint.h.

References fModule.

◆ SetModule() [2/2]

void CbmStsPoint::SetModule ( Int_t  module)
inline

Definition at line 102 of file CbmStsPoint.h.

References fModule.

◆ SetMomentumOut() [1/2]

void CbmStsPoint::SetMomentumOut ( TVector3  mom)
inline

Definition at line 132 of file CbmStsPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ SetMomentumOut() [2/2]

void CbmStsPoint::SetMomentumOut ( TVector3  mom)

◆ SetPositionOut() [1/2]

void CbmStsPoint::SetPositionOut ( TVector3  pos)
inline

Modifiers

Definition at line 125 of file CbmStsPoint.h.

References fX_out, fY_out, and fZ_out.

◆ SetPositionOut() [2/2]

void CbmStsPoint::SetPositionOut ( TVector3  pos)

Modifiers

◆ SetStation() [1/2]

void CbmStsPoint::SetStation ( Int_t  station)
inline

Definition at line 101 of file CbmStsPoint.h.

References fStation.

◆ SetStation() [2/2]

void CbmStsPoint::SetStation ( Int_t  station)
inline

Definition at line 101 of file CbmStsPoint.h.

References fStation.

◆ SetTrackID() [1/2]

virtual void CbmStsPoint::SetTrackID ( Int_t  id)
inlinevirtual

Definition at line 97 of file CbmStsPoint.h.

Referenced by CbmSts::CopyClones().

◆ SetTrackID() [2/2]

virtual void CbmStsPoint::SetTrackID ( Int_t  id)
inlinevirtual

Definition at line 97 of file CbmStsPoint.h.

Member Data Documentation

◆ fModule

Int_t CbmStsPoint::fModule
protected

Definition at line 115 of file CbmStsPoint.h.

Referenced by GetModule(), Info(), and SetModule().

◆ fPx_out

Double32_t CbmStsPoint::fPx_out
protected

Definition at line 113 of file CbmStsPoint.h.

Referenced by GetPxOut(), MomentumOut(), and SetMomentumOut().

◆ fPy_out

Double32_t CbmStsPoint::fPy_out
protected

Definition at line 113 of file CbmStsPoint.h.

Referenced by GetPyOut(), MomentumOut(), and SetMomentumOut().

◆ fPz_out

Double32_t CbmStsPoint::fPz_out
protected

Definition at line 113 of file CbmStsPoint.h.

Referenced by GetPzOut(), MomentumOut(), and SetMomentumOut().

◆ fStation

Int_t CbmStsPoint::fStation
protected

Definition at line 114 of file CbmStsPoint.h.

Referenced by GetStation(), Info(), and SetStation().

◆ fX_out

Double32_t CbmStsPoint::fX_out
protected

Definition at line 112 of file CbmStsPoint.h.

Referenced by GetX(), GetXOut(), Info(), PositionOut(), and SetPositionOut().

◆ fY_out

Double32_t CbmStsPoint::fY_out
protected

Definition at line 112 of file CbmStsPoint.h.

Referenced by GetY(), GetYOut(), Info(), PositionOut(), and SetPositionOut().

◆ fZ_out

Double32_t CbmStsPoint::fZ_out
protected

Definition at line 112 of file CbmStsPoint.h.

Referenced by GetX(), GetY(), GetZOut(), Info(), IsUsable(), PositionOut(), and SetPositionOut().


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