CbmRoot
CbmTrdParManager Class Reference

Manipulate calibration parameters for the TRD detectors. More...

#include <CbmTrdParManager.h>

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

Public Types

enum  ECbmTrdParSets : Int_t {
  ECbmTrdParSets::kBegin = 0, ECbmTrdParSets::kCbmTrdParSetAsic = kBegin, ECbmTrdParSets::kCbmTrdParSetDigi, ECbmTrdParSets::kCbmTrdParSetGain,
  ECbmTrdParSets::kCbmTrdParSetGas, ECbmTrdParSets::kEnd = kCbmTrdParSetGas
}
 

Public Member Functions

 CbmTrdParManager (Bool_t fasp=kFALSE)
 enumerator for organising the existing parameter sets of the trd More...
 
virtual ~CbmTrdParManager ()
 Destructor. More...
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
virtual void SetParContainers ()
 Inherited from FairTask. More...
 
virtual void SetFASP (Bool_t set=kTRUE)
 Change the default ASIC to FASP. More...
 
virtual void Exec (Option_t *option)
 Inherited from FairTask. More...
 
virtual void Finish ()
 Inherited from FairTask. More...
 
bool CreateParFilesFromGeometry (bool createRootFileOutput, TString outDir="")
 Create parameter files from geometry in gGeoManager A run macro can be found in the trd cbm.gsi git repository. More...
 

Static Public Member Functions

static void GetParSetList (std::vector< CbmTrdParSet * > *parSetList)
 
static void GetParFileExtensions (std::vector< std::string > *vec)
 

Private Member Functions

void CreateModuleParameters (const TString &path)
 
bool CreateParFilesFromGeometry (TString outDir="")
 
 CbmTrdParManager (const CbmTrdParManager &)
 
CbmTrdParManageroperator= (const CbmTrdParManager &)
 

Private Attributes

Int_t fMaxSectors
 
Bool_t fFASP
 Switch to FASP ASIC. More...
 
CbmTrdParSetAsicfAsicPar
 The set of ASIC characterization parameters. More...
 
CbmTrdParSetDigifDigiPar
 The set of read-out description parameters. More...
 
CbmTrdParSetGasfGasPar
 The set of gas description parameters. More...
 
CbmTrdParSetGainfGainPar
 The set of gain conversion parameters. More...
 
CbmTrdGeoHandlerfGeoHandler
 
TString fGeometryTag
 
CbmTrdHardwareSetupR fHardwareSetup
 

Detailed Description

Manipulate calibration parameters for the TRD detectors.

Definition at line 36 of file CbmTrdParManager.h.

Member Enumeration Documentation

◆ ECbmTrdParSets

enum CbmTrdParManager::ECbmTrdParSets : Int_t
strong
Enumerator
kBegin 
kCbmTrdParSetAsic 
kCbmTrdParSetDigi 
kCbmTrdParSetGain 
kCbmTrdParSetGas 
kEnd 

Definition at line 38 of file CbmTrdParManager.h.

Constructor & Destructor Documentation

◆ CbmTrdParManager() [1/2]

CbmTrdParManager::CbmTrdParManager ( Bool_t  fasp = kFALSE)

enumerator for organising the existing parameter sets of the trd

Default constructor.

Parameters
[in]faspswitch between ASICs. Default SPADIC (fasp == kFALSE)
See also
SetFASP(Bool_t)

Definition at line 41 of file CbmTrdParManager.cxx.

References fMaxSectors, and fst1_sect_count.

◆ ~CbmTrdParManager()

CbmTrdParManager::~CbmTrdParManager ( )
virtual

Destructor.

Definition at line 57 of file CbmTrdParManager.cxx.

◆ CbmTrdParManager() [2/2]

CbmTrdParManager::CbmTrdParManager ( const CbmTrdParManager )
private

Member Function Documentation

◆ CreateModuleParameters()

void CbmTrdParManager::CreateModuleParameters ( const TString &  path)
private

◆ CreateParFilesFromGeometry() [1/2]

bool CbmTrdParManager::CreateParFilesFromGeometry ( bool  createRootFileOutput,
TString  outDir = "" 
)

Create parameter files from geometry in gGeoManager A run macro can be found in the trd cbm.gsi git repository.

Definition at line 347 of file CbmTrdParManager.cxx.

References SetParContainers().

◆ CreateParFilesFromGeometry() [2/2]

bool CbmTrdParManager::CreateParFilesFromGeometry ( TString  outDir = "")
private

Definition at line 393 of file CbmTrdParManager.cxx.

References SetParContainers().

◆ Exec()

void CbmTrdParManager::Exec ( Option_t *  option)
virtual

Inherited from FairTask.

Definition at line 132 of file CbmTrdParManager.cxx.

◆ Finish()

void CbmTrdParManager::Finish ( )
virtual

Inherited from FairTask.

Definition at line 124 of file CbmTrdParManager.cxx.

References fAsicPar, and CbmTrdParSetAsic::Print().

◆ GetParFileExtensions()

void CbmTrdParManager::GetParFileExtensions ( std::vector< std::string > *  vec)
static

◆ GetParSetList()

void CbmTrdParManager::GetParSetList ( std::vector< CbmTrdParSet * > *  parSetList)
static

◆ Init()

InitStatus CbmTrdParManager::Init ( )
virtual

Inherited from FairTask.

Definition at line 67 of file CbmTrdParManager.cxx.

References CreateModuleParameters(), fGeometryTag, fHardwareSetup, and CbmTrdHardwareSetupR::SelectComponentIdMap().

◆ operator=()

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

◆ SetFASP()

virtual void CbmTrdParManager::SetFASP ( Bool_t  set = kTRUE)
inlinevirtual

Change the default ASIC to FASP.

Definition at line 76 of file CbmTrdParManager.h.

References fFASP.

◆ SetParContainers()

void CbmTrdParManager::SetParContainers ( )
virtual

Inherited from FairTask.

Definition at line 59 of file CbmTrdParManager.cxx.

References fAsicPar, fDigiPar, fGainPar, and fGasPar.

Referenced by CreateParFilesFromGeometry().

Member Data Documentation

◆ fAsicPar

CbmTrdParSetAsic* CbmTrdParManager::fAsicPar
private

The set of ASIC characterization parameters.

Definition at line 108 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters(), Finish(), and SetParContainers().

◆ fDigiPar

CbmTrdParSetDigi* CbmTrdParManager::fDigiPar
private

The set of read-out description parameters.

Definition at line 109 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters(), and SetParContainers().

◆ fFASP

Bool_t CbmTrdParManager::fFASP
private

Switch to FASP ASIC.

Definition at line 103 of file CbmTrdParManager.h.

Referenced by SetFASP().

◆ fGainPar

CbmTrdParSetGain* CbmTrdParManager::fGainPar
private

The set of gain conversion parameters.

Definition at line 111 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters(), and SetParContainers().

◆ fGasPar

CbmTrdParSetGas* CbmTrdParManager::fGasPar
private

The set of gas description parameters.

Definition at line 110 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters(), and SetParContainers().

◆ fGeoHandler

CbmTrdGeoHandler* CbmTrdParManager::fGeoHandler
private

Definition at line 113 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters().

◆ fGeometryTag

TString CbmTrdParManager::fGeometryTag
private

Definition at line 115 of file CbmTrdParManager.h.

Referenced by Init().

◆ fHardwareSetup

CbmTrdHardwareSetupR CbmTrdParManager::fHardwareSetup
private

Definition at line 116 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters(), and Init().

◆ fMaxSectors

Int_t CbmTrdParManager::fMaxSectors
private

Definition at line 102 of file CbmTrdParManager.h.

Referenced by CbmTrdParManager(), and CreateModuleParameters().


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