CbmRoot
|
Describe TRD module ASIC settings (electronic gain, delays, etc) More...
#include <CbmTrdParSetAsic.h>
Public Member Functions | |
CbmTrdParSetAsic (const char *name="CbmTrdParSetAsic", const char *title="TRD ASIC parameters", const char *context="Default") | |
virtual | ~CbmTrdParSetAsic () |
Destructor. | |
virtual void | clear () |
Reset all parameters. | |
virtual int | FindModuleByEqId (uint16_t eqid, uint8_t &rob_id, uint8_t &lnk_id) const |
Search for the module in the setup parameters by equipement id. | |
Bool_t | getParams (FairParamList *) |
Build the ASICs par for the current module from the info stored in the param file It applies to the list of ASICs. | |
void | putParams (FairParamList *) |
Store the ASICs par info for the current module into the param file It applies to the list of ASICs. | |
virtual Int_t | GetModuleId (Int_t i) const |
virtual const CbmTrdParMod * | GetModulePar (Int_t detId) const |
virtual CbmTrdParMod * | GetModulePar (Int_t detId) |
virtual Int_t | GetNrOfModules () const |
std::map< Int_t, CbmTrdParMod * > | GetModuleMap () |
virtual void | addParam (CbmTrdParMod *mod) |
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 |
Private Member Functions | |
CbmTrdParSetAsic (const CbmTrdParSetAsic &ref) | |
const CbmTrdParSetAsic & | operator= (const CbmTrdParSetAsic &ref) |
ClassDef (CbmTrdParSetAsic, 1) | |
Describe TRD module ASIC settings (electronic gain, delays, etc)
The following concepts are used :
Definition at line 28 of file CbmTrdParSetAsic.h.
CbmTrdParSetAsic::CbmTrdParSetAsic | ( | const char * | name = "CbmTrdParSetAsic", |
const char * | title = "TRD ASIC parameters", | ||
const char * | context = "Default" ) |
Standard constructor
Definition at line 32 of file CbmTrdParSetAsic.cxx.
|
inlinevirtual |
Destructor.
Definition at line 35 of file CbmTrdParSetAsic.h.
|
private |
|
virtualinherited |
Definition at line 80 of file CbmTrdParSet.cxx.
References CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, and CbmTrdParMod::GetModuleId().
Referenced by CbmTrdParManager::CreateModuleParameters(), CbmTrdParSetGeo::Init(), and CbmTrdUnpackFaspAlgo::initParSet().
|
protectedinherited |
|
private |
|
inlinevirtual |
Reset all parameters.
Reimplemented from CbmTrdParSet.
Definition at line 38 of file CbmTrdParSetAsic.h.
|
virtual |
Search for the module in the setup parameters by equipement id.
[in] | eqid | equipment id from HW |
[out] | rob_id | index of the ROB (CROB in legacy mode) on the module |
[out] | lnk_id | index of optical link on the ROB (not used in legacy mode); 0 for down, 1 for up |
Definition at line 38 of file CbmTrdParSetAsic.cxx.
References CbmTrdParSet::fModuleMap.
Referenced by CbmTrdUnpackFaspAlgo::unpack().
|
virtualinherited |
Definition at line 37 of file CbmTrdParSet.cxx.
References CbmTrdParSet::fModuleMap, and CbmTrdParSet::fNrOfModules.
Referenced by CbmTrdTrackingInterface::__attribute__(), CbmTrdHitRateFastQa::Exec(), CbmTrdHitRateQa::Exec(), CbmTrdCalibTracker::GeometryQa(), CbmTrdHitProducer::Init(), CbmTrdTrackingInterface::Init(), and CbmTrdCalibTracker::ResolutionQa().
|
inlineinherited |
Definition at line 39 of file CbmTrdParSet.h.
References CbmTrdParSet::fModuleMap.
Referenced by CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram(), CbmTaskTrdHitFinderParWrite::Init(), CbmTrdUnpackMonitor::Init(), and CbmTrdUnpackFaspAlgo::initParSet().
|
virtualinherited |
Definition at line 57 of file CbmTrdParSet.cxx.
References CbmTrdParSet::fModuleMap.
|
virtualinherited |
Definition at line 49 of file CbmTrdParSet.cxx.
References CbmTrdParSet::fModuleMap.
Referenced by CbmTrdTrackingInterface::__attribute__(), CbmTrdClusterFinder::AddClusters(), CbmTrdClusterFinder::AddModule(), CbmTrdDigitizer::AddModule(), CbmTrdHitProducer::AddModule(), CbmTrdHardwareSetupR::CreateAsicChannelMap(), CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram(), CbmTrdHardwareSetupR::CreateHwToSwAsicAddressTranslatorMap(), CbmTrdQa::CreateLayerView(), CbmTrdQa::CreateLayerView(), CbmTrdUtils::CreateLayerView(), CbmTrdDigiDraw::Exec(), CbmTrdHitDensityQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmTrdQa::Exec(), CbmTrdRecoQa::Exec(), CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), CbmTrdHitDensityQa::Finish(), CbmTrdCalibTracker::GeometryQa(), CbmTrdTrackingInterface::GetHitRanges(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdUtils::GetModuleType(), CbmTrdQa::GetPadInfos(), CbmTrdTrackingInterface::GetStereoAnglesSensor(), CbmTaskTrdHitFinderParWrite::Init(), CbmTrdHitProducer::Init(), CbmTrdTrackingInterface::Init(), CbmTrdUnpackMonitor::Init(), CbmTrdUnpackFaspAlgo::initParSet(), CbmTrdUnpackFaspAlgo::pushDigis(), CbmTrdCalibTracker::ResolutionQa(), CbmTrdHitRateFastQa::ScanModulePlane(), and CbmTrdHardwareSetupR::WriteComponentIdsToParams().
|
inlinevirtualinherited |
Definition at line 38 of file CbmTrdParSet.h.
References CbmTrdParSet::fNrOfModules.
Referenced by CbmTrdHardwareSetupR::CreateAsicChannelMap(), CbmTrdHardwareSetupR::CreateHwToSwAsicAddressTranslatorMap(), CbmTrdHitRateFastQa::Exec(), CbmTrdHitRateQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTaskTrdHitFinderParWrite::Init(), CbmTrdHitProducer::Init(), CbmTrdUnpackFaspAlgo::initParSet(), CbmTrdParSetGeo::LoadAlignVolumes(), and CbmTrdHardwareSetupR::WriteComponentIdsToParams().
|
virtual |
Build the ASICs par for the current module from the info stored in the param file It applies to the list of ASICs.
module | ASICs par (FASP or SPADIC) |
Reimplemented from CbmTrdParSet.
Definition at line 50 of file CbmTrdParSetAsic.cxx.
References CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, NCROBMOD, NFASPPARS, NSPADICCH, CbmTrdParModAsic::SetAsicPar(), CbmTrdParModAsic::SetChamberType(), CbmTrdParAsic::SetChannelAddresses(), CbmTrdParAsic::SetComponentId(), CbmTrdParModAsic::SetCrobAddresses(), and CbmTrdParMod::SetModuleId().
|
private |
|
virtualinherited |
Reimplemented in CbmTrdParSetGeo.
Definition at line 87 of file CbmTrdParSet.cxx.
References CbmTrdParSet::fModuleMap, and CbmTrdParSet::fNrOfModules.
Referenced by CbmStsHitProducerTaskIdeal::Exec(), CbmTrdParManager::Finish(), and CbmStsHitProducerIdealAlgo::ProcessInputData().
|
virtual |
Store the ASICs par info for the current module into the param file It applies to the list of ASICs.
module | ASICs par (FASP or SPADIC) |
Reimplemented from CbmTrdParSet.
Definition at line 116 of file CbmTrdParSetAsic.cxx.
References CbmTrdParModAsic::fModPar, CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, CbmTrdParModAsic::GetAsicType(), CbmTrdParFasp::GetChannel(), CbmTrdParAsic::GetChannelAddresses(), CbmTrdParFasp::GetChannelMask(), CbmTrdParSpadic::GetCriId(), CbmTrdParModAsic::GetCrobAddresses(), CbmTrdParSpadic::GetCrobId(), CbmTrdParSpadic::GetCrobNumber(), CbmTrdParSpadic::GetElinkId(), CbmTrdParFaspChannel::GetMinDelaySignal(), CbmTrdParFaspChannel::GetPileUpTime(), CbmTrdParFaspChannel::GetThreshold(), CbmTrdParFaspChannel::HasPairingT(), CbmTrdDigi::kFASP, CbmTrdDigi::kSPADIC, NCROBMOD, NFASPCH, NFASPPARS, and NSPADICCH.
Referenced by CbmTrdHardwareSetupR::CreateAsicChannelMap(), CbmTrdHardwareSetupR::CreateHwToSwAsicAddressTranslatorMap(), and CbmTrdHardwareSetupR::WriteComponentIdsToParams().
|
protectedinherited |
Map of parameters for each TRD Module organized as function of Module unique Id
Definition at line 48 of file CbmTrdParSet.h.
Referenced by CbmTrdParSet::addParam(), FindModuleByEqId(), CbmTrdParSet::GetModuleId(), CbmTrdParSet::GetModuleMap(), CbmTrdParSet::GetModulePar(), CbmTrdParSet::GetModulePar(), getParams(), CbmTrdParSetDigi::getParams(), CbmTrdParSetGas::getParams(), CbmTrdParSetGeo::LoadAlignVolumes(), CbmTrdParSet::Print(), CbmTrdParSetGeo::Print(), putParams(), CbmTrdParSetDigi::putParams(), CbmTrdParSetGain::putParams(), CbmTrdParSetGas::putParams(), and CbmTrdParSet::~CbmTrdParSet().
|
protectedinherited |
no of modules in the current run
Definition at line 46 of file CbmTrdParSet.h.
Referenced by CbmTrdParSet::addParam(), CbmTrdParSet::GetModuleId(), CbmTrdParSet::GetNrOfModules(), getParams(), CbmTrdParSetDigi::getParams(), CbmTrdParSetGas::getParams(), CbmTrdParSet::Print(), putParams(), CbmTrdParSetDigi::putParams(), CbmTrdParSetGain::putParams(), and CbmTrdParSetGas::putParams().