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

#include <CbmStsStation.h>

Inheritance diagram for CbmStsStation:
Collaboration diagram for CbmStsStation:

Public Member Functions

 CbmStsStation ()
 Default constructor.
 CbmStsStation (const char *name, Int_t detId, Double_t z, Double_t d, Double_t rl, Double_t rmin, Double_t rmax, Double_t rotation)
 Standard constructor.
virtual ~CbmStsStation ()
 Destructor.
Int_t GetDetectorId () const
 Accessors.
Int_t GetSystemId () const
Int_t GetStationNr () const
Double_t GetZ (Int_t it=0)
Double_t GetD () const
Double_t GetRadLength () const
Double_t GetRmin () const
Double_t GetRmax () const
Int_t GetNSectors () const
Int_t GetNChannels ()
TObjArray * GetSectors ()
CbmStsSector * GetSector (Int_t iSector)
CbmStsSector * GetSectorByNr (Int_t sectorNr)
void AddSector (CbmStsSectorDigiPar *sectorPar)
 Add one sector to the array.
void AddSector (CbmStsSector *sector)
Int_t GetNofZ ()
void SetZ (Double_t z)
void Reset ()
 Reset all eventwise counters.
virtual void Print (Bool_t kLong)
 Output to screen.
 CbmStsStation ()
 Default constructor.
 CbmStsStation (const char *name, Int_t detId, Double_t z, Double_t d, Double_t rl, Double_t rmin, Double_t rmax, Double_t rotation)
 Standard constructor.
virtual ~CbmStsStation ()
 Destructor.
Int_t GetDetectorId () const
 Accessors.
Int_t GetSystemId () const
Int_t GetStationNr () const
Double_t GetZ (Int_t it=0)
Double_t GetD () const
Double_t GetRadLength () const
Double_t GetRmin () const
Double_t GetRmax () const
Int_t GetNSectors () const
Int_t GetNChannels ()
TObjArray * GetSectors ()
CbmStsSector * GetSector (Int_t iSector)
CbmStsSector * GetSectorByNr (Int_t sectorNr)
void AddSector (CbmStsSectorDigiPar *sectorPar)
 Add one sector to the array.
void AddSector (CbmStsSector *sector)
Int_t GetNofZ ()
void SetZ (Double_t z)
void Reset ()
 Reset all eventwise counters.
virtual void Print (Bool_t kLong)
 Output to screen.
Public Member Functions inherited from TNamed
 TNamed ()
 TNamed (const char *name, const char *title)
 TNamed (const TNamed &named)
 TNamed (const TString &name, const TString &title)
virtual ~TNamed ()
void Clear (Option_t *option="") override
TObject * Clone (const char *newname="") const override
Int_t Compare (const TObject *obj) const override
void Copy (TObject &named) const override
virtual void FillBuffer (char *&buffer)
const char * GetName () const override
const char * GetTitle () const override
ULong_t Hash () const override
TClass * IsA () const override
Bool_t IsSortable () const override
void ls (Option_t *option="") const override
TNamed & operator= (const TNamed &rhs)
void Print (Option_t *option="") const override
virtual void SetName (const char *name)
virtual void SetNameTitle (const char *name, const char *title)
virtual void SetTitle (const char *title="")
virtual Int_t Sizeof () const
void Streamer (TBuffer &) override
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
Public Member Functions inherited from TObject
 TObject ()
 TObject (const TObject &object)
virtual ~TObject ()
void AbstractMethod (const char *method) const
virtual void AppendPad (Option_t *option="")
virtual void Browse (TBrowser *b)
ULong_t CheckedHash ()
virtual const char * ClassName () const
virtual void Delete (Option_t *option="")
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawClass () const
virtual TObject * DrawClone (Option_t *option="") const
virtual void Dump () const
virtual void Error (const char *method, const char *msgfmt,...) const
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual void Fatal (const char *method, const char *msgfmt,...) const
virtual TObject * FindObject (const char *name) const
virtual TObject * FindObject (const TObject *obj) const
virtual Option_t * GetDrawOption () const
virtual const char * GetIconName () const
virtual char * GetObjectInfo (Int_t px, Int_t py) const
virtual Option_t * GetOption () const
virtual UInt_t GetUniqueID () const
virtual Bool_t HandleTimer (TTimer *timer)
Bool_t HasInconsistentHash () const
virtual void Info (const char *method, const char *msgfmt,...) const
virtual Bool_t InheritsFrom (const char *classname) const
virtual Bool_t InheritsFrom (const TClass *cl) const
virtual void Inspect () const
void InvertBit (UInt_t f)
Bool_t IsDestructed () const
virtual Bool_t IsEqual (const TObject *obj) const
virtual Bool_t IsFolder () const
R__ALWAYS_INLINE Bool_t IsOnHeap () const
R__ALWAYS_INLINE Bool_t IsZombie () const
void MayNotUse (const char *method) const
virtual Bool_t Notify ()
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
void operator delete (void *ptr)
void operator delete (void *ptr, void *vp)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, void *vp)
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
TObject & operator= (const TObject &rhs)
virtual void Paint (Option_t *option="")
virtual void Pop ()
virtual Int_t Read (const char *name)
virtual void RecursiveRemove (TObject *obj)
void ResetBit (UInt_t f)
virtual void SaveAs (const char *filename="", Option_t *option="") const
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
virtual void SetDrawOption (Option_t *option="")
virtual void SetUniqueID (UInt_t uid)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
virtual void SysError (const char *method, const char *msgfmt,...) const
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
Int_t TestBits (UInt_t f) const
virtual void UseCurrentStyle ()
virtual void Warning (const char *method, const char *msgfmt,...) const
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const

Protected Attributes

TString fName
Int_t fDetectorId
Double32_t fZ
Double32_t fD
Double32_t fRadLength
Double32_t fRmin
Double32_t fRmax
Double32_t fRotation
TObjArray * fSectors
std::map< Int_t, Int_t > fSectorMap
std::map< Int_t, Int_t > fMcIdMap
 Map from sector number to index.
Double_t fSensorZ [30]
 Map from McId to index.
Protected Attributes inherited from TNamed
TString fName
TString fTitle
Protected Attributes inherited from TObject
 kOnlyPrepStep

Private Member Functions

 CbmStsStation (const CbmStsStation &)
CbmStsStation operator= (const CbmStsStation &)
 CbmStsStation (const CbmStsStation &)
CbmStsStation operator= (const CbmStsStation &)

Additional Inherited Members

Public Types inherited from TObject
enum  EDeprecatedStatusBits
enum  EStatusBits
Static Public Member Functions inherited from TNamed
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
Static Public Member Functions inherited from TObject
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
static Longptr_t GetDtorOnly ()
static Bool_t GetObjectStat ()
static void SetDtorOnly (void *obj)
static void SetObjectStat (Bool_t stat)
Public Attributes inherited from TObject
 kIsOnHeap
 kNotDeleted
 kZombie
 kInconsistent
 kBitMask
 kSingleKey
 kOverwrite
 kWriteDelete
 kObjInCanvas
 kCanDelete
 kMustCleanup
 kIsReferenced
 kHasUUID
 kCannotPick
 kNoContextMenu
 kInvalidObject
Protected Member Functions inherited from TNamed
void SavePrimitiveNameTitle (std::ostream &out, const char *variable_name)
Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
void MakeZombie ()
Static Protected Member Functions inherited from TObject
static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE)

Detailed Description

Definition at line 25 of file CbmStsStation.h.

Constructor & Destructor Documentation

◆ CbmStsStation() [1/6]

CbmStsStation::CbmStsStation ( )

Definition at line 21 of file CbmStsStation.cxx.

References fD, fDetectorId, fMcIdMap, fName, fRadLength, fRmax, fRmin, fRotation, fSectorMap, fSectors, and fZ.

Referenced by CbmStsStation(), and operator=().

Here is the caller graph for this function:

◆ CbmStsStation() [2/6]

CbmStsStation::CbmStsStation ( const char * name,
Int_t detId,
Double_t z,
Double_t d,
Double_t rl,
Double_t rmin,
Double_t rmax,
Double_t rotation )
Parameters
nameVolume name of station
detIdDetector ID
zz position of station centre [cm]
dthickness of station [cm]
rlradiation length of material [cm]
rminInner radius [cm]
rmaxOuter radius [cm]
rotationRotation angle in global c.s. [rad]

Definition at line 39 of file CbmStsStation.cxx.

References TNamed::TNamed(), d, fD, fDetectorId, fMcIdMap, fName, fRadLength, fRmax, fRmin, fRotation, fSectorMap, fSectors, fSensorZ, fZ, rotation, and z.

Here is the call graph for this function:

◆ ~CbmStsStation() [1/2]

CbmStsStation::~CbmStsStation ( )
virtual

Definition at line 76 of file CbmStsStation.cxx.

References fSectors.

◆ CbmStsStation() [3/6]

CbmStsStation::CbmStsStation ( const CbmStsStation & )
private

References CbmStsStation().

Here is the call graph for this function:

◆ CbmStsStation() [4/6]

CbmStsStation::CbmStsStation ( )

◆ CbmStsStation() [5/6]

CbmStsStation::CbmStsStation ( const char * name,
Int_t detId,
Double_t z,
Double_t d,
Double_t rl,
Double_t rmin,
Double_t rmax,
Double_t rotation )
Parameters
nameVolume name of station
detIdDetector ID
zz position of station centre [cm]
dthickness of station [cm]
rlradiation length of material [cm]
rminInner radius [cm]
rmaxOuter radius [cm]
rotationRotation angle in global c.s. [rad]

References d, rotation, and z.

◆ ~CbmStsStation() [2/2]

virtual CbmStsStation::~CbmStsStation ( )
virtual

◆ CbmStsStation() [6/6]

CbmStsStation::CbmStsStation ( const CbmStsStation & )
private

References CbmStsStation().

Here is the call graph for this function:

Member Function Documentation

◆ AddSector() [1/4]

void CbmStsStation::AddSector ( CbmStsSector * sector)

Definition at line 138 of file CbmStsStation.cxx.

References fSectorMap, fSectors, and CbmStsSector::GetSectorNr().

Here is the call graph for this function:

◆ AddSector() [2/4]

void CbmStsStation::AddSector ( CbmStsSector * sector)

◆ AddSector() [3/4]

void CbmStsStation::AddSector ( CbmStsSectorDigiPar * sectorPar)

Definition at line 111 of file CbmStsStation.cxx.

References fName, fSectorMap, fSectors, CbmStsSectorDigiPar::GetSectorNr(), and GetStationNr().

Referenced by CbmStsDigiScheme::AddHotZone(), CbmStsDigiScheme::InitNewNew(), and CbmStsDigiScheme::SetSensor().

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

◆ AddSector() [4/4]

void CbmStsStation::AddSector ( CbmStsSectorDigiPar * sectorPar)

◆ GetD() [1/2]

Double_t CbmStsStation::GetD ( ) const
inline

Definition at line 58 of file CbmStsStation.h.

References fD.

Referenced by CbmKF::Init(), CbmL1::Init(), and CbmL1::WriteSIMDKFData().

Here is the caller graph for this function:

◆ GetD() [2/2]

Double_t CbmStsStation::GetD ( ) const
inline

Definition at line 58 of file CbmStsStation.h.

References fD.

◆ GetDetectorId() [1/2]

Int_t CbmStsStation::GetDetectorId ( ) const
inline

Definition at line 54 of file CbmStsStation.h.

References fDetectorId.

◆ GetDetectorId() [2/2]

Int_t CbmStsStation::GetDetectorId ( ) const
inline

Definition at line 54 of file CbmStsStation.h.

References fDetectorId.

◆ GetNChannels() [1/2]

Int_t CbmStsStation::GetNChannels ( )

Definition at line 86 of file CbmStsStation.cxx.

References CbmStsSector::GetNChannels(), GetNChannels(), GetNSectors(), and GetSector().

Referenced by GetNChannels(), CbmStsDigiScheme::InitNew(), and Print().

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

◆ GetNChannels() [2/2]

Int_t CbmStsStation::GetNChannels ( )

◆ GetNofZ() [1/2]

Int_t CbmStsStation::GetNofZ ( )

Definition at line 184 of file CbmStsStation.cxx.

References TMath::Abs(), fSensorZ, GetNSectors(), CbmStsSector::GetNSensors(), GetSector(), CbmStsSector::GetSensor(), and CbmStsSensor::GetZ0().

Referenced by CbmStsIdealFindHits::FindHits(), and CbmStsRealFindHits::FindHits().

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

◆ GetNofZ() [2/2]

Int_t CbmStsStation::GetNofZ ( )

◆ GetNSectors() [1/2]

◆ GetNSectors() [2/2]

Int_t CbmStsStation::GetNSectors ( ) const
inline

Definition at line 62 of file CbmStsStation.h.

References fSectors.

◆ GetRadLength() [1/2]

Double_t CbmStsStation::GetRadLength ( ) const
inline

Definition at line 59 of file CbmStsStation.h.

References fRadLength.

Referenced by CbmKF::Init(), CbmL1::Init(), and CbmL1::WriteSIMDKFData().

Here is the caller graph for this function:

◆ GetRadLength() [2/2]

Double_t CbmStsStation::GetRadLength ( ) const
inline

Definition at line 59 of file CbmStsStation.h.

References fRadLength.

◆ GetRmax() [1/2]

Double_t CbmStsStation::GetRmax ( ) const
inline

Definition at line 61 of file CbmStsStation.h.

References fRmax.

Referenced by CbmKF::Init(), and CbmL1::Init().

Here is the caller graph for this function:

◆ GetRmax() [2/2]

Double_t CbmStsStation::GetRmax ( ) const
inline

Definition at line 61 of file CbmStsStation.h.

References fRmax.

◆ GetRmin() [1/2]

Double_t CbmStsStation::GetRmin ( ) const
inline

Definition at line 60 of file CbmStsStation.h.

References fRmin.

Referenced by CbmKF::Init(), and CbmL1::Init().

Here is the caller graph for this function:

◆ GetRmin() [2/2]

Double_t CbmStsStation::GetRmin ( ) const
inline

Definition at line 60 of file CbmStsStation.h.

References fRmin.

◆ GetSector() [1/2]

◆ GetSector() [2/2]

CbmStsSector * CbmStsStation::GetSector ( Int_t iSector)
inline

Definition at line 65 of file CbmStsStation.h.

References fSectors.

◆ GetSectorByNr() [1/2]

CbmStsSector * CbmStsStation::GetSectorByNr ( Int_t sectorNr)

Definition at line 97 of file CbmStsStation.cxx.

References fSectorMap, fSectors, and GetStationNr().

Here is the call graph for this function:

◆ GetSectorByNr() [2/2]

CbmStsSector * CbmStsStation::GetSectorByNr ( Int_t sectorNr)

◆ GetSectors() [1/2]

TObjArray * CbmStsStation::GetSectors ( )
inline

Definition at line 64 of file CbmStsStation.h.

References fSectors.

◆ GetSectors() [2/2]

TObjArray * CbmStsStation::GetSectors ( )
inline

Definition at line 64 of file CbmStsStation.h.

References fSectors.

◆ GetStationNr() [1/2]

Int_t CbmStsStation::GetStationNr ( ) const
inline

Definition at line 56 of file CbmStsStation.h.

References fDetectorId.

Referenced by AddSector(), CbmStsClusterFinder::Exec(), CbmStsFindHits::Exec(), CbmStsIdealFindHits::Exec(), CbmStsRealClusterFinder::Exec(), CbmStsRealFindHits::Exec(), CbmStsIdealFindHits::FindHits(), CbmStsRealFindHits::FindHits(), GetSectorByNr(), CbmKF::Init(), and Print().

Here is the caller graph for this function:

◆ GetStationNr() [2/2]

Int_t CbmStsStation::GetStationNr ( ) const
inline

Definition at line 56 of file CbmStsStation.h.

References fDetectorId.

◆ GetSystemId() [1/2]

Int_t CbmStsStation::GetSystemId ( ) const
inline

Definition at line 55 of file CbmStsStation.h.

References fDetectorId.

◆ GetSystemId() [2/2]

Int_t CbmStsStation::GetSystemId ( ) const
inline

Definition at line 55 of file CbmStsStation.h.

References fDetectorId.

◆ GetZ() [1/2]

Double_t CbmStsStation::GetZ ( Int_t it = 0)

Definition at line 151 of file CbmStsStation.cxx.

References TMath::Abs(), fSensorZ, GetNSectors(), CbmStsSector::GetNSensors(), GetSector(), CbmStsSector::GetSensor(), and CbmStsSensor::GetZ0().

Referenced by CbmStsIdealMatchHits::Exec(), CbmStsMatchHits::Exec(), CbmStsRealMatchHits::Exec(), CbmL1::FieldApproxCheck(), CbmStsIdealFindHits::FindHits(), CbmStsRealFindHits::FindHits(), CbmKF::Init(), CbmL1::Init(), and CbmL1::WriteSIMDKFData().

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

◆ GetZ() [2/2]

Double_t CbmStsStation::GetZ ( Int_t it = 0)

◆ operator=() [1/2]

CbmStsStation CbmStsStation::operator= ( const CbmStsStation & )
private

References CbmStsStation().

Here is the call graph for this function:

◆ operator=() [2/2]

CbmStsStation CbmStsStation::operator= ( const CbmStsStation & )
private

References CbmStsStation().

Here is the call graph for this function:

◆ Print() [1/2]

void CbmStsStation::Print ( Bool_t kLong)
virtual

Definition at line 223 of file CbmStsStation.cxx.

References fRmax, fRmin, fRotation, fZ, GetNChannels(), GetNSectors(), GetSector(), GetStationNr(), TMath::Pi(), and CbmStsSector::Print().

Referenced by CbmStsDigiScheme::Print().

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

◆ Print() [2/2]

virtual void CbmStsStation::Print ( Bool_t kLong)
virtual

◆ Reset() [1/2]

void CbmStsStation::Reset ( )

Definition at line 215 of file CbmStsStation.cxx.

References GetNSectors(), GetSector(), and CbmStsSector::Reset().

Referenced by CbmStsDigiScheme::Reset().

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

◆ Reset() [2/2]

void CbmStsStation::Reset ( )

◆ SetZ() [1/2]

void CbmStsStation::SetZ ( Double_t z)
inline

Definition at line 73 of file CbmStsStation.h.

References fSensorZ, fZ, and z.

Referenced by CbmStsDigiScheme::InitNewNew().

Here is the caller graph for this function:

◆ SetZ() [2/2]

void CbmStsStation::SetZ ( Double_t z)
inline

Definition at line 73 of file CbmStsStation.h.

References fSensorZ, fZ, and z.

Member Data Documentation

◆ fD

Double32_t CbmStsStation::fD
protected

Definition at line 85 of file CbmStsStation.h.

Referenced by CbmStsStation(), CbmStsStation(), GetD(), and Print().

◆ fDetectorId

Int_t CbmStsStation::fDetectorId
protected

◆ fMcIdMap

std::map< Int_t, Int_t > CbmStsStation::fMcIdMap
protected

Definition at line 92 of file CbmStsStation.h.

Referenced by CbmStsStation(), CbmStsStation(), and Print().

◆ fName

TString CbmStsStation::fName
protected

Definition at line 82 of file CbmStsStation.h.

Referenced by CbmStsStation(), CbmStsStation(), AddSector(), and Print().

◆ fRadLength

Double32_t CbmStsStation::fRadLength
protected

Definition at line 86 of file CbmStsStation.h.

Referenced by CbmStsStation(), CbmStsStation(), GetRadLength(), and Print().

◆ fRmax

Double32_t CbmStsStation::fRmax
protected

Definition at line 88 of file CbmStsStation.h.

Referenced by CbmStsStation(), CbmStsStation(), GetRmax(), and Print().

◆ fRmin

Double32_t CbmStsStation::fRmin
protected

Definition at line 87 of file CbmStsStation.h.

Referenced by CbmStsStation(), CbmStsStation(), GetRmin(), and Print().

◆ fRotation

Double32_t CbmStsStation::fRotation
protected

Definition at line 89 of file CbmStsStation.h.

Referenced by CbmStsStation(), CbmStsStation(), and Print().

◆ fSectorMap

std::map< Int_t, Int_t > CbmStsStation::fSectorMap
protected

Definition at line 91 of file CbmStsStation.h.

Referenced by CbmStsStation(), CbmStsStation(), AddSector(), AddSector(), GetSectorByNr(), and Print().

◆ fSectors

TObjArray * CbmStsStation::fSectors
protected

◆ fSensorZ

Double_t CbmStsStation::fSensorZ
protected

Definition at line 94 of file CbmStsStation.h.

Referenced by CbmStsStation(), GetNofZ(), GetZ(), Print(), and SetZ().

◆ fZ

Double32_t CbmStsStation::fZ
protected

Definition at line 84 of file CbmStsStation.h.

Referenced by CbmStsStation(), CbmStsStation(), Print(), and SetZ().


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