BmnRoot 26.10.0-233-gb9bbe585
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

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/3]

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().

Here is the caller graph for this function:

◆ CbmStsPoint() [2/3]

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/3]

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

CbmStsPoint::~CbmStsPoint ( )
virtual

Definition at line 56 of file CbmStsPoint.cxx.

Member Function Documentation

◆ GetModule()

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:

◆ GetPxOut()

Double_t CbmStsPoint::GetPxOut ( ) const
inline

Definition at line 70 of file CbmStsPoint.h.

References fPx_out.

◆ GetPyOut()

Double_t CbmStsPoint::GetPyOut ( ) const
inline

Definition at line 71 of file CbmStsPoint.h.

References fPy_out.

◆ GetPzOut()

Double_t CbmStsPoint::GetPzOut ( ) const
inline

Definition at line 72 of file CbmStsPoint.h.

References fPz_out.

◆ GetStation()

◆ GetX()

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:

◆ GetXIn()

◆ GetXOut()

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:

◆ GetY()

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:

◆ GetYIn()

◆ GetYOut()

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:

◆ GetZIn()

◆ GetZOut()

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:

◆ Info()

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:

◆ IsUsable()

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:

◆ MomentumOut()

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:

◆ PositionIn()

void CbmStsPoint::PositionIn ( TVector3 & pos)
inline

Definition at line 73 of file CbmStsPoint.h.

References TVector3::SetXYZ().

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

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

◆ PositionOut()

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(), BmnGemFastDigitize::ProduceHitResponseFast(), CbmStsDigitize::ProduceHitResponseSi(), CbmL1::ReadMCPoint(), and CbmStsTrackFitterIdeal::SetTrackParam().

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

◆ Print()

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

Definition at line 98 of file CbmStsPoint.h.

◆ SetModule()

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:

◆ SetMomentumOut()

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:

◆ SetPositionOut()

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:

◆ SetStation()

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:

◆ SetTrackID()

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:

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: