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. More... | |
virtual void | clear () |
Reset all parameters. More... | |
void | AddParameters (CbmTrdParSetAsic *) |
Bool_t | getParams (FairParamList *) |
void | putParams (FairParamList *) |
virtual void | GetAsicAddresses (std::vector< Int_t > *a) const |
virtual Int_t | GetAsicAddress (Int_t chAddress) const |
Look for the ASIC which operates on a specific channel. More... | |
virtual const CbmTrdParAsic * | GetAsicPar (Int_t address) const |
virtual CbmTrdParAsic * | GetAsicPar (Int_t address) |
virtual Int_t | GetAsicType () const |
virtual const CbmTrdParSet * | GetModuleSet (Int_t detId) const |
virtual Int_t | GetNofAsics () const |
virtual void | Print (Option_t *opt="") const |
virtual void | SetAsicPar (Int_t address, CbmTrdParAsic *p) |
virtual void | SetAsicType (Int_t t) |
virtual Int_t | GetModuleId (Int_t i) const |
virtual const CbmTrdParMod * | GetModulePar (Int_t detId) const |
virtual Int_t | GetNrOfModules () const |
std::map< Int_t, CbmTrdParMod * > | GetModuleMap () |
virtual void | addParam (CbmTrdParMod *mod) |
Protected Member Functions | |
ClassDef (CbmTrdParSet, 1) | |
Protected Attributes | |
Int_t | fNrOfModules |
no of modules in the current run More... | |
std::map< Int_t, CbmTrdParMod * > | fModuleMap |
Private Member Functions | |
CbmTrdParSetAsic (const CbmTrdParSetAsic &ref) | |
const CbmTrdParSetAsic & | operator= (const CbmTrdParSetAsic &ref) |
ClassDef (CbmTrdParSetAsic, 1) | |
Private Attributes | |
UChar_t | fType |
type of ASIC for current se More... | |
std::map< Int_t, CbmTrdParSetAsic * > | fModPar |
module wise list of ASIC sets More... | |
Describe TRD module ASIC settings (electronic gain, delays, etc)
Definition at line 18 of file CbmTrdParSetAsic.h.
CbmTrdParSetAsic::CbmTrdParSetAsic | ( | const char * | name = "CbmTrdParSetAsic" , |
const char * | title = "TRD ASIC parameters" , |
||
const char * | context = "Default" |
||
) |
|
virtual |
Destructor.
Definition at line 28 of file CbmTrdParSetAsic.cxx.
References fModPar, and CbmTrdParSet::fNrOfModules.
|
private |
|
virtualinherited |
Definition at line 65 of file CbmTrdParSet.cxx.
References CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, and CbmTrdParMod::GetModuleId().
Referenced by CbmTrdParManager::CreateModuleParameters().
void CbmTrdParSetAsic::AddParameters | ( | CbmTrdParSetAsic * | mod | ) |
Definition at line 201 of file CbmTrdParSetAsic.cxx.
References fModPar, CbmTrdParSet::fModuleMap, and CbmTrdParSet::fNrOfModules.
Referenced by CbmTrdParManager::CreateModuleParameters().
|
protectedinherited |
|
private |
|
inlinevirtual |
Reset all parameters.
Reimplemented from CbmTrdParSet.
Definition at line 29 of file CbmTrdParSetAsic.h.
|
virtual |
Look for the ASIC which operates on a specific channel.
chAddress | Address of the channel |
Query the ASICs in the module set for the specified read-out channel. Returns the id of the ASIC within the module or -1 if all returns false.
Definition at line 209 of file CbmTrdParSetAsic.cxx.
References CbmTrdParSet::fModuleMap, and CbmTrdParAsic::QueryChannel().
Referenced by CbmTrdHitDensityQa::Finish(), CbmTrdModuleSimT::FlushBuffer(), CbmTrdHitRateFastQa::ScanModulePlane(), and CbmTrdModuleSimR::SetAsicPar().
|
virtual |
Query the ASICs in the module set for their addresses. Returns the list of these addresses in the vector prepared by the user
Definition at line 224 of file CbmTrdParSetAsic.cxx.
References CbmTrdParSet::fModuleMap, and CbmTrdParAsic::GetAddress().
Referenced by CbmTrdHardwareSetupR::CreateAsicChannelMap(), CbmTrdHardwareSetupR::CreateHwToSwAsicAddressTranslatorMap(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::ScanModulePlane(), and CbmTrdHardwareSetupR::WriteComponentIdsToParams().
|
inlinevirtual |
Definition at line 43 of file CbmTrdParSetAsic.h.
References CbmTrdParSet::GetModulePar().
|
inlinevirtual |
Definition at line 40 of file CbmTrdParSetAsic.h.
References CbmTrdParSet::GetModulePar().
Referenced by CbmTrdHardwareSetupR::CreateAsicChannelMap(), CbmTrdHardwareSetupR::CreateHwToSwAsicAddressTranslatorMap(), CbmTrdHitRateFastQa::ScanModulePlane(), and CbmTrdHardwareSetupR::WriteComponentIdsToParams().
|
inlinevirtual |
Definition at line 46 of file CbmTrdParSetAsic.h.
References fType.
|
virtualinherited |
Definition at line 32 of file CbmTrdParSet.cxx.
References CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, and i.
Referenced by CbmTrdHitRateQa::Exec(), CbmTrdHitRateFastQa::Exec(), CbmTrdHitProducer::Init(), and CbmL1::Init().
|
inlineinherited |
Definition at line 35 of file CbmTrdParSet.h.
References CbmTrdParSet::fModuleMap.
Referenced by CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram().
|
virtualinherited |
Definition at line 45 of file CbmTrdParSet.cxx.
References CbmTrdParSet::fModuleMap.
Referenced by CbmTrdClusterFinder::AddClusters(), CbmTrdHitProducer::AddModule(), CbmTrdDigitizer::AddModule(), CbmTrdClusterFinder::AddModule(), CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram(), CbmTrdQa::CreateLayerView(), CbmTrdUtils::CreateLayerView(), CbmTrdQa::Exec(), CbmTrdHitDensityQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdDigiDraw::Exec(), CbmTrdRecoQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), CbmTrdHitDensityQa::Finish(), GetAsicPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdUtils::GetModuleType(), CbmTrdQa::GetPadInfos(), CbmL1::Init(), and CbmTrdHitRateFastQa::ScanModulePlane().
|
virtual |
Access the list of ASICs operating on detector detId. Use the class in the sense of container of all module wise containers.
Definition at line 238 of file CbmTrdParSetAsic.cxx.
References fModPar.
Referenced by CbmTrdHitProducer::AddModule(), CbmTrdClusterFinder::AddModule(), CbmTrdDigitizer::AddModule(), CbmTrdHardwareSetupR::CreateAsicChannelMap(), CbmTrdHardwareSetupR::CreateHwToSwAsicAddressTranslatorMap(), CbmTrdHitDensityQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::ScanModulePlane(), and CbmTrdHardwareSetupR::WriteComponentIdsToParams().
|
inlinevirtual |
Definition at line 48 of file CbmTrdParSetAsic.h.
References CbmTrdParSet::GetNrOfModules().
Referenced by CbmTrdHitDensityQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdModuleAbstract::GetNasics(), Print(), and CbmTrdHitRateFastQa::ScanModulePlane().
|
inlinevirtualinherited |
Definition at line 34 of file CbmTrdParSet.h.
References CbmTrdParSet::fNrOfModules.
Referenced by CbmTrdHardwareSetupR::CreateAsicChannelMap(), CbmTrdHardwareSetupR::CreateHwToSwAsicAddressTranslatorMap(), CbmTrdHitRateQa::Exec(), CbmTrdHitRateFastQa::Exec(), CbmTrdHitDensityQa::Finish(), GetNofAsics(), CbmTrdHitProducer::Init(), and CbmTrdHardwareSetupR::WriteComponentIdsToParams().
|
virtual |
Reimplemented from CbmTrdParSet.
Definition at line 39 of file CbmTrdParSetAsic.cxx.
References CbmTrdParSetAsic(), fModPar, CbmTrdParSet::fNrOfModules, i, NFASPCH, NSPADICCH, CbmTrdParAsic::SetChannelAddresses(), and CbmTrdParAsic::SetComponentId().
|
private |
|
virtual |
Definition at line 248 of file CbmTrdParSetAsic.cxx.
References fModPar, CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, and GetNofAsics().
Referenced by CbmTrdParManager::CreateModuleParameters(), and CbmTrdParManager::Finish().
|
virtual |
Reimplemented from CbmTrdParSet.
Definition at line 103 of file CbmTrdParSetAsic.cxx.
References fModPar, CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, CbmTrdParFasp::GetChannel(), CbmTrdParFasp::GetChannelAddress(), CbmTrdParSpadic::GetCriId(), CbmTrdParSpadic::GetCrobId(), CbmTrdParSpadic::GetCrobNumber(), CbmTrdParSpadic::GetElinkId(), CbmTrdParFaspChannel::GetMinDelaySignal(), CbmTrdParFaspChannel::GetPileUpTime(), CbmTrdParFaspChannel::GetThreshold(), i, NFASPCH, and NSPADICCH.
Referenced by CbmTrdHardwareSetupR::CreateAsicChannelMap(), CbmTrdHardwareSetupR::CreateHwToSwAsicAddressTranslatorMap(), and CbmTrdHardwareSetupR::WriteComponentIdsToParams().
|
virtual |
Definition at line 273 of file CbmTrdParSetAsic.cxx.
References CbmTrdParSet::fModuleMap, and CbmTrdParSet::fNrOfModules.
Referenced by CbmTrdParManager::CreateModuleParameters(), and CbmTrdModuleSimR::SetAsicPar().
|
inlinevirtual |
Definition at line 51 of file CbmTrdParSetAsic.h.
References fType.
Referenced by CbmTrdParManager::CreateModuleParameters().
|
private |
module wise list of ASIC sets
Definition at line 59 of file CbmTrdParSetAsic.h.
Referenced by AddParameters(), GetModuleSet(), getParams(), Print(), putParams(), and ~CbmTrdParSetAsic().
|
protectedinherited |
Map of parameters for each TRD Module organized as function of Module unique Id
Definition at line 43 of file CbmTrdParSet.h.
Referenced by CbmTrdParSet::addParam(), AddParameters(), GetAsicAddress(), GetAsicAddresses(), CbmTrdParSet::GetModuleId(), CbmTrdParSet::GetModuleMap(), CbmTrdParSet::GetModulePar(), CbmTrdParSetDigi::getParams(), CbmTrdParSetGas::getParams(), CbmTrdParSetGeo::Init(), CbmTrdParSetGeo::Print(), Print(), CbmTrdParSetDigi::putParams(), CbmTrdParSetGas::putParams(), CbmTrdParSetGain::putParams(), putParams(), SetAsicPar(), and CbmTrdParSet::~CbmTrdParSet().
|
protectedinherited |
no of modules in the current run
Definition at line 41 of file CbmTrdParSet.h.
Referenced by CbmTrdParSet::addParam(), AddParameters(), CbmTrdParSet::GetModuleId(), CbmTrdParSet::GetNrOfModules(), CbmTrdParSetDigi::getParams(), CbmTrdParSetGas::getParams(), getParams(), Print(), CbmTrdParSetDigi::putParams(), CbmTrdParSetGas::putParams(), CbmTrdParSetGain::putParams(), putParams(), SetAsicPar(), and ~CbmTrdParSetAsic().
|
private |
type of ASIC for current se
Definition at line 57 of file CbmTrdParSetAsic.h.
Referenced by GetAsicType(), and SetAsicType().