CbmRoot
CbmTrdParSetDigi Class Reference

#include <CbmTrdParSetDigi.h>

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

Public Member Functions

 CbmTrdParSetDigi (const char *name="CbmTrdParSetDigi", const char *title="TRD chamber parameters", const char *context="Default")
 
virtual ~CbmTrdParSetDigi ()
 Destructor. More...
 
virtual void clear ()
 Reset all parameters. More...
 
void putParams (FairParamList *)
 
Bool_t getParams (FairParamList *)
 
virtual Int_t GetModuleId (Int_t i) const
 
virtual const CbmTrdParModGetModulePar (Int_t detId) const
 
virtual Int_t GetNrOfModules () const
 
std::map< Int_t, CbmTrdParMod * > GetModuleMap ()
 
virtual void addParam (CbmTrdParMod *mod)
 

Protected Member Functions

 ClassDef (CbmTrdParSet, 1)
 

Protected Attributes

Int_t fNrOfModules
 no of modules in the current run More...
 
std::map< Int_t, CbmTrdParMod * > fModuleMap
 

Detailed Description

Definition at line 15 of file CbmTrdParSetDigi.h.

Constructor & Destructor Documentation

◆ CbmTrdParSetDigi()

CbmTrdParSetDigi::CbmTrdParSetDigi ( const char *  name = "CbmTrdParSetDigi",
const char *  title = "TRD chamber parameters",
const char *  context = "Default" 
)

Standard constructor

Definition at line 16 of file CbmTrdParSetDigi.cxx.

◆ ~CbmTrdParSetDigi()

virtual CbmTrdParSetDigi::~CbmTrdParSetDigi ( )
inlinevirtual

Destructor.

Definition at line 23 of file CbmTrdParSetDigi.h.

Member Function Documentation

◆ addParam()

void CbmTrdParSet::addParam ( CbmTrdParMod mod)
virtualinherited

◆ ClassDef()

CbmTrdParSet::ClassDef ( CbmTrdParSet  ,
 
)
protectedinherited

◆ clear()

virtual void CbmTrdParSetDigi::clear ( )
inlinevirtual

Reset all parameters.

Reimplemented from CbmTrdParSet.

Definition at line 26 of file CbmTrdParSetDigi.h.

◆ GetModuleId()

Int_t CbmTrdParSet::GetModuleId ( Int_t  i) const
virtualinherited

◆ GetModuleMap()

std::map<Int_t, CbmTrdParMod*> CbmTrdParSet::GetModuleMap ( )
inlineinherited

Definition at line 35 of file CbmTrdParSet.h.

References CbmTrdParSet::fModuleMap.

Referenced by CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram().

◆ GetModulePar()

◆ GetNrOfModules()

◆ getParams()

Bool_t CbmTrdParSetDigi::getParams ( FairParamList *  l)
virtual

Reimplemented from CbmTrdParSet.

Definition at line 24 of file CbmTrdParSetDigi.cxx.

References CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, i, x, and y.

◆ putParams()

void CbmTrdParSetDigi::putParams ( FairParamList *  l)
virtual

Instead of a fixed number of values the number of values to store now depends on the maximum number of sectors per module The first eleven parameters are for the complete module.
The parametrs are: orientation : module rotation in 90deg fAnodeWireSpacing : width of amplification cell in cm fAnodeWireToPadPlaneDistance : anode 2 pad plane distance in cm
fAnodeWireOffset : offset of first anode wire wrt pad plane
X, Y, Z : position of the middle of the gaslayer. SizeX, SizeY, SizeZ : size of the gaslayer. The values are only the half size which are the values returned by geant.

The rest of the parameters depend on the number of sectors. SectorSizeX(Y) : size of a sector PadSizeX(Y) : size of the pads in this sector

Reimplemented from CbmTrdParSet.

Definition at line 112 of file CbmTrdParSetDigi.cxx.

References CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, CbmTrdParModDigi::GetAnodeWireOffset(), CbmTrdParModDigi::GetAnodeWireSpacing(), CbmTrdParModDigi::GetAnodeWireToPadPlaneDistance(), CbmTrdParModDigi::GetOrientation(), CbmTrdParModDigi::GetPadSizeX(), CbmTrdParModDigi::GetPadSizeY(), CbmTrdParModDigi::GetSectorSizeX(), CbmTrdParModDigi::GetSectorSizeY(), CbmTrdParModDigi::GetSizeX(), CbmTrdParModDigi::GetSizeY(), CbmTrdParModDigi::GetSizeZ(), CbmTrdParModDigi::GetX(), CbmTrdParModDigi::GetY(), CbmTrdParModDigi::GetZ(), and i.

Member Data Documentation

◆ fModuleMap

◆ fNrOfModules


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