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

#include <CbmStsStation.h>

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

Public Member Functions

 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)
 
virtual ~CbmStsStation ()
 
Int_t GetDetectorId () const
 
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 ()
 
CbmStsSectorGetSector (Int_t iSector)
 
CbmStsSectorGetSectorByNr (Int_t sectorNr)
 
void AddSector (CbmStsSectorDigiPar *sectorPar)
 
void AddSector (CbmStsSector *sector)
 
Int_t GetNofZ ()
 
void SetZ (Double_t z)
 
void Reset ()
 
virtual void Print (Bool_t kLong)
 
 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)
 
virtual ~CbmStsStation ()
 
Int_t GetDetectorId () const
 
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 ()
 
CbmStsSectorGetSector (Int_t iSector)
 
CbmStsSectorGetSectorByNr (Int_t sectorNr)
 
void AddSector (CbmStsSectorDigiPar *sectorPar)
 
void AddSector (CbmStsSector *sector)
 
Int_t GetNofZ ()
 
void SetZ (Double_t z)
 
void Reset ()
 
virtual void Print (Bool_t kLong)
 

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.
 

Detailed Description

Definition at line 25 of file CbmStsStation.h.

Constructor & Destructor Documentation

◆ CbmStsStation() [1/4]

CbmStsStation::CbmStsStation ( )

Default constructor

Definition at line 24 of file CbmStsStation.cxx.

References fSectorMap, and fSectors.

◆ CbmStsStation() [2/4]

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 
)

Standard constructor

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 42 of file CbmStsStation.cxx.

References d, fD, fDetectorId, fRadLength, fRmax, fRmin, fRotation, fSectorMap, fSectors, fSensorZ, and fZ.

◆ ~CbmStsStation() [1/2]

CbmStsStation::~CbmStsStation ( )
virtual

Destructor

Definition at line 74 of file CbmStsStation.cxx.

References fSectors.

◆ CbmStsStation() [3/4]

CbmStsStation::CbmStsStation ( )

Default constructor

◆ CbmStsStation() [4/4]

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 
)

Standard constructor

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]

◆ ~CbmStsStation() [2/2]

virtual CbmStsStation::~CbmStsStation ( )
virtual

Destructor

Member Function Documentation

◆ AddSector() [1/4]

void CbmStsStation::AddSector ( CbmStsSector sector)

Definition at line 139 of file CbmStsStation.cxx.

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

◆ AddSector() [2/4]

void CbmStsStation::AddSector ( CbmStsSector sector)

◆ AddSector() [3/4]

void CbmStsStation::AddSector ( CbmStsSectorDigiPar sectorPar)

Add one sector to the array

Definition at line 113 of file CbmStsStation.cxx.

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

◆ AddSector() [4/4]

void CbmStsStation::AddSector ( CbmStsSectorDigiPar sectorPar)

Add one sector to the array

◆ GetD() [1/2]

Double_t CbmStsStation::GetD ( ) const
inline

Definition at line 58 of file CbmStsStation.h.

References fD.

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

◆ 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

Accessors

Definition at line 54 of file CbmStsStation.h.

References fDetectorId.

◆ GetDetectorId() [2/2]

Int_t CbmStsStation::GetDetectorId ( ) const
inline

Accessors

Definition at line 54 of file CbmStsStation.h.

References fDetectorId.

◆ GetNChannels() [1/2]

Int_t CbmStsStation::GetNChannels ( )

Definition at line 84 of file CbmStsStation.cxx.

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

Referenced by Print().

◆ GetNChannels() [2/2]

Int_t CbmStsStation::GetNChannels ( )

◆ GetNofZ() [1/2]

Int_t CbmStsStation::GetNofZ ( )

◆ 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(), and CbmL1::Init().

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

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

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

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

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

◆ GetZ() [2/2]

Double_t CbmStsStation::GetZ ( Int_t  it = 0)

◆ Print() [1/2]

void CbmStsStation::Print ( Bool_t  kLong)
virtual

Output to screen

Definition at line 222 of file CbmStsStation.cxx.

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

Referenced by CbmStsDigiScheme::Print().

◆ Print() [2/2]

virtual void CbmStsStation::Print ( Bool_t  kLong)
virtual

Output to screen

◆ Reset() [1/2]

void CbmStsStation::Reset ( )

Reset all eventwise counters

Definition at line 213 of file CbmStsStation.cxx.

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

Referenced by CbmStsDigiScheme::Reset().

◆ Reset() [2/2]

void CbmStsStation::Reset ( )

Reset all eventwise counters

◆ SetZ() [1/2]

void CbmStsStation::SetZ ( Double_t  z)
inline

Definition at line 73 of file CbmStsStation.h.

References fSensorZ, and fZ.

◆ SetZ() [2/2]

void CbmStsStation::SetZ ( Double_t  z)
inline

Definition at line 73 of file CbmStsStation.h.

References fSensorZ, and fZ.

Member Data Documentation

◆ fD

Double32_t CbmStsStation::fD
protected

Definition at line 85 of file CbmStsStation.h.

Referenced by CbmStsStation(), and GetD().

◆ fDetectorId

Int_t CbmStsStation::fDetectorId
protected

Definition at line 83 of file CbmStsStation.h.

Referenced by CbmStsStation(), GetDetectorId(), GetStationNr(), and GetSystemId().

◆ fMcIdMap

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

Map from sector number to index.

Definition at line 92 of file CbmStsStation.h.

◆ fName

TString CbmStsStation::fName
protected

Definition at line 82 of file CbmStsStation.h.

Referenced by AddSector().

◆ fRadLength

Double32_t CbmStsStation::fRadLength
protected

Definition at line 86 of file CbmStsStation.h.

Referenced by CbmStsStation(), and GetRadLength().

◆ fRmax

Double32_t CbmStsStation::fRmax
protected

Definition at line 88 of file CbmStsStation.h.

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

◆ fRmin

Double32_t CbmStsStation::fRmin
protected

Definition at line 87 of file CbmStsStation.h.

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

◆ fRotation

Double32_t CbmStsStation::fRotation
protected

Definition at line 89 of file CbmStsStation.h.

Referenced by CbmStsStation(), and Print().

◆ fSectorMap

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

Definition at line 91 of file CbmStsStation.h.

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

◆ fSectors

TObjArray * CbmStsStation::fSectors
protected

◆ fSensorZ

Double_t CbmStsStation::fSensorZ
protected

Map from McId to index.

Definition at line 94 of file CbmStsStation.h.

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

◆ fZ

Double32_t CbmStsStation::fZ
protected

Definition at line 84 of file CbmStsStation.h.

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


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