CbmRoot
|
Manipulate calibration parameters for the TRD detectors. More...
#include <CbmTrdParManager.h>
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 &) | |
CbmTrdParManager & | operator= (const CbmTrdParManager &) |
Private Attributes | |
Int_t | fMaxSectors |
Bool_t | fFASP |
Switch to FASP ASIC. More... | |
CbmTrdParSetAsic * | fAsicPar |
The set of ASIC characterization parameters. More... | |
CbmTrdParSetDigi * | fDigiPar |
The set of read-out description parameters. More... | |
CbmTrdParSetGas * | fGasPar |
The set of gas description parameters. More... | |
CbmTrdParSetGain * | fGainPar |
The set of gain conversion parameters. More... | |
CbmTrdGeoHandler * | fGeoHandler |
TString | fGeometryTag |
CbmTrdHardwareSetupR | fHardwareSetup |
Manipulate calibration parameters for the TRD detectors.
Definition at line 36 of file CbmTrdParManager.h.
|
strong |
Enumerator | |
---|---|
kBegin | |
kCbmTrdParSetAsic | |
kCbmTrdParSetDigi | |
kCbmTrdParSetGain | |
kCbmTrdParSetGas | |
kEnd |
Definition at line 38 of file CbmTrdParManager.h.
CbmTrdParManager::CbmTrdParManager | ( | Bool_t | fasp = kFALSE | ) |
enumerator for organising the existing parameter sets of the trd
Default constructor.
[in] | fasp | switch between ASICs. Default SPADIC (fasp == kFALSE) |
Definition at line 41 of file CbmTrdParManager.cxx.
References fMaxSectors, and fst1_sect_count.
|
virtual |
Destructor.
Definition at line 57 of file CbmTrdParManager.cxx.
|
private |
|
private |
Create TRD module parameters. Add triangular support (Alex Bercuci/21.11.2017)
Definition at line 135 of file CbmTrdParManager.cxx.
References CbmTrdParSet::addParam(), CbmTrdParSetAsic::AddParameters(), fAsicPar, fDigiPar, fGainPar, fGasPar, fGeoHandler, fHardwareSetup, fMaxSectors, fst1_pad_type, fst1_sect_count, CbmTrdParAsic::GetAddress(), CbmTrdParSpadic::GetAsicChAddress(), CbmTrdHardwareSetupR::GetComponentId(), CbmTrdGeoHandler::GetModuleAddress(), CbmTrdGeoHandler::GetModuleOrientation(), CbmTrdGeoHandler::GetModuleType(), CbmTrdParSpadic::GetNasicsOnModule(), CbmTrdParSpadic::GetNchannels(), CbmTrdParModDigi::GetNofColumns(), CbmTrdParModDigi::GetNofRows(), CbmTrdGeoHandler::GetSizeX(), CbmTrdGeoHandler::GetSizeY(), CbmTrdGeoHandler::GetSizeZ(), CbmTrdGeoHandler::GetX(), CbmTrdGeoHandler::GetY(), CbmTrdGeoHandler::GetZ(), i, CbmTrdParSetAsic::Print(), CbmTrdParModGas::Print(), CbmTrdParModDigi::Print(), CbmTrdParAsic::QueryChannel(), CbmTrdParModDigi::SetAnodeWireOffset(), CbmTrdParModDigi::SetAnodeWireSpacing(), CbmTrdParModDigi::SetAnodeWireToPadPlaneDistance(), CbmTrdParSetAsic::SetAsicPar(), CbmTrdParSetAsic::SetAsicType(), CbmTrdParFasp::SetCalibParameters(), CbmTrdParAsic::SetChannelAddress(), CbmTrdParAsic::SetChannelAddresses(), CbmTrdParAsic::SetComponentId(), CbmTrdParModGas::SetDetType(), CbmTrdParMod::SetModuleId(), CbmTrdParModGas::SetPidType(), x, and y.
Referenced by Init().
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().
|
private |
Definition at line 393 of file CbmTrdParManager.cxx.
References SetParContainers().
|
virtual |
Inherited from FairTask.
Definition at line 132 of file CbmTrdParManager.cxx.
|
virtual |
Inherited from FairTask.
Definition at line 124 of file CbmTrdParManager.cxx.
References fAsicPar, and CbmTrdParSetAsic::Print().
|
static |
Definition at line 464 of file CbmTrdParManager.cxx.
References kBegin, kCbmTrdParSetAsic, kCbmTrdParSetDigi, kCbmTrdParSetGain, kCbmTrdParSetGas, and kEnd.
|
static |
Definition at line 439 of file CbmTrdParManager.cxx.
References kBegin, kCbmTrdParSetAsic, kCbmTrdParSetDigi, kCbmTrdParSetGain, kCbmTrdParSetGas, and kEnd.
|
virtual |
Inherited from FairTask.
Definition at line 67 of file CbmTrdParManager.cxx.
References CreateModuleParameters(), fGeometryTag, fHardwareSetup, and CbmTrdHardwareSetupR::SelectComponentIdMap().
|
private |
|
inlinevirtual |
Change the default ASIC to FASP.
Definition at line 76 of file CbmTrdParManager.h.
References fFASP.
|
virtual |
Inherited from FairTask.
Definition at line 59 of file CbmTrdParManager.cxx.
References fAsicPar, fDigiPar, fGainPar, and fGasPar.
Referenced by CreateParFilesFromGeometry().
|
private |
The set of ASIC characterization parameters.
Definition at line 108 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), Finish(), and SetParContainers().
|
private |
The set of read-out description parameters.
Definition at line 109 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), and SetParContainers().
|
private |
|
private |
The set of gain conversion parameters.
Definition at line 111 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), and SetParContainers().
|
private |
The set of gas description parameters.
Definition at line 110 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), and SetParContainers().
|
private |
Definition at line 113 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters().
|
private |
Definition at line 115 of file CbmTrdParManager.h.
Referenced by Init().
|
private |
Definition at line 116 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), and Init().
|
private |
Definition at line 102 of file CbmTrdParManager.h.
Referenced by CbmTrdParManager(), and CreateModuleParameters().