CbmRoot
Loading...
Searching...
No Matches
cbm::kf::Target Class Reference

CBM target accessor and property handler. More...

#include <CbmKfTarget.h>

Collaboration diagram for cbm::kf::Target:
[legend]

Public Member Functions

double GetX () const
 Gets target center x-coordinate [cm].
 
double GetY () const
 Gets target center y-coordinate [cm].
 
double GetZ () const
 Gets target center z-coordinate [cm].
 
double GetDz () const
 Gets target half thickness [cm].
 
double GetRmax () const
 Gets target transverse size [cm].
 
 Target (const Target &)=delete
 
 Target (Target &&)=delete
 
Targetoperator= (const Target &)=delete
 
Targetoperator= (Target &&)=delete
 

Static Public Member Functions

static TargetInstance ()
 Instance access.
 

Protected Member Functions

 Target ()=default
 Default constructor.
 
 ~Target ()=default
 Destructor.
 
void Init ()
 Target initializer.
 

Static Protected Member Functions

static void FindTargetNode (TString &targetPath, TGeoNode *&targetNode)
 Finds a target.
 

Protected Attributes

double fX {cbm::algo::kf::defs::Undef<double>}
 reference x-coordinate of the target position [cm]
 
double fY {cbm::algo::kf::defs::Undef<double>}
 reference y-coordinate of the target position [cm]
 
double fZ {cbm::algo::kf::defs::Undef<double>}
 reference z-coordinate of the target position [cm]
 
double fDz {cbm::algo::kf::defs::Undef<double>}
 target half-thickness [cm]
 
double fRmax {cbm::algo::kf::defs::Undef<double>}
 target transverse size [cm]
 

Static Private Attributes

static TargetfpInstance {nullptr}
 
static std::mutex fMutex
 

Detailed Description

CBM target accessor and property handler.

Definition at line 25 of file CbmKfTarget.h.

Constructor & Destructor Documentation

◆ Target() [1/3]

cbm::kf::Target::Target ( const Target & )
delete

◆ Target() [2/3]

cbm::kf::Target::Target ( Target && )
delete

◆ Target() [3/3]

cbm::kf::Target::Target ( )
protecteddefault

Default constructor.

Referenced by Instance().

◆ ~Target()

cbm::kf::Target::~Target ( )
protecteddefault

Destructor.

Member Function Documentation

◆ FindTargetNode()

void Target::FindTargetNode ( TString & targetPath,
TGeoNode *& targetNode )
staticprotected

Finds a target.

Definition at line 41 of file CbmKfTarget.cxx.

References FindTargetNode().

Referenced by FindTargetNode(), and Init().

◆ GetDz()

double cbm::kf::Target::GetDz ( ) const
inline

Gets target half thickness [cm].

Definition at line 37 of file CbmKfTarget.h.

References fDz.

◆ GetRmax()

double cbm::kf::Target::GetRmax ( ) const
inline

Gets target transverse size [cm].

Definition at line 40 of file CbmKfTarget.h.

References fRmax.

◆ GetX()

double cbm::kf::Target::GetX ( ) const
inline

Gets target center x-coordinate [cm].

Definition at line 28 of file CbmKfTarget.h.

References fX.

◆ GetY()

double cbm::kf::Target::GetY ( ) const
inline

Gets target center y-coordinate [cm].

Definition at line 31 of file CbmKfTarget.h.

References fY.

◆ GetZ()

double cbm::kf::Target::GetZ ( ) const
inline

Gets target center z-coordinate [cm].

Definition at line 34 of file CbmKfTarget.h.

References fZ.

Referenced by CbmGenerateMaterialMaps::Init().

◆ Init()

void Target::Init ( )
protected

Target initializer.

Definition at line 68 of file CbmKfTarget.cxx.

References fDz, FindTargetNode(), fRmax, fX, fY, and fZ.

Referenced by Instance().

◆ Instance()

Target * Target::Instance ( )
static

Instance access.

Definition at line 29 of file CbmKfTarget.cxx.

References fMutex, fpInstance, Init(), and Target().

Referenced by cbm::kf::TrackingSetupBuilder::Init(), CbmGenerateMaterialMaps::Init(), and CbmL1::Init().

◆ operator=() [1/2]

Target & cbm::kf::Target::operator= ( const Target & )
delete

◆ operator=() [2/2]

Target & cbm::kf::Target::operator= ( Target && )
delete

Member Data Documentation

◆ fDz

double cbm::kf::Target::fDz {cbm::algo::kf::defs::Undef<double>}
protected

target half-thickness [cm]

Definition at line 68 of file CbmKfTarget.h.

Referenced by GetDz(), and Init().

◆ fMutex

std::mutex Target::fMutex
staticprivate

Definition at line 73 of file CbmKfTarget.h.

Referenced by Instance().

◆ fpInstance

Target * Target::fpInstance {nullptr}
staticprivate

Definition at line 72 of file CbmKfTarget.h.

Referenced by Instance().

◆ fRmax

double cbm::kf::Target::fRmax {cbm::algo::kf::defs::Undef<double>}
protected

target transverse size [cm]

Definition at line 69 of file CbmKfTarget.h.

Referenced by GetRmax(), and Init().

◆ fX

double cbm::kf::Target::fX {cbm::algo::kf::defs::Undef<double>}
protected

reference x-coordinate of the target position [cm]

Definition at line 65 of file CbmKfTarget.h.

Referenced by GetX(), and Init().

◆ fY

double cbm::kf::Target::fY {cbm::algo::kf::defs::Undef<double>}
protected

reference y-coordinate of the target position [cm]

Definition at line 66 of file CbmKfTarget.h.

Referenced by GetY(), and Init().

◆ fZ

double cbm::kf::Target::fZ {cbm::algo::kf::defs::Undef<double>}
protected

reference z-coordinate of the target position [cm]

Definition at line 67 of file CbmKfTarget.h.

Referenced by GetZ(), and Init().


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