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

#include <CbmTrdParSet.h>

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

Public Member Functions

 CbmTrdParSet (const char *name="CbmTrdParSet", const char *title="TRD parameters", const char *context="Default")
 
virtual ~CbmTrdParSet ()
 Destructor.
 
virtual void clear ()
 Reset all parameters.
 
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 Bool_t getParams (FairParamList *)
 
virtual void putParams (FairParamList *)
 
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 23 of file CbmTrdParSet.h.

Constructor & Destructor Documentation

◆ CbmTrdParSet()

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

Standard constructor

Definition at line 20 of file CbmTrdParSet.cxx.

◆ ~CbmTrdParSet()

CbmTrdParSet::~CbmTrdParSet ( )
virtual

Destructor.

Definition at line 29 of file CbmTrdParSet.cxx.

References fModuleMap.

Member Function Documentation

◆ addParam()

void CbmTrdParSet::addParam ( CbmTrdParMod * mod)
virtual

◆ ClassDef()

CbmTrdParSet::ClassDef ( CbmTrdParSet ,
1  )
protected

◆ clear()

virtual void CbmTrdParSet::clear ( )
inlinevirtual

Reset all parameters.

Reimplemented in CbmTrdParSetAsic, CbmTrdParSetDigi, CbmTrdParSetGain, and CbmTrdParSetGas.

Definition at line 33 of file CbmTrdParSet.h.

◆ GetModuleId()

◆ GetModuleMap()

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

◆ GetModulePar() [1/2]

CbmTrdParMod * CbmTrdParSet::GetModulePar ( Int_t detId)
virtual

Definition at line 57 of file CbmTrdParSet.cxx.

References fModuleMap.

◆ GetModulePar() [2/2]

◆ GetNrOfModules()

◆ getParams()

Bool_t CbmTrdParSet::getParams ( FairParamList * l)
virtual

Reimplemented in CbmTrdParSetAsic, CbmTrdParSetDigi, CbmTrdParSetGain, and CbmTrdParSetGas.

Definition at line 65 of file CbmTrdParSet.cxx.

◆ Print()

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

◆ putParams()

void CbmTrdParSet::putParams ( FairParamList * )
virtual

Reimplemented in CbmTrdParSetAsic, CbmTrdParSetDigi, CbmTrdParSetGain, and CbmTrdParSetGas.

Definition at line 74 of file CbmTrdParSet.cxx.

Member Data Documentation

◆ fModuleMap

◆ fNrOfModules


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