CbmRoot
CbmMuchLayerSide Class Reference

#include <CbmMuchLayerSide.h>

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

Public Member Functions

 CbmMuchLayerSide ()
 
 CbmMuchLayerSide (Int_t detId, Double_t z)
 
 CbmMuchLayerSide (Int_t iStation, Int_t iLayer, Bool_t iSide, Double_t z)
 
virtual ~CbmMuchLayerSide ()
 
Int_t GetDetectorId () const
 
Int_t GetNModules () const
 
TObjArray * GetModules ()
 
Double_t GetZ ()
 
void SetZ (Double_t z)
 
CbmMuchModuleGetModule (Int_t iModule) const
 
void AddModule (CbmMuchModule *module)
 
void DrawModules (Color_t color=kYellow, Bool_t modulesVisible=true, Bool_t sectorsVisible=true)
 

Protected Member Functions

 ClassDef (CbmMuchLayerSide, 1)
 

Protected Attributes

Int_t fDetectorId
 
Double32_t fZ
 
TObjArray fModules
 

Detailed Description

Definition at line 22 of file CbmMuchLayerSide.h.

Constructor & Destructor Documentation

◆ CbmMuchLayerSide() [1/3]

CbmMuchLayerSide::CbmMuchLayerSide ( )

Default constructor

CbmMuchLayerSide.cxx

Author
M.Ryzhinskiy m.ryz.nosp@m.hins.nosp@m.kiy@g.nosp@m.si.d.nosp@m.e
Version
1.0
Since
11.02.08

This class holds the transport geometry parameters of one MuCh tracking layer side.

Definition at line 17 of file CbmMuchLayerSide.cxx.

◆ CbmMuchLayerSide() [2/3]

CbmMuchLayerSide::CbmMuchLayerSide ( Int_t  detId,
Double_t  z 
)

Standard constructor

Parameters
detIdDetector ID
zz position of layer side center [cm]

Definition at line 22 of file CbmMuchLayerSide.cxx.

◆ CbmMuchLayerSide() [3/3]

CbmMuchLayerSide::CbmMuchLayerSide ( Int_t  iStation,
Int_t  iLayer,
Bool_t  iSide,
Double_t  z 
)

Standard constructor

Parameters
iStationStation index within the MUCH system.
iLayerLayer index within the station.
iSideDefines side (0 - Front, 1 - Back) within the layer.
zz position of layer side center [cm].

Definition at line 27 of file CbmMuchLayerSide.cxx.

◆ ~CbmMuchLayerSide()

CbmMuchLayerSide::~CbmMuchLayerSide ( )
virtual

Destructor

Definition at line 38 of file CbmMuchLayerSide.cxx.

Member Function Documentation

◆ AddModule()

void CbmMuchLayerSide::AddModule ( CbmMuchModule module)

Adds given CbmMuchModuleGem to the internal list.

Parameters
moduleCbmMuchModule which should be added to the array.

Definition at line 42 of file CbmMuchLayerSide.cxx.

References fModules.

Referenced by CbmMuchGeoScheme::ActiveModuleNode().

◆ ClassDef()

CbmMuchLayerSide::ClassDef ( CbmMuchLayerSide  ,
 
)
protected

◆ DrawModules()

void CbmMuchLayerSide::DrawModules ( Color_t  color = kYellow,
Bool_t  modulesVisible = true,
Bool_t  sectorsVisible = true 
)

Definition at line 47 of file CbmMuchLayerSide.cxx.

References CbmMuchModule::DrawModule(), GetModule(), GetNModules(), and m.

◆ GetDetectorId()

Int_t CbmMuchLayerSide::GetDetectorId ( ) const
inline

Accessors

Definition at line 46 of file CbmMuchLayerSide.h.

References fDetectorId.

Referenced by CbmMuchGeoScheme::GetLayerSideNr(), and CbmMuchGeoScheme::InitModules().

◆ GetModule()

◆ GetModules()

TObjArray* CbmMuchLayerSide::GetModules ( )
inline

Definition at line 48 of file CbmMuchLayerSide.h.

References fModules.

◆ GetNModules()

◆ GetZ()

Double_t CbmMuchLayerSide::GetZ ( )
inline

◆ SetZ()

void CbmMuchLayerSide::SetZ ( Double_t  z)
inline

Definition at line 50 of file CbmMuchLayerSide.h.

References fZ.

Referenced by CbmMuchGeoScheme::ActiveModuleNode().

Member Data Documentation

◆ fDetectorId

Int_t CbmMuchLayerSide::fDetectorId
protected

Definition at line 65 of file CbmMuchLayerSide.h.

Referenced by GetDetectorId().

◆ fModules

TObjArray CbmMuchLayerSide::fModules
protected

Definition at line 68 of file CbmMuchLayerSide.h.

Referenced by AddModule(), GetModule(), GetModules(), and GetNModules().

◆ fZ

Double32_t CbmMuchLayerSide::fZ
protected

Definition at line 67 of file CbmMuchLayerSide.h.

Referenced by GetZ(), and SetZ().


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