CbmRoot
Loading...
Searching...
No Matches
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.
 
virtual void clear ()
 Reset all parameters.
 
void putParams (FairParamList *)
 
Bool_t getParams (FairParamList *)
 
virtual Int_t GetModuleId (Int_t i) const
 
virtual const CbmTrdParModGetModulePar (Int_t detId) const
 
virtual CbmTrdParModGetModulePar (Int_t detId)
 
virtual Int_t GetNrOfModules () const
 
std::map< Int_t, CbmTrdParMod * > GetModuleMap ()
 
virtual void addParam (CbmTrdParMod *mod)
 
virtual void Print (Option_t *opt="") const
 

Protected Member Functions

 ClassDef (CbmTrdParSet, 1)
 

Protected Attributes

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

Detailed Description

Definition at line 19 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 20 of file CbmTrdParSetDigi.cxx.

◆ ~CbmTrdParSetDigi()

virtual CbmTrdParSetDigi::~CbmTrdParSetDigi ( )
inlinevirtual

Destructor.

Definition at line 26 of file CbmTrdParSetDigi.h.

Member Function Documentation

◆ addParam()

◆ ClassDef()

CbmTrdParSet::ClassDef ( CbmTrdParSet ,
1  )
protectedinherited

◆ clear()

virtual void CbmTrdParSetDigi::clear ( )
inlinevirtual

Reset all parameters.

Reimplemented from CbmTrdParSet.

Definition at line 29 of file CbmTrdParSetDigi.h.

Referenced by CbmTrdOccupancyQa::~CbmTrdOccupancyQa(), and CbmTrdQa::~CbmTrdQa().

◆ GetModuleId()

◆ GetModuleMap()

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

◆ GetModulePar() [1/2]

CbmTrdParMod * CbmTrdParSet::GetModulePar ( Int_t detId)
virtualinherited

Definition at line 57 of file CbmTrdParSet.cxx.

References CbmTrdParSet::fModuleMap.

◆ GetModulePar() [2/2]

◆ GetNrOfModules()

◆ getParams()

Bool_t CbmTrdParSetDigi::getParams ( FairParamList * l)
virtual

Reimplemented from CbmTrdParSet.

Definition at line 27 of file CbmTrdParSetDigi.cxx.

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

◆ Print()

void CbmTrdParSet::Print ( Option_t * opt = "") const
virtualinherited

◆ 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 100 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(), and CbmTrdParModDigi::GetZ().

Member Data Documentation

◆ fModuleMap

◆ fNrOfModules


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