CbmRoot
|
#include <CbmTrdParSetDigi.h>
Public Member Functions | |
CbmTrdParSetDigi (const char *name="CbmTrdParSetDigi", const char *title="TRD chamber parameters", const char *context="Default") | |
virtual | ~CbmTrdParSetDigi () |
Destructor. More... | |
virtual void | clear () |
Reset all parameters. More... | |
void | putParams (FairParamList *) |
Bool_t | getParams (FairParamList *) |
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 |
Definition at line 15 of file CbmTrdParSetDigi.h.
CbmTrdParSetDigi::CbmTrdParSetDigi | ( | const char * | name = "CbmTrdParSetDigi" , |
const char * | title = "TRD chamber parameters" , |
||
const char * | context = "Default" |
||
) |
Standard constructor
Definition at line 16 of file CbmTrdParSetDigi.cxx.
|
inlinevirtual |
Destructor.
Definition at line 23 of file CbmTrdParSetDigi.h.
|
virtualinherited |
Definition at line 65 of file CbmTrdParSet.cxx.
References CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, and CbmTrdParMod::GetModuleId().
Referenced by CbmTrdParManager::CreateModuleParameters().
|
protectedinherited |
|
inlinevirtual |
Reset all parameters.
Reimplemented from CbmTrdParSet.
Definition at line 26 of file CbmTrdParSetDigi.h.
|
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(), CbmTrdClusterFinder::AddModule(), CbmTrdDigitizer::AddModule(), CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram(), CbmTrdQa::CreateLayerView(), CbmTrdUtils::CreateLayerView(), CbmTrdQa::Exec(), CbmTrdHitDensityQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdDigiDraw::Exec(), CbmTrdRecoQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), CbmTrdHitDensityQa::Finish(), CbmTrdParSetAsic::GetAsicPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdUtils::GetModuleType(), CbmTrdQa::GetPadInfos(), CbmL1::Init(), 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(), CbmTrdParSetAsic::GetNofAsics(), CbmTrdHitProducer::Init(), and CbmTrdHardwareSetupR::WriteComponentIdsToParams().
|
virtual |
Reimplemented from CbmTrdParSet.
Definition at line 24 of file CbmTrdParSetDigi.cxx.
References CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, i, x, and y.
|
virtual |
Instead of a fixed number of values the number of values to store now depends on the maximum number of sectors per module The first eleven parameters are for the complete module.
The parametrs are: orientation : module rotation in 90deg fAnodeWireSpacing : width of amplification cell in cm fAnodeWireToPadPlaneDistance : anode 2 pad plane distance in cm
fAnodeWireOffset : offset of first anode wire wrt pad plane
X, Y, Z : position of the middle of the gaslayer. SizeX, SizeY, SizeZ : size of the gaslayer. The values are only the half size which are the values returned by geant.
The rest of the parameters depend on the number of sectors. SectorSizeX(Y) : size of a sector PadSizeX(Y) : size of the pads in this sector
Reimplemented from CbmTrdParSet.
Definition at line 112 of file CbmTrdParSetDigi.cxx.
References CbmTrdParSet::fModuleMap, CbmTrdParSet::fNrOfModules, CbmTrdParModDigi::GetAnodeWireOffset(), CbmTrdParModDigi::GetAnodeWireSpacing(), CbmTrdParModDigi::GetAnodeWireToPadPlaneDistance(), CbmTrdParModDigi::GetOrientation(), CbmTrdParModDigi::GetPadSizeX(), CbmTrdParModDigi::GetPadSizeY(), CbmTrdParModDigi::GetSectorSizeX(), CbmTrdParModDigi::GetSectorSizeY(), CbmTrdParModDigi::GetSizeX(), CbmTrdParModDigi::GetSizeY(), CbmTrdParModDigi::GetSizeZ(), CbmTrdParModDigi::GetX(), CbmTrdParModDigi::GetY(), CbmTrdParModDigi::GetZ(), and i.
|
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(), CbmTrdParSetAsic::AddParameters(), CbmTrdParSetAsic::GetAsicAddress(), CbmTrdParSetAsic::GetAsicAddresses(), CbmTrdParSet::GetModuleId(), CbmTrdParSet::GetModuleMap(), CbmTrdParSet::GetModulePar(), getParams(), CbmTrdParSetGas::getParams(), CbmTrdParSetGeo::Init(), CbmTrdParSetGeo::Print(), CbmTrdParSetAsic::Print(), CbmTrdParSetGas::putParams(), putParams(), CbmTrdParSetGain::putParams(), CbmTrdParSetAsic::putParams(), CbmTrdParSetAsic::SetAsicPar(), and CbmTrdParSet::~CbmTrdParSet().
|
protectedinherited |
no of modules in the current run
Definition at line 41 of file CbmTrdParSet.h.
Referenced by CbmTrdParSet::addParam(), CbmTrdParSetAsic::AddParameters(), CbmTrdParSet::GetModuleId(), CbmTrdParSet::GetNrOfModules(), getParams(), CbmTrdParSetGas::getParams(), CbmTrdParSetAsic::getParams(), CbmTrdParSetAsic::Print(), putParams(), CbmTrdParSetGas::putParams(), CbmTrdParSetGain::putParams(), CbmTrdParSetAsic::putParams(), CbmTrdParSetAsic::SetAsicPar(), and CbmTrdParSetAsic::~CbmTrdParSetAsic().