CbmRoot
Loading...
Searching...
No Matches
CbmTrdParModGeo Class Reference

Definition of geometry for one TRD module. More...

#include <CbmTrdParModGeo.h>

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

Public Member Functions

 CbmTrdParModGeo (const char *name="CbmTrdParModGeo", const char *title="TRD module geometry")
 
virtual ~CbmTrdParModGeo ()
 
virtual Double_t GetDX () const
 
virtual Double_t GetDY () const
 
virtual Double_t GetDZ () const
 
const Char_t * GetPath () const
 
virtual void GetXYZ (Double_t xyz[3]) const
 
virtual Double_t GetX () const
 
virtual Double_t GetY () const
 
virtual Double_t GetZ () const
 
virtual void LocalToMaster (Double_t in[3], Double_t out[3]) const
 
bool SetNode ()
 
TGeoPhysicalNode * GetNode ()
 
virtual uint16_t GetConfig () const
 
virtual int GetModuleId () const
 
virtual uint8_t GetVersion () const
 
virtual void SetConfigId (uint16_t c)
 
virtual void SetModuleId (int m)
 
virtual void SetVersion (uint8_t v)
 

Protected Attributes

uint8_t fVersion = 0
 version of the parameter
 
uint16_t fConfig = 0
 configuration setup of the module
 
int fModuleId = 0
 module id
 

Private Member Functions

 CbmTrdParModGeo (const CbmTrdParModGeo &)
 
const CbmTrdParModGeooperator= (const CbmTrdParModGeo &)
 

Private Attributes

TGeoPhysicalNode * fNode
 geometrical data for the module
 

Detailed Description

Definition of geometry for one TRD module.

Fill map with full geometrical description for each detector to be distributed to all processing modules. Refer to the constructor of details of using this description.

Constructor & Destructor Documentation

◆ CbmTrdParModGeo() [1/2]

CbmTrdParModGeo::CbmTrdParModGeo ( const char * name = "CbmTrdParModGeo",
const char * title = "TRD module geometry" )

Definition at line 16 of file CbmTrdParModGeo.cxx.

◆ ~CbmTrdParModGeo()

CbmTrdParModGeo::~CbmTrdParModGeo ( )
virtual

Definition at line 23 of file CbmTrdParModGeo.cxx.

References fNode.

◆ CbmTrdParModGeo() [2/2]

CbmTrdParModGeo::CbmTrdParModGeo ( const CbmTrdParModGeo & )
private

Member Function Documentation

◆ GetConfig()

virtual uint16_t CbmTrdParMod::GetConfig ( ) const
inlinevirtualinherited

Definition at line 17 of file CbmTrdParMod.h.

References CbmTrdParMod::fConfig.

◆ GetDX()

Double_t CbmTrdParModGeo::GetDX ( ) const
virtual

Definition at line 26 of file CbmTrdParModGeo.cxx.

References fNode.

Referenced by CbmTrdModuleAbstract::GetDx().

◆ GetDY()

Double_t CbmTrdParModGeo::GetDY ( ) const
virtual

Definition at line 29 of file CbmTrdParModGeo.cxx.

References fNode.

Referenced by CbmTrdModuleAbstract::GetDy().

◆ GetDZ()

Double_t CbmTrdParModGeo::GetDZ ( ) const
virtual

Definition at line 32 of file CbmTrdParModGeo.cxx.

References fNode.

Referenced by CbmTrdModuleAbstract::GetDz().

◆ GetModuleId()

virtual int CbmTrdParMod::GetModuleId ( ) const
inlinevirtualinherited

◆ GetNode()

TGeoPhysicalNode * CbmTrdParModGeo::GetNode ( )
inline

Definition at line 46 of file CbmTrdParModGeo.h.

References fNode.

Referenced by CbmTaskTrdHitFinderParWrite::Init().

◆ GetPath()

const Char_t * CbmTrdParModGeo::GetPath ( ) const
inline

Definition at line 23 of file CbmTrdParModGeo.h.

◆ GetVersion()

virtual uint8_t CbmTrdParMod::GetVersion ( ) const
inlinevirtualinherited

Definition at line 19 of file CbmTrdParMod.h.

References CbmTrdParMod::fVersion.

◆ GetX()

◆ GetXYZ()

void CbmTrdParModGeo::GetXYZ ( Double_t xyz[3]) const
virtual

Definition at line 42 of file CbmTrdParModGeo.cxx.

References fNode.

Referenced by GetX(), GetY(), and GetZ().

◆ GetY()

◆ GetZ()

◆ LocalToMaster()

void CbmTrdParModGeo::LocalToMaster ( Double_t in[3],
Double_t out[3] ) const
virtual

Definition at line 35 of file CbmTrdParModGeo.cxx.

References fNode.

Referenced by CbmTrdModuleAbstract::LocalToMaster().

◆ operator=()

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

◆ SetConfigId()

virtual void CbmTrdParMod::SetConfigId ( uint16_t c)
inlinevirtualinherited

Definition at line 21 of file CbmTrdParMod.h.

References CbmTrdParMod::fConfig.

◆ SetModuleId()

virtual void CbmTrdParMod::SetModuleId ( int m)
inlinevirtualinherited

◆ SetNode()

bool CbmTrdParModGeo::SetNode ( )

Definition at line 51 of file CbmTrdParModGeo.cxx.

References fNode.

◆ SetVersion()

virtual void CbmTrdParMod::SetVersion ( uint8_t v)
inlinevirtualinherited

Definition at line 23 of file CbmTrdParMod.h.

References CbmTrdParMod::fVersion, and v.

Member Data Documentation

◆ fConfig

uint16_t CbmTrdParMod::fConfig = 0
protectedinherited

configuration setup of the module

Definition at line 27 of file CbmTrdParMod.h.

Referenced by CbmTrdParMod::GetConfig(), CbmTrdParModDigi::GetPadPlaneType(), and CbmTrdParMod::SetConfigId().

◆ fModuleId

int CbmTrdParMod::fModuleId = 0
protectedinherited

◆ fNode

TGeoPhysicalNode* CbmTrdParModGeo::fNode
private

geometrical data for the module

Definition at line 52 of file CbmTrdParModGeo.h.

Referenced by GetDX(), GetDY(), GetDZ(), GetNode(), GetXYZ(), LocalToMaster(), SetNode(), and ~CbmTrdParModGeo().

◆ fVersion

uint8_t CbmTrdParMod::fVersion = 0
protectedinherited

version of the parameter

Definition at line 26 of file CbmTrdParMod.h.

Referenced by CbmTrdParModDigi::GetPadPlaneType(), CbmTrdParMod::GetVersion(), and CbmTrdParMod::SetVersion().


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