CbmRoot
Loading...
Searching...
No Matches
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 class  ECbmTrdParSets : Int_t {
  kBegin = 0 , kCbmTrdParSetAsic = kBegin , kCbmTrdParSetDigi , kCbmTrdParSetGain ,
  kCbmTrdParSetGas , kCbmTrdParSetGeo , kEnd = kCbmTrdParSetGeo
}
 

Public Member Functions

 CbmTrdParManager (Bool_t fasp=kFALSE)
 enumerator for organising the existing parameter sets of the trd
 
virtual ~CbmTrdParManager ()
 Destructor.
 
virtual InitStatus Init ()
 Inherited from FairTask.
 
virtual void SetParContainers ()
 Inherited from FairTask.
 
virtual void SetFASP (Bool_t set=kTRUE)
 Change the default ASIC to FASP.
 
virtual void Exec (Option_t *option)
 Inherited from FairTask.
 
virtual void Finish ()
 Inherited from FairTask.
 
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.
 

Static Public Member Functions

static void GetParSetList (std::vector< std::shared_ptr< 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.
 
CbmTrdParSetAsicfAsicPar
 The set of ASIC characterization parameters.
 
CbmTrdParSetDigifDigiPar
 The set of read-out description parameters.
 
CbmTrdParSetGasfGasPar
 The set of gas description parameters.
 
CbmTrdParSetGainfGainPar
 The set of gain conversion parameters.
 
CbmTrdParSetGeofGeoPar
 The set of gain conversion parameters.
 
CbmTrdGeoHandlerfGeoHandler
 
TString fGeometryTag
 
CbmTrdHardwareSetupR fHardwareSetup
 

Detailed Description

Manipulate calibration parameters for the TRD detectors.

Definition at line 43 of file CbmTrdParManager.h.

Member Enumeration Documentation

◆ ECbmTrdParSets

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

Definition at line 45 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 50 of file CbmTrdParManager.cxx.

References fMaxSectors, and fst1_sect_count.

◆ ~CbmTrdParManager()

CbmTrdParManager::~CbmTrdParManager ( )
virtual

Destructor.

Definition at line 68 of file CbmTrdParManager.cxx.

◆ CbmTrdParManager() [2/2]

CbmTrdParManager::CbmTrdParManager ( const CbmTrdParManager & )
private

Member Function Documentation

◆ CreateModuleParameters()

◆ 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 334 of file CbmTrdParManager.cxx.

References CreateParFilesFromGeometry(), and SetParContainers().

Referenced by CreateParFilesFromGeometry().

◆ CreateParFilesFromGeometry() [2/2]

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

Definition at line 376 of file CbmTrdParManager.cxx.

References SetParContainers().

◆ Exec()

void CbmTrdParManager::Exec ( Option_t * option)
virtual

Inherited from FairTask.

Definition at line 144 of file CbmTrdParManager.cxx.

◆ Finish()

void CbmTrdParManager::Finish ( )
virtual

Inherited from FairTask.

Definition at line 134 of file CbmTrdParManager.cxx.

References fAsicPar, fDigiPar, and CbmTrdParSet::Print().

Referenced by Init().

◆ GetParFileExtensions()

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

◆ GetParSetList()

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

◆ Init()

InitStatus CbmTrdParManager::Init ( )
virtual

◆ 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 85 of file CbmTrdParManager.h.

References fFASP.

◆ SetParContainers()

void CbmTrdParManager::SetParContainers ( )
virtual

Inherited from FairTask.

Definition at line 70 of file CbmTrdParManager.cxx.

References fAsicPar, fDigiPar, fGainPar, fGasPar, and fGeoPar.

Referenced by CreateParFilesFromGeometry(), and CreateParFilesFromGeometry().

Member Data Documentation

◆ fAsicPar

CbmTrdParSetAsic* CbmTrdParManager::fAsicPar
private

The set of ASIC characterization parameters.

Definition at line 116 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 117 of file CbmTrdParManager.h.

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

◆ fFASP

Bool_t CbmTrdParManager::fFASP
private

Switch to FASP ASIC.

Definition at line 111 of file CbmTrdParManager.h.

Referenced by SetFASP().

◆ fGainPar

CbmTrdParSetGain* CbmTrdParManager::fGainPar
private

The set of gain conversion parameters.

Definition at line 119 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters(), and SetParContainers().

◆ fGasPar

CbmTrdParSetGas* CbmTrdParManager::fGasPar
private

The set of gas description parameters.

Definition at line 118 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters(), and SetParContainers().

◆ fGeoHandler

CbmTrdGeoHandler* CbmTrdParManager::fGeoHandler
private

Definition at line 122 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters().

◆ fGeometryTag

TString CbmTrdParManager::fGeometryTag
private

Definition at line 124 of file CbmTrdParManager.h.

Referenced by Init().

◆ fGeoPar

CbmTrdParSetGeo* CbmTrdParManager::fGeoPar
private

The set of gain conversion parameters.

Definition at line 120 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters(), and SetParContainers().

◆ fHardwareSetup

CbmTrdHardwareSetupR CbmTrdParManager::fHardwareSetup
private

Definition at line 125 of file CbmTrdParManager.h.

Referenced by CreateModuleParameters(), and Init().

◆ fMaxSectors

Int_t CbmTrdParManager::fMaxSectors
private

Definition at line 110 of file CbmTrdParManager.h.

Referenced by CbmTrdParManager(), and CreateModuleParameters().


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