CbmRoot
|
#include <CbmTrdAddress.h>
Static Public Member Functions | |
static UInt_t | GetAddress (Int_t layerId, Int_t moduleId, Int_t sectorId, Int_t rowId, Int_t columnId) |
Return address from system ID, layer, module, sector, column and row IDs. More... | |
static UInt_t | GetSystemId (UInt_t address) |
Return System identifier from address. More... | |
static UInt_t | GetLayerId (UInt_t address) |
Return layer ID from address. More... | |
static UInt_t | GetModuleId (UInt_t address) |
Return module ID from address. More... | |
static UInt_t | GetSectorId (UInt_t address) |
Return sector ID from address. More... | |
static UInt_t | GetRowId (UInt_t address) |
Return row ID from address. More... | |
static UInt_t | GetColumnId (UInt_t address) |
Return column ID from address. More... | |
static UInt_t | GetModuleAddress (UInt_t address) |
Return unique module ID from address. More... | |
static UInt_t | GetSectorAddress (UInt_t address) |
Return unique sector ID from address. More... | |
static UInt_t | SetLayerId (UInt_t address, Int_t newLayerId) |
Set new layer ID for address. More... | |
static UInt_t | SetModuleId (UInt_t address, Int_t newModuleId) |
Set new module ID for address. More... | |
static UInt_t | SetSectorId (UInt_t address, Int_t newSectorId) |
Set new sector ID for address. More... | |
static UInt_t | SetRowId (UInt_t address, Int_t newRowId) |
Set new row ID for address. More... | |
static UInt_t | SetColumnId (UInt_t address, Int_t newColumnId) |
Set new column ID for address. More... | |
Static Private Attributes | |
static const Int_t | fgkSystemIdLength = 15 |
static const Int_t | fgkLayerIdLength = 15 |
static const Int_t | fgkModuleIdLength = 127 |
static const Int_t | fgkSectorIdLength = 3 |
static const Int_t | fgkRowIdLength = 127 |
static const Int_t | fgkColumnIdLength = 255 |
static const Int_t | fgkSystemIdShift = 0 |
static const Int_t | fgkLayerIdShift = 4 |
static const Int_t | fgkModuleIdShift = 8 |
static const Int_t | fgkSectorIdShift = 15 |
static const Int_t | fgkRowIdShift = 17 |
static const Int_t | fgkColumnIdShift = 24 |
static const Int_t | fgkModuleAddressStart = 0 |
static const Int_t | fgkModuleAddressLength = 32767 |
static const Int_t | fgkSectorAddressStart = 0 |
static const Int_t | fgkSectorAddressLength = 131071 |
Definition at line 27 of file CbmTrdAddress.h.
|
inlinestatic |
Return address from system ID, layer, module, sector, column and row IDs.
[in] | layerId | Layer ID. |
[in] | moduleId | Module ID. |
[in] | sectorId | Sector ID. |
[in] | rowId | Row ID. |
[in] | columnId | Column ID. |
Definition at line 38 of file CbmTrdAddress.h.
References fgkColumnIdLength, fgkColumnIdShift, fgkLayerIdLength, fgkLayerIdShift, fgkModuleIdLength, fgkModuleIdShift, fgkRowIdLength, fgkRowIdShift, fgkSectorIdLength, fgkSectorIdShift, fgkSystemIdShift, kTrd, and ToIntegralType().
Referenced by CbmTrdModuleSimR::AddCrosstalk(), CbmTrdModuleSimR::CheckMulti(), CbmTrdQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdDigi::GetAddressModule(), CbmTrdGeoHandler::GetModuleAddress(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdHitRateFastQa::ScanModulePlane(), CbmTrdModuleSimR::ScanPadPlane(), CbmTrdModuleSimR::SetAsicPar(), SetColumnId(), SetLayerId(), SetModuleId(), SetRowId(), and SetSectorId().
|
inlinestatic |
Return column ID from address.
[in] | address | Unique channel address. |
Definition at line 107 of file CbmTrdAddress.h.
References fgkColumnIdLength, and fgkColumnIdShift.
Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::CheckMulti(), CbmTrdHitDensityQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdDigiDraw::Exec(), CbmTrdRecoQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmTrdParModDigi::GetPadPosition(), CbmTrdModuleSimR::ProcessPulseBuffer(), SetLayerId(), SetModuleId(), SetRowId(), and SetSectorId().
|
inlinestatic |
Return layer ID from address.
[in] | address | Unique channel address. |
Definition at line 69 of file CbmTrdAddress.h.
References fgkLayerIdLength, and fgkLayerIdShift.
Referenced by CbmTrdModuleSimR::AddCrosstalk(), CbmTrdDigitizer::AddModule(), CbmTrdModuleSimR::CheckMulti(), CbmTrdQa::CreateLayerView(), CbmTrdUtils::CreateLayerView(), LxCalcStats::Exec(), CbmTrdQa::Exec(), CbmTrdHitDensityQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdDigiDraw::Exec(), CbmTrdHitRateQa::Exec(), CbmTrdHitRateFastQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmLitMCTrackCreator::FillStationMaps(), CbmTrdHitDensityQa::Finish(), CbmTrdHit::GetPlaneId(), CbmLitClusteringQa::GetStationId(), CbmBinnedTrackerQANew::Init(), CbmBinnedTrackerQA::Init(), LxTBTrdFinder::Init(), LxTBFinder::Init(), CbmTrdParModDigi::Print(), CbmTrdMCQa::ProcessPoints(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmLitFitQa::ProcessTrdTrack(), CbmBinnedTrdMCReader::Read(), CbmHadronAnalysis::ReconstructSecondaries(), CbmTrdHitRateFastQa::ScanModulePlane(), CbmTrdDigi::SetAddress(), SetColumnId(), SetModuleId(), SetRowId(), and SetSectorId().
|
inlinestatic |
Return unique module ID from address.
[in] | address | Unique channel address. |
Definition at line 117 of file CbmTrdAddress.h.
References fgkModuleAddressLength, and fgkModuleAddressStart.
Referenced by CbmTrdQa::Exec(), CbmTrdHitDensityQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdDigiDraw::Exec(), CbmTrdRecoQa::Exec(), and CbmTrdOccupancyQa::Exec().
|
inlinestatic |
Return module ID from address.
[in] | address | Unique channel address. |
Definition at line 78 of file CbmTrdAddress.h.
References fgkModuleIdLength, and fgkModuleIdShift.
Referenced by CbmTrdModuleSimR::AddCrosstalk(), CbmTrdModuleSimR::CheckMulti(), CbmTrdQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdRecoQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdModuleSimT::FlushBuffer(), CbmTrdParModDigi::Print(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdHitRateFastQa::ScanModulePlane(), CbmTrdModuleSimR::ScanPadPlane(), CbmTrdDigi::SetAddress(), CbmTrdModuleSimR::SetAsicPar(), SetColumnId(), SetLayerId(), SetRowId(), and SetSectorId().
|
inlinestatic |
Return row ID from address.
[in] | address | Unique channel address. |
Definition at line 98 of file CbmTrdAddress.h.
References fgkRowIdLength, and fgkRowIdShift.
Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::CheckMulti(), CbmTrdHitDensityQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdDigiDraw::Exec(), CbmTrdRecoQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmTrdParModDigi::GetPadPosition(), CbmTrdModuleSimR::ProcessPulseBuffer(), SetColumnId(), SetLayerId(), SetModuleId(), and SetSectorId().
|
inlinestatic |
Return unique sector ID from address.
[in] | address | Unique channel address. |
Definition at line 127 of file CbmTrdAddress.h.
References fgkSectorAddressLength, and fgkSectorAddressStart.
|
inlinestatic |
Return sector ID from address.
[in] | address | Unique channel address. |
Definition at line 88 of file CbmTrdAddress.h.
References fgkSectorIdLength, and fgkSectorIdShift.
Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::CheckMulti(), CbmTrdHitDensityQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdDigiDraw::Exec(), CbmTrdRecoQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmTrdParModDigi::GetPadPosition(), CbmTrdModuleSimR::ProcessPulseBuffer(), SetColumnId(), SetLayerId(), SetModuleId(), and SetRowId().
|
inlinestatic |
Return System identifier from address.
[in] | address | Unique channel address. |
Definition at line 59 of file CbmTrdAddress.h.
References fgkSystemIdLength, and fgkSystemIdShift.
|
inlinestatic |
Set new column ID for address.
address | Current address. |
newColumnId | New value for column ID. |
Definition at line 198 of file CbmTrdAddress.h.
References fgkColumnIdLength, GetAddress(), GetLayerId(), GetModuleId(), GetRowId(), and GetSectorId().
|
inlinestatic |
Set new layer ID for address.
address | Current address. |
newLayerId | New value for layer ID. |
Definition at line 138 of file CbmTrdAddress.h.
References fgkLayerIdLength, GetAddress(), GetColumnId(), GetModuleId(), GetRowId(), and GetSectorId().
|
inlinestatic |
Set new module ID for address.
address | Current address. |
newModuleId | New value for module ID. |
Definition at line 153 of file CbmTrdAddress.h.
References fgkModuleIdLength, GetAddress(), GetColumnId(), GetLayerId(), GetRowId(), and GetSectorId().
|
inlinestatic |
Set new row ID for address.
address | Current address. |
newRowId | New value for row ID. |
Definition at line 183 of file CbmTrdAddress.h.
References fgkRowIdLength, GetAddress(), GetColumnId(), GetLayerId(), GetModuleId(), and GetSectorId().
|
inlinestatic |
Set new sector ID for address.
address | Current address. |
newSectorId | New value for sector ID. |
Definition at line 168 of file CbmTrdAddress.h.
References fgkSectorIdLength, GetAddress(), GetColumnId(), GetLayerId(), GetModuleId(), and GetRowId().
|
staticprivate |
Definition at line 214 of file CbmTrdAddress.h.
Referenced by GetAddress(), GetColumnId(), and SetColumnId().
|
staticprivate |
Definition at line 221 of file CbmTrdAddress.h.
Referenced by GetAddress(), and GetColumnId().
|
staticprivate |
Definition at line 210 of file CbmTrdAddress.h.
Referenced by GetAddress(), GetLayerId(), and SetLayerId().
|
staticprivate |
Definition at line 217 of file CbmTrdAddress.h.
Referenced by GetAddress(), and GetLayerId().
|
staticprivate |
Definition at line 225 of file CbmTrdAddress.h.
Referenced by GetModuleAddress().
|
staticprivate |
Definition at line 224 of file CbmTrdAddress.h.
Referenced by GetModuleAddress().
|
staticprivate |
Definition at line 211 of file CbmTrdAddress.h.
Referenced by GetAddress(), GetModuleId(), and SetModuleId().
|
staticprivate |
Definition at line 218 of file CbmTrdAddress.h.
Referenced by GetAddress(), and GetModuleId().
|
staticprivate |
Definition at line 213 of file CbmTrdAddress.h.
Referenced by GetAddress(), GetRowId(), and SetRowId().
|
staticprivate |
Definition at line 220 of file CbmTrdAddress.h.
Referenced by GetAddress(), and GetRowId().
|
staticprivate |
Definition at line 229 of file CbmTrdAddress.h.
Referenced by GetSectorAddress().
|
staticprivate |
Definition at line 228 of file CbmTrdAddress.h.
Referenced by GetSectorAddress().
|
staticprivate |
Definition at line 212 of file CbmTrdAddress.h.
Referenced by GetAddress(), GetSectorId(), and SetSectorId().
|
staticprivate |
Definition at line 219 of file CbmTrdAddress.h.
Referenced by GetAddress(), and GetSectorId().
|
staticprivate |
Definition at line 209 of file CbmTrdAddress.h.
Referenced by GetSystemId().
|
staticprivate |
Definition at line 216 of file CbmTrdAddress.h.
Referenced by GetAddress(), and GetSystemId().