CbmRoot
|
Manipulate calibration parameters for the TRD detectors. More...
#include <CbmTrdParManager.h>
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 &) | |
CbmTrdParManager & | operator= (const CbmTrdParManager &) |
Private Attributes | |
Int_t | fMaxSectors |
Bool_t | fFASP |
Switch to FASP ASIC. | |
CbmTrdParSetAsic * | fAsicPar |
The set of ASIC characterization parameters. | |
CbmTrdParSetDigi * | fDigiPar |
The set of read-out description parameters. | |
CbmTrdParSetGas * | fGasPar |
The set of gas description parameters. | |
CbmTrdParSetGain * | fGainPar |
The set of gain conversion parameters. | |
CbmTrdParSetGeo * | fGeoPar |
The set of gain conversion parameters. | |
CbmTrdGeoHandler * | fGeoHandler |
TString | fGeometryTag |
CbmTrdHardwareSetupR | fHardwareSetup |
Manipulate calibration parameters for the TRD detectors.
Definition at line 43 of file CbmTrdParManager.h.
|
strong |
Enumerator | |
---|---|
kBegin | |
kCbmTrdParSetAsic | |
kCbmTrdParSetDigi | |
kCbmTrdParSetGain | |
kCbmTrdParSetGas | |
kCbmTrdParSetGeo | |
kEnd |
Definition at line 45 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 50 of file CbmTrdParManager.cxx.
References fMaxSectors, and fst1_sect_count.
|
virtual |
Destructor.
Definition at line 68 of file CbmTrdParManager.cxx.
|
private |
|
private |
Create TRD module parameters. Add triangular support (Alex Bercuci/21.11.2017)
Definition at line 147 of file CbmTrdParManager.cxx.
References CbmTrdParSet::addParam(), fAsicPar, fDigiPar, fGainPar, fGasPar, fGeoHandler, fGeoPar, 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(), CbmTrdParModAsic::Print(), CbmTrdParModDigi::Print(), CbmTrdParModGas::Print(), CbmTrdParAsic::QueryChannel(), CbmTrdParModDigi::SetAnodeWireOffset(), CbmTrdParModDigi::SetAnodeWireSpacing(), CbmTrdParModDigi::SetAnodeWireToPadPlaneDistance(), CbmTrdParModAsic::SetAsicPar(), CbmTrdParFasp::SetCalibParameters(), CbmTrdParModAsic::SetChamberType(), 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 334 of file CbmTrdParManager.cxx.
References CreateParFilesFromGeometry(), and SetParContainers().
Referenced by CreateParFilesFromGeometry().
|
private |
Definition at line 376 of file CbmTrdParManager.cxx.
References SetParContainers().
|
virtual |
Inherited from FairTask.
Definition at line 144 of file CbmTrdParManager.cxx.
|
virtual |
Inherited from FairTask.
Definition at line 134 of file CbmTrdParManager.cxx.
References fAsicPar, fDigiPar, and CbmTrdParSet::Print().
Referenced by Init().
|
static |
Definition at line 436 of file CbmTrdParManager.cxx.
References kBegin, kCbmTrdParSetAsic, kCbmTrdParSetDigi, kCbmTrdParSetGain, kCbmTrdParSetGas, kCbmTrdParSetGeo, and kEnd.
|
static |
Definition at line 419 of file CbmTrdParManager.cxx.
References kBegin, kCbmTrdParSetAsic, kCbmTrdParSetDigi, kCbmTrdParSetGain, kCbmTrdParSetGas, kCbmTrdParSetGeo, and kEnd.
|
virtual |
Inherited from FairTask.
Definition at line 80 of file CbmTrdParManager.cxx.
References CreateModuleParameters(), fGeometryTag, fHardwareSetup, Finish(), and CbmTrdHardwareSetupR::SelectComponentIdMap().
|
private |
|
inlinevirtual |
Change the default ASIC to FASP.
Definition at line 85 of file CbmTrdParManager.h.
References fFASP.
|
virtual |
Inherited from FairTask.
Definition at line 70 of file CbmTrdParManager.cxx.
References fAsicPar, fDigiPar, fGainPar, fGasPar, and fGeoPar.
Referenced by CreateParFilesFromGeometry(), and CreateParFilesFromGeometry().
|
private |
The set of ASIC characterization parameters.
Definition at line 116 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), Finish(), and SetParContainers().
|
private |
The set of read-out description parameters.
Definition at line 117 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), Finish(), and SetParContainers().
|
private |
|
private |
The set of gain conversion parameters.
Definition at line 119 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), and SetParContainers().
|
private |
The set of gas description parameters.
Definition at line 118 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), and SetParContainers().
|
private |
Definition at line 122 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters().
|
private |
Definition at line 124 of file CbmTrdParManager.h.
Referenced by Init().
|
private |
The set of gain conversion parameters.
Definition at line 120 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), and SetParContainers().
|
private |
Definition at line 125 of file CbmTrdParManager.h.
Referenced by CreateModuleParameters(), and Init().
|
private |
Definition at line 110 of file CbmTrdParManager.h.
Referenced by CbmTrdParManager(), and CreateModuleParameters().