BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmStsPoint Class Reference

#include <CbmStsPoint.h>

Inheritance diagram for CbmStsPoint:
Collaboration diagram for CbmStsPoint:

Public Member Functions

 CbmStsPoint ()
 Default constructor.
 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.
 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.
virtual ~CbmStsPoint ()
 Destructor.
Double_t GetXIn () const
 Accessors.
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
 Point coordinates at given z from linear extrapolation.
Double_t GetY (Double_t z) const
Bool_t IsUsable () const
 Check for distance between in and out.
void SetPositionOut (TVector3 pos)
 Modifiers.
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
 Output to screen.
void Info () const
 CbmStsPoint ()
 Default constructor.
 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.
 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.
virtual ~CbmStsPoint ()
 Destructor.
Double_t GetXIn () const
 Accessors.
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
 Point coordinates at given z from linear extrapolation.
Double_t GetY (Double_t z) const
Bool_t IsUsable () const
 Check for distance between in and out.
void SetPositionOut (TVector3 pos)
 Modifiers.
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
 Output to screen.
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 22 of file CbmStsPoint.h.

Constructor & Destructor Documentation

◆ CbmStsPoint() [1/6]

CbmStsPoint::CbmStsPoint ( )

Definition at line 17 of file CbmStsPoint.cxx.

References fModule, fPx_out, fPy_out, fPz_out, fStation, fX_out, fY_out, and fZ_out.

Referenced by CbmStsPoint(), and Info().

Here is the caller graph for this function:

◆ 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 )
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 31 of file CbmStsPoint.cxx.

References fModule, fPx_out, fPy_out, fPz_out, fStation, fX_out, fY_out, fZ_out, kMCTrack, and tof.

◆ CbmStsPoint() [3/6]

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

epoch time start

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

Definition at line 60 of file CbmStsPoint.cxx.

References CbmStsPoint(), fModule, fPx_out, fPy_out, fPz_out, fStation, fX_out, fY_out, and fZ_out.

Here is the call graph for this function:

◆ ~CbmStsPoint() [1/2]

CbmStsPoint::~CbmStsPoint ( )
virtual

Definition at line 56 of file CbmStsPoint.cxx.

◆ CbmStsPoint() [4/6]

CbmStsPoint::CbmStsPoint ( )

◆ 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 )
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

References tof.

◆ CbmStsPoint() [6/6]

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

epoch time start

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

References CbmStsPoint().

Here is the call graph for this function:

◆ ~CbmStsPoint() [2/2]

virtual CbmStsPoint::~CbmStsPoint ( )
virtual

Member Function Documentation

◆ GetModule() [1/2]

Int_t CbmStsPoint::GetModule ( ) const
inline

Definition at line 77 of file CbmStsPoint.h.

References fModule.

Referenced by DrawBranchPoints(), BmnRecoTools::FillSetStsHits(), BmnRecoTools::FillSetStsPoints(), and BmnTrackConv::ProcessEVE().

Here is the caller graph for this function:

◆ GetModule() [2/2]

Int_t CbmStsPoint::GetModule ( ) const
inline

Definition at line 77 of file CbmStsPoint.h.

References fModule.

◆ GetPxOut() [1/2]

Double_t CbmStsPoint::GetPxOut ( ) const
inline

Definition at line 70 of file CbmStsPoint.h.

References fPx_out.

◆ GetPxOut() [2/2]

Double_t CbmStsPoint::GetPxOut ( ) const
inline

Definition at line 70 of file CbmStsPoint.h.

References fPx_out.

◆ GetPyOut() [1/2]

Double_t CbmStsPoint::GetPyOut ( ) const
inline

Definition at line 71 of file CbmStsPoint.h.

References fPy_out.

◆ GetPyOut() [2/2]

Double_t CbmStsPoint::GetPyOut ( ) const
inline

Definition at line 71 of file CbmStsPoint.h.

References fPy_out.

◆ GetPzOut() [1/2]

Double_t CbmStsPoint::GetPzOut ( ) const
inline

Definition at line 72 of file CbmStsPoint.h.

References fPz_out.

◆ GetPzOut() [2/2]

Double_t CbmStsPoint::GetPzOut ( ) const
inline

Definition at line 72 of file CbmStsPoint.h.

References fPz_out.

◆ GetStation() [1/2]

◆ GetStation() [2/2]

Int_t CbmStsPoint::GetStation ( ) const
inline

Definition at line 76 of file CbmStsPoint.h.

References fStation.

◆ GetX() [1/2]

Double_t CbmStsPoint::GetX ( Double_t z) const

Definition at line 92 of file CbmStsPoint.cxx.

References fX_out, fZ_out, and z.

Referenced by CbmStsFindHitsQa::Exec(), CbmStsIdealDigitize::Exec(), CbmStsIdealMatchHits::Exec(), CbmStsMatchHits::Exec(), CbmStsRealMatchHits::Exec(), CbmStsSimulationQa::Exec(), CbmStsRealMatchHits::ExecReal(), BmnRecoTools::FillSetStsHits(), BmnRecoTools::FillSetStsPoints(), and CbmL1::InputPerformance().

Here is the caller graph for this function:

◆ GetX() [2/2]

Double_t CbmStsPoint::GetX ( Double_t z) const

References z.

◆ GetXIn() [1/2]

◆ GetXIn() [2/2]

Double_t CbmStsPoint::GetXIn ( ) const
inline

Definition at line 64 of file CbmStsPoint.h.

◆ GetXOut() [1/2]

Double_t CbmStsPoint::GetXOut ( ) const
inline

Definition at line 67 of file CbmStsPoint.h.

References fX_out.

Referenced by CbmStsDigitize::CrossSpacer(), CbmStsDigitizeTb::DigitizePoint(), CbmStsFindHitsQa::Exec(), CbmStsHitProducerIdeal::Exec(), CbmKFTrackFitQA::FillHitHistos(), CbmStsRealDigitize::FindFiredStrips(), CbmStsSenzor::ProcessPoint(), CbmStsDigitize::ProduceHitResponse(), and CbmStsRealDigitize::ProduceHitResponse().

Here is the caller graph for this function:

◆ GetXOut() [2/2]

Double_t CbmStsPoint::GetXOut ( ) const
inline

Definition at line 67 of file CbmStsPoint.h.

References fX_out.

◆ GetY() [1/2]

Double_t CbmStsPoint::GetY ( Double_t z) const

Definition at line 103 of file CbmStsPoint.cxx.

References fY_out, fZ_out, and z.

Referenced by CbmStsFindHitsQa::Exec(), CbmStsIdealDigitize::Exec(), CbmStsIdealMatchHits::Exec(), CbmStsMatchHits::Exec(), CbmStsRealMatchHits::Exec(), CbmStsSimulationQa::Exec(), CbmStsRealMatchHits::ExecReal(), BmnRecoTools::FillSetStsHits(), BmnRecoTools::FillSetStsPoints(), and CbmL1::InputPerformance().

Here is the caller graph for this function:

◆ GetY() [2/2]

Double_t CbmStsPoint::GetY ( Double_t z) const

References z.

◆ GetYIn() [1/2]

◆ GetYIn() [2/2]

Double_t CbmStsPoint::GetYIn ( ) const
inline

Definition at line 65 of file CbmStsPoint.h.

◆ GetYOut() [1/2]

Double_t CbmStsPoint::GetYOut ( ) const
inline

Definition at line 68 of file CbmStsPoint.h.

References fY_out.

Referenced by CbmStsDigitize::CrossSpacer(), CbmStsDigitizeTb::DigitizePoint(), CbmStsHitProducerIdeal::Exec(), CbmKFTrackFitQA::FillHitHistos(), CbmStsRealDigitize::FindFiredStrips(), CbmStsSenzor::ProcessPoint(), CbmStsDigitize::ProduceHitResponse(), and CbmStsRealDigitize::ProduceHitResponse().

Here is the caller graph for this function:

◆ GetYOut() [2/2]

Double_t CbmStsPoint::GetYOut ( ) const
inline

Definition at line 68 of file CbmStsPoint.h.

References fY_out.

◆ GetZIn() [1/2]

◆ GetZIn() [2/2]

Double_t CbmStsPoint::GetZIn ( ) const
inline

Definition at line 66 of file CbmStsPoint.h.

◆ GetZOut() [1/2]

Double_t CbmStsPoint::GetZOut ( ) const
inline

Definition at line 69 of file CbmStsPoint.h.

References fZ_out.

Referenced by CbmStsDigitize::CrossSpacer(), CbmStsDigitizeTb::DigitizePoint(), CbmStsFindHitsQa::Exec(), CbmStsHitProducerIdeal::Exec(), CbmStsRealDigitize::FindFiredStrips(), CbmStsSenzor::ProcessPoint(), CbmStsDigitize::ProduceHitResponse(), and CbmStsRealDigitize::ProduceHitResponse().

Here is the caller graph for this function:

◆ GetZOut() [2/2]

Double_t CbmStsPoint::GetZOut ( ) const
inline

Definition at line 69 of file CbmStsPoint.h.

References fZ_out.

◆ Info() [1/2]

void CbmStsPoint::Info ( ) const

Definition at line 79 of file CbmStsPoint.cxx.

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

Referenced by CbmStsDigitizeTb::DigitizePoint().

Here is the caller graph for this function:

◆ Info() [2/2]

void CbmStsPoint::Info ( ) const

References CbmStsPoint(), fModule, fPx_out, fPy_out, fPz_out, fStation, fX_out, fY_out, and fZ_out.

Here is the call graph for this function:

◆ IsUsable() [1/2]

Bool_t CbmStsPoint::IsUsable ( ) const

Definition at line 114 of file CbmStsPoint.cxx.

References TMath::Abs(), and fZ_out.

Referenced by CbmStsIdealDigitize::Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsUsable() [2/2]

Bool_t CbmStsPoint::IsUsable ( ) const

◆ MomentumOut() [1/2]

void CbmStsPoint::MomentumOut ( TVector3 & mom)
inline

Definition at line 75 of file CbmStsPoint.h.

References fPx_out, fPy_out, fPz_out, and TVector3::SetXYZ().

Referenced by CbmStsFitPerformanceTask::FillMCStateVectors(), BmnTrackConv::ProcessEVE(), CbmL1::ReadMCPoint(), and CbmStsTrackFitterIdeal::SetTrackParam().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MomentumOut() [2/2]

void CbmStsPoint::MomentumOut ( TVector3 & mom)
inline

Definition at line 75 of file CbmStsPoint.h.

References fPx_out, fPy_out, fPz_out, and TVector3::SetXYZ().

Here is the call graph for this function:

◆ PositionIn() [1/2]

void CbmStsPoint::PositionIn ( TVector3 & pos)
inline

Definition at line 73 of file CbmStsPoint.h.

References TVector3::SetXYZ().

Referenced by CbmL1::HitMatch(), CbmStsDigitize::ProduceHitResponseAZ(), and CbmStsDigitize::ProduceHitResponseSi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PositionIn() [2/2]

void CbmStsPoint::PositionIn ( TVector3 & pos)
inline

Definition at line 73 of file CbmStsPoint.h.

References TVector3::SetXYZ().

Here is the call graph for this function:

◆ PositionOut() [1/2]

void CbmStsPoint::PositionOut ( TVector3 & pos)
inline

Definition at line 74 of file CbmStsPoint.h.

References fX_out, fY_out, fZ_out, and TVector3::SetXYZ().

Referenced by CbmStsFitPerformanceTask::FillMCStateVectors(), CbmL1::HitMatch(), BmnTrackConv::ProcessEVE(), CbmStsDigitize::ProduceHitResponseAZ(), CbmStsDigitize::ProduceHitResponseSi(), CbmL1::ReadMCPoint(), and CbmStsTrackFitterIdeal::SetTrackParam().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PositionOut() [2/2]

void CbmStsPoint::PositionOut ( TVector3 & pos)
inline

Definition at line 74 of file CbmStsPoint.h.

References fX_out, fY_out, fZ_out, and TVector3::SetXYZ().

Here is the call graph for this function:

◆ Print() [1/2]

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

Definition at line 98 of file CbmStsPoint.h.

◆ Print() [2/2]

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

Definition at line 98 of file CbmStsPoint.h.

◆ SetModule() [1/2]

void CbmStsPoint::SetModule ( Int_t module)
inline

Definition at line 95 of file CbmStsPoint.h.

References fModule.

Referenced by CbmSts::AddHit().

Here is the caller graph for this function:

◆ SetModule() [2/2]

void CbmStsPoint::SetModule ( Int_t module)
inline

Definition at line 95 of file CbmStsPoint.h.

References fModule.

◆ SetMomentumOut() [1/2]

void CbmStsPoint::SetMomentumOut ( TVector3 mom)
inline

Definition at line 117 of file CbmStsPoint.h.

References fPx_out, fPy_out, fPz_out, TVector3::Px(), TVector3::Py(), and TVector3::Pz().

Here is the call graph for this function:

◆ SetMomentumOut() [2/2]

void CbmStsPoint::SetMomentumOut ( TVector3 mom)

◆ SetPositionOut() [1/2]

void CbmStsPoint::SetPositionOut ( TVector3 pos)
inline

Definition at line 110 of file CbmStsPoint.h.

References fX_out, fY_out, fZ_out, TVector3::X(), TVector3::Y(), and TVector3::Z().

Here is the call graph for this function:

◆ SetPositionOut() [2/2]

void CbmStsPoint::SetPositionOut ( TVector3 pos)

◆ SetStation() [1/2]

void CbmStsPoint::SetStation ( Int_t station)
inline

Definition at line 94 of file CbmStsPoint.h.

References fStation.

Referenced by CbmSts::AddHit().

Here is the caller graph for this function:

◆ SetStation() [2/2]

void CbmStsPoint::SetStation ( Int_t station)
inline

Definition at line 94 of file CbmStsPoint.h.

References fStation.

◆ SetTrackID() [1/2]

virtual void CbmStsPoint::SetTrackID ( Int_t id)
inlinevirtual

Definition at line 89 of file CbmStsPoint.h.

Referenced by CbmSts::CopyClones().

Here is the caller graph for this function:

◆ SetTrackID() [2/2]

virtual void CbmStsPoint::SetTrackID ( Int_t id)
inlinevirtual

Definition at line 89 of file CbmStsPoint.h.

Member Data Documentation

◆ fModule

Int_t CbmStsPoint::fModule
protected

Definition at line 105 of file CbmStsPoint.h.

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

◆ fPx_out

Double32_t CbmStsPoint::fPx_out
protected

◆ fPy_out

Double32_t CbmStsPoint::fPy_out
protected

◆ fPz_out

Double32_t CbmStsPoint::fPz_out
protected

◆ fStation

Int_t CbmStsPoint::fStation
protected

Definition at line 104 of file CbmStsPoint.h.

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

◆ fX_out

Double32_t CbmStsPoint::fX_out
protected

◆ fY_out

Double32_t CbmStsPoint::fY_out
protected

◆ fZ_out

Double32_t CbmStsPoint::fZ_out
protected

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