|
CbmRoot
|
CBM ToF interface class to the unique address. More...
#include <CbmTofAddress.h>
Public Member Functions | |
| CbmTofAddress () | |
| virtual | ~CbmTofAddress () |
Static Public Member Functions | |
| static int32_t | GetSystemIdBitmask () |
| static int32_t | GetSmIdBitmask () |
| static int32_t | GetSmTypeBitmask () |
| static int32_t | GetRpcIdBitmask () |
| static int32_t | GetChannelSideBitmask () |
| static int32_t | GetChannelIdBitmask () |
| static int32_t | GetRpcTypeBitmask () |
| static int32_t | GetNofSmIdBits () |
| static int32_t | GetNofSmTypeBits () |
| static int32_t | GetNofRpcIdBits () |
| static int32_t | GetNofChannelIdBits () |
| static int32_t | GetNofChSideBits () |
| static int32_t | GetSmIdOffset () |
| static int32_t | GetSmTypeOffset () |
| static int32_t | GetRpcIdOffset () |
| static int32_t | GetChannelSideOffset () |
| static int32_t | GetChannelIdOffset () |
| static int32_t | GetRpcTypeOffset () |
| static uint32_t | GetDetectorId (uint32_t address) |
| Gets detectorId - address of minimal alignable volume. | |
| static int32_t | GetSmId (uint32_t address) |
| static int32_t | GetSmType (uint32_t address) |
| static int32_t | GetRpcId (uint32_t address) |
| static int32_t | GetRpcType (uint32_t address) |
| static int32_t | GetChannelId (uint32_t address) |
| static int32_t | GetChannelSide (uint32_t address) |
| static int32_t | GetModFullId (uint32_t address) |
| static int32_t | GetRpcFullId (uint32_t address) |
| static int32_t | GetStripFullId (uint32_t address) |
| static uint32_t | GetUniqueAddress (uint32_t Sm, uint32_t Rpc, uint32_t Channel, uint32_t Side=0, uint32_t SmType=0, uint32_t RpcType=0) |
| static bool | SameModule (uint32_t addressA, uint32_t addressB) |
| static uint32_t | ConvertCbmTofDetectorInfo (CbmTofDetectorInfo infoInput) |
| Sets the channel ID to the address. | |
| static uint32_t | ConvertCbmTofDetectorId (int32_t detIdInput) |
| static std::string | ToString (int32_t address) |
| static int32_t | GetNofSystemBits () |
| static int32_t | GetSystemId (uint32_t address) |
Static Protected Attributes | |
| static const int32_t | fgkSystemBits = 4 |
CBM ToF interface class to the unique address.
CbmTofAddress is the class for the concrete interfaces to the unique address, which is encoded in a 32-bit field (int32_t), for the ToF detector elements. Difference to CbmTofDetectorId is that this class is adapted to real data instead of simulated data => no Gap info but instead info on strip side. Conversion functions are provided for now, but version dependent!
Bit table since transition to v21a 3 2 1 0 Shift Bits Values Current definition: 10987654321098765432109876543210 System ID (kTof=6) on bits 0- 3 00000000000000000000000000001111 << 0 4 15 Super Module (SM) on bits 4-10 00000000000000000000011111110000 << 4 7 128 SM Type on bits 11-14 00000000000000000111100000000000 <<11 4 15 RPC ID on bits 15-20 00000000000111111000000000000000 <<15 6 64 Channel Side on bits 21-21 00000000001000000000000000000000 <<21 1 2 Channel ID on bits 22-27 00001111110000000000000000000000 <<22 6 64 RPC Type on bits 28-31 11110000000000000000000000000000 <<28 4 16
Changing the number of bits of a fields automatically shift all others => to adapt field length, just change its size and the size of one of the other fields
Definition at line 49 of file CbmTofAddress.h.
|
inline |
Constructor
Definition at line 52 of file CbmTofAddress.h.
|
inlinevirtual |
Destructor
Definition at line 55 of file CbmTofAddress.h.
|
inlinestatic |
Definition at line 233 of file CbmTofAddress.h.
References CbmTofDetectorId_v12b::GetCell(), CbmTofDetectorId_v12b::GetCounter(), CbmTofDetectorId_v12b::GetSModule(), CbmTofDetectorId_v12b::GetSMType(), and GetUniqueAddress().
|
inlinestatic |
Sets the channel ID to the address.
Definition at line 223 of file CbmTofAddress.h.
References CbmTofDetectorInfo::fCell, CbmTofDetectorInfo::fCounter, CbmTofDetectorInfo::fCounterType, CbmTofDetectorInfo::fSModule, CbmTofDetectorInfo::fSMtype, and GetUniqueAddress().
|
inlinestatic |
Get the Channel Id from the address
| address | Unique address |
Definition at line 167 of file CbmTofAddress.h.
References fgkChannelIdBits, and fgkChannelIdOffset.
Referenced by CbmTofTrackFinderNN::DoFind(), cbm::algo::tof::HitfindQa::Exec(), CbmMcbm2024CheckBmonScvd::Exec(), CbmTofCalibrator::FillCalHist(), CbmTofCalibrator::FillCalHist(), CbmTofFindTracks::FillHistograms(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofCalibrator::FillHitCalHist(), CbmBmonDigi::GetChannel(), CbmTofDigi::GetChannel(), CbmTofEventClusterizer::GetLocalX(), CbmTofEventClusterizer::GetLocalY(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofHitMaker::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), cbm::algo::bmon::Calibrate::operator()(), cbm::algo::bmon::Clusterizer::SelectDigi(), ToString(), and CbmTofTrackFinderNN::TrklSeed().
|
inlinestatic |
Gets a bitmask for the Channel ID bit field
Definition at line 81 of file CbmTofAddress.h.
References fgkChannelIdBitmask.
Referenced by cbm::algo::bmon::Calibrate::operator()().
|
inlinestatic |
Gets and offset for the Channel ID bit field
Definition at line 131 of file CbmTofAddress.h.
References fgkChannelIdOffset.
|
inlinestatic |
Get the Channel Side from the address
| address | Unique address |
Definition at line 175 of file CbmTofAddress.h.
References fgkChannelSideBits, and fgkChannelSideOffset.
Referenced by CbmStsTimeCal::CheckTiming(), CbmMcbm2024CheckBmonScvd::Exec(), CbmAlgoBuildRawEvents::filterBmon(), CbmTofDigi::GetSide(), and ToString().
|
inlinestatic |
Gets a bitmask for the Channel Side bit field
Definition at line 77 of file CbmTofAddress.h.
References fgkChannelSideBitmask.
|
inlinestatic |
Gets and offset for the Channel Side bit field
Definition at line 127 of file CbmTofAddress.h.
References fgkChannelSideOffset.
|
inlinestatic |
Gets detectorId - address of minimal alignable volume.
| address | Unique address |
Definition at line 139 of file CbmTofAddress.h.
References GetRpcFullId().
Referenced by MCModule::ReadMCPointsForDetector< ca::EDetectorID::kTof >().
|
inlinestatic |
Get the module Full Id from the address
| address | Unique address |
Definition at line 183 of file CbmTofAddress.h.
References fgkiModFullIdMask.
Referenced by cbm::algo::tof::HitfindQa::Exec(), CbmTofHitFinderTBQa::Exec(), cbm::algo::tof::HitfindQaParameters::HitfindQaParameters(), and SameModule().
|
inlinestatic |
Number of bits for Channel Id in the address field
Definition at line 104 of file CbmTofAddress.h.
References fgkChannelIdBits.
|
inlinestatic |
Number of bits for Channel Side in the address field
Definition at line 108 of file CbmTofAddress.h.
References fgkChannelSideBits.
|
inlinestatic |
Number of bits for Rpc Id in the address field
Definition at line 100 of file CbmTofAddress.h.
References fgkRpcIdBits.
|
inlinestatic |
Field size accessors Number of bits for Super Module Id in the address field
Definition at line 92 of file CbmTofAddress.h.
References fgkSmIdBits.
|
inlinestatic |
Number of bits for Super Module Type in the address field
Definition at line 96 of file CbmTofAddress.h.
References fgkSmTypeBits.
|
inlinestaticinherited |
Number of bits for system Id in the address field
Definition at line 40 of file CbmAddress.h.
References fgkSystemBits.
Referenced by TEST().
|
inlinestatic |
Get the detector Full Id (module ID without RPC type) from the address
| address | Unique address |
Definition at line 188 of file CbmTofAddress.h.
References fgkiRpcFullIdMask.
Referenced by cbm::algo::evbuild::DigiEventSelector::CheckTofLayers(), CbmAlgoBuildRawEvents::CheckTriggerConditions(), and GetDetectorId().
|
inlinestatic |
Get the Rpc Id from the address
| address | Unique address |
Definition at line 157 of file CbmTofAddress.h.
References fgkRpcIdBits, and fgkRpcIdOffset.
Referenced by CbmTofTrackFinderNN::AddVertex(), CbmTaskTofHitFinder::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofHitMaker::BuildClusters(), CbmTofEventClusterizer::CalibHits(), CbmRecoQaTask::GetHitDetectorId< ECbmModuleId::kTof >(), CbmTofCalibrator::CreateCalHist(), CbmDeviceHitBuilderTof::CreateHistograms(), CbmTofCosmicClusterizer::CreateHistos(), CbmTofEventClusterizer::CreateHistos(), CbmTofTestBeamClusterizer::CreateHistos(), CbmTofFindTracks::ExecFind(), CbmCaInputQaTof::ExecQa(), CbmTofCalibrator::FillCalHist(), CbmTofCalibrator::FillCalHist(), CbmTofFindTracks::FillHistograms(), CbmCaInputQaTof::FillHistogramsPerHit(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofCalibrator::FillHitCalHist(), CbmMcbmCheckTimingAlgo::GetDigiInfo(), CbmTofDigi::GetRpc(), CbmTofDigiBdfPar::GetTrackingStation(), cbm::algo::tof::RecoSetupUnit::ImplGetTrackingStationId(), CbmDeviceHitBuilderTof::LoadGeometry(), CbmTofAnaTestbeam::LoadGeometry(), CbmTofCosmicClusterizer::LoadGeometry(), CbmTofEventClusterizer::LoadGeometry(), CbmTofHitMaker::LoadGeometry(), CbmTofTestBeamClusterizer::LoadGeometry(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofHitMaker::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofFindTracks::PrintSetup(), CbmTofCalibrator::ReadHist(), ToString(), CbmTofCalibrator::UpdateCalHist(), CbmTofCosmicClusterizer::WriteHistos(), CbmTofEventClusterizer::WriteHistos(), and CbmTofTestBeamClusterizer::WriteHistos().
|
inlinestatic |
Gets a bitmask for the RPC ID bit field
Definition at line 73 of file CbmTofAddress.h.
References fgkRpcIdBitmask.
|
inlinestatic |
Gets and offset for the RPC ID bit field
Definition at line 123 of file CbmTofAddress.h.
References fgkRpcIdOffset.
|
inlinestatic |
Get the Rpc Type from the address
| address | Unique address |
Definition at line 162 of file CbmTofAddress.h.
References fgkRpcTypeBits, and fgkRpcTypeOffset.
Referenced by ToString().
|
inlinestatic |
Gets a bitmask for the RPC Type bit field
Definition at line 85 of file CbmTofAddress.h.
References fgkRpcTypeBitmask.
|
inlinestatic |
Gets and offset for the RPC Type bit field
Definition at line 135 of file CbmTofAddress.h.
References fgkRpcTypeOffset.
|
inlinestatic |
Maskers Get the Super Module Id from the address
| address | Unique address |
Definition at line 147 of file CbmTofAddress.h.
References fgkSmIdBits, and fgkSmIdOffset.
Referenced by CbmTofTrackFinderNN::AddVertex(), CbmTaskTofHitFinder::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofHitMaker::BuildClusters(), CbmTofEventClusterizer::CalibHits(), CbmRecoQaTask::GetHitDetectorId< ECbmModuleId::kTof >(), CbmTofCalibrator::CreateCalHist(), CbmDeviceHitBuilderTof::CreateHistograms(), CbmTofCosmicClusterizer::CreateHistos(), CbmTofEventClusterizer::CreateHistos(), CbmTofTestBeamClusterizer::CreateHistos(), CbmTofFindTracks::ExecFind(), CbmCaInputQaTof::ExecQa(), CbmTofCalibrator::FillCalHist(), CbmTofCalibrator::FillCalHist(), CbmTofFindTracks::FillHistograms(), CbmCaInputQaTof::FillHistogramsPerHit(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofCalibrator::FillHitCalHist(), CbmMcbmCheckTimingAlgo::GetDigiInfo(), CbmTofDigi::GetSm(), CbmTofDigiBdfPar::GetTrackingStation(), cbm::algo::tof::RecoSetupUnit::ImplGetTrackingStationId(), CbmDeviceHitBuilderTof::LoadGeometry(), CbmTofAnaTestbeam::LoadGeometry(), CbmTofCosmicClusterizer::LoadGeometry(), CbmTofEventClusterizer::LoadGeometry(), CbmTofHitMaker::LoadGeometry(), CbmTofTestBeamClusterizer::LoadGeometry(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofHitMaker::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofFindTracks::PrintSetup(), CbmTofCalibrator::ReadHist(), ToString(), CbmTofCalibrator::UpdateCalHist(), CbmTofCosmicClusterizer::WriteHistos(), CbmTofEventClusterizer::WriteHistos(), and CbmTofTestBeamClusterizer::WriteHistos().
|
inlinestatic |
Gets a bitmask for the Super Module ID bit field
Definition at line 65 of file CbmTofAddress.h.
References fgkSmIdBitmask.
|
inlinestatic |
Bit field offsets Gets and offset for the System bit field
Definition at line 115 of file CbmTofAddress.h.
References fgkSmIdOffset.
|
inlinestatic |
Get the Super Module Type from the address
| address | Unique address |
Definition at line 152 of file CbmTofAddress.h.
References fgkSmTypeBits, and fgkSmTypeOffset.
Referenced by CbmTofTrackFinderNN::AddVertex(), CbmTaskTofHitFinder::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofHitMaker::BuildClusters(), CbmTofEventClusterizer::CalibHits(), CbmRecoQaTask::GetHitDetectorId< ECbmModuleId::kTof >(), CbmTofCalibrator::CreateCalHist(), CbmDeviceHitBuilderTof::CreateHistograms(), CbmTofCosmicClusterizer::CreateHistos(), CbmTofEventClusterizer::CreateHistos(), CbmTofTestBeamClusterizer::CreateHistos(), CbmTofFindTracks::ExecFind(), CbmCaInputQaBase< DetID >::ExecQa(), CbmCaInputQaTof::ExecQa(), CbmTofCalibrator::FillCalHist(), CbmTofCalibrator::FillCalHist(), CbmTofFindTracks::FillHistograms(), cbm::ca::InputQaSetup::FillHistogramsDet(), CbmCaInputQaTof::FillHistogramsPerHit(), CbmDeviceHitBuilderTof::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofCalibrator::FillHitCalHist(), CbmAlgoBuildRawEvents::filterBmon(), CbmMcbmCheckTimingAlgo::GetDigiInfo(), CbmTofDigiBdfPar::GetTrackingStation(), CbmTofDigi::GetType(), cbm::algo::tof::RecoSetupUnit::ImplGetTrackingStationId(), CbmDeviceHitBuilderTof::LoadGeometry(), CbmTofAnaTestbeam::LoadGeometry(), CbmTofCosmicClusterizer::LoadGeometry(), CbmTofEventClusterizer::LoadGeometry(), CbmTofHitMaker::LoadGeometry(), CbmTofTestBeamClusterizer::LoadGeometry(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), CbmTofHitMaker::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofFindTracks::PrintSetup(), CbmTofCalibrator::ReadHist(), cbm::ca::TimeSliceReader::ReadHitsForDetector(), ToString(), CbmTofCalibrator::UpdateCalHist(), CbmTofCosmicClusterizer::WriteHistos(), CbmTofEventClusterizer::WriteHistos(), CbmTofFindTracks::WriteHistos(), and CbmTofTestBeamClusterizer::WriteHistos().
|
inlinestatic |
Gets a bitmask for the Super Module Type bit field
Definition at line 69 of file CbmTofAddress.h.
References fgkSmTypeBitmask.
|
inlinestatic |
Gets and offset for the Super Module Type bit field
Definition at line 119 of file CbmTofAddress.h.
References fgkSmTypeOffset.
|
inlinestatic |
Get the strip Full Id from the address
| address | Unique address |
Definition at line 193 of file CbmTofAddress.h.
References fgkiStripFullIdMask.
Referenced by cbm::algo::evbuild::DigiEventSelector::CheckTofLayers(), and CbmAlgoBuildRawEvents::CheckTriggerConditions().
|
inlinestaticinherited |
Get the system Id from the address
| address | Unique address |
Definition at line 47 of file CbmAddress.h.
References fgkSystemBits.
Referenced by cbm::GeoNodeMap::ApplyMask(), cbm::GeoNodeMap::GetVolumeProperties(), CbmRecoSts::ProcessData(), CbmRecoStsPixel::ProcessData(), cbm::GeoNodeMap::ReadGeoVolume(), and TEST().
|
inlinestatic |
Component bitmasks Gets a bitmask for the System bit field
Definition at line 61 of file CbmTofAddress.h.
References fgkSystemIdBitmask.
|
inlinestatic |
Builder Get the unique address from all parameters
| [in] | Sm | Super Module Id. |
| [in] | Rpc | Rpc Id. |
| [in] | Channel | Channel Id. |
| [in] | Side | Channel Side (optional, used for strips). |
| [in] | Sm | Type Super Module Type (optional). |
Definition at line 204 of file CbmTofAddress.h.
References fgkChannelIdBits, fgkChannelIdOffset, fgkChannelSideBits, fgkChannelSideOffset, fgkRpcIdBits, fgkRpcIdOffset, fgkRpcTypeBits, fgkRpcTypeOffset, fgkSmIdBits, fgkSmIdOffset, fgkSmTypeBits, fgkSmTypeOffset, CbmAddress::fgkSystemBits, kTof, and ToIntegralType().
Referenced by CbmDeviceHitBuilderTof::AddNextChan(), CbmTofCosmicClusterizer::AddNextChan(), CbmTofEventClusterizer::AddNextChan(), CbmTofHitMaker::AddNextChan(), CbmTofTestBeamClusterizer::AddNextChan(), CbmTofTrackFinderNN::AddVertex(), cbm::algo::bmon::ReadoutConfig::BuildChannelsUidMapBmon(), CbmMcbm2018TofPar::BuildChannelsUidMapBmon(), cbm::algo::bmon::ReadoutConfig::BuildChannelsUidMapBmon_2022(), CbmMcbm2018TofPar::BuildChannelsUidMapBmon_2022(), cbm::algo::tof::ReadoutConfig::BuildChannelsUidMapBuc(), CbmMcbm2018TofPar::BuildChannelsUidMapBuc(), cbm::algo::tof::ReadoutConfig::BuildChannelsUidMapCbm(), CbmMcbm2018TofPar::BuildChannelsUidMapCbm(), cbm::algo::tof::ReadoutConfig::BuildChannelsUidMapCera(), CbmMcbm2018TofPar::BuildChannelsUidMapCera(), cbm::algo::tof::ReadoutConfig::BuildChannelsUidMapCern(), CbmMcbm2018TofPar::BuildChannelsUidMapCern(), cbm::algo::tof::ReadoutConfig::BuildChannelsUidMapStar(), CbmMcbm2018TofPar::BuildChannelsUidMapStar(), cbm::algo::tof::ReadoutConfig::BuildChannelsUidMapStar2(), CbmMcbm2018TofPar::BuildChannelsUidMapStar2(), CbmMcbm2018TofPar::BuildChannelsUidMapStar2A(), cbm::algo::tof::ReadoutConfig::BuildChannelsUidMapStar2Inner(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofSimpClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmDeviceHitBuilderTof::BuildHits(), CbmTofEventClusterizer::BuildHits(), CbmTofHitMaker::BuildHits(), CbmTofDigi::CbmTofDigi(), ConvertCbmTofDetectorId(), ConvertCbmTofDetectorInfo(), CbmTofCalibrator::CreateCalHist(), CbmDeviceHitBuilderTof::CreateHistograms(), CbmTofCosmicClusterizer::CreateHistos(), CbmTofEventClusterizer::CreateHistos(), CbmTofTestBeamClusterizer::CreateHistos(), CbmTofDigitize::DigitizeDirectClusterSize(), CbmTofDigitize::DigitizeFlatDisc(), CbmTofDigitize::DigitizeGaussCharge(), CbmTofTBClusterizer::Exec(), CbmTofCalibrator::FillCalHist(), CbmTofFindTracks::FillHistograms(), CbmTofAnaTestbeam::FillHistos(), CbmTofDigiBdfPar::getParams(), CbmDeviceHitBuilderTof::HandleData(), CbmTofCosmicClusterizer::Init(), CbmTofEventClusterizer::Init(), CbmTofTestBeamClusterizer::Init(), CbmTaskTofHitFinder::InitAlgos(), CbmTaskTofClusterizerParWrite::InitAlgosBmon(), CbmTaskTofClusterizerParWrite::InitAlgosTof(), CbmTofEventClusterizer::InitCalibParameter(), CbmDeviceHitBuilderTof::InitContainers(), CbmMcbm2018UnpackerAlgoTof::InitParameters(), CbmTofAnaTestbeam::InitParameters(), CbmDeviceUnpackTofCri::InitTask(), CbmDeviceUnpackTofMcbm2018::InitTask(), CbmDeviceHitBuilderTof::LoadGeometry(), CbmTofCosmicClusterizer::LoadGeometry(), CbmTofEventClusterizer::LoadGeometry(), CbmTofHitMaker::LoadGeometry(), CbmTofTestBeamClusterizer::LoadGeometry(), CbmDeviceUnpackTofMcbm2018::ReInitContainers(), CbmTofDigi::SetAddress(), CbmTofFindTracks::SetBeamCounter(), CbmTofAnaTestbeam::SetBeamRefRpc(), CbmTofAnaTestbeam::SetBeamRefSmId(), CbmTofAnaTestbeam::SetBeamRefSmType(), CbmTofCosmicClusterizer::SetCalRpc(), CbmTofEventClusterizer::SetCalRpc(), CbmTofHitMaker::SetCalRpc(), CbmTofTestBeamClusterizer::SetCalRpc(), CbmTofCosmicClusterizer::SetCalSmType(), CbmTofEventClusterizer::SetCalSmType(), CbmTofHitMaker::SetCalSmType(), CbmTofTestBeamClusterizer::SetCalSmType(), CbmTofAnaTestbeam::SetDut(), CbmTofAnaTestbeam::SetDutRpc(), CbmTofAnaTestbeam::SetDutSm(), CbmTofAnaTestbeam::SetMrpcRef(), CbmTofAnaTestbeam::SetMrpcRefRpc(), CbmTofAnaTestbeam::SetMrpcRefSm(), CbmTofAnaTestbeam::SetMrpcSel2(), CbmTofAnaTestbeam::SetMrpcSel2Rpc(), CbmTofAnaTestbeam::SetMrpcSel2Sm(), CbmTofAnaTestbeam::SetMrpcSel3(), CbmTofAnaTestbeam::SetMrpcSel3Rpc(), CbmTofAnaTestbeam::SetMrpcSel3Sm(), CbmTofFindTracks::SetStation(), CbmTofFindTracks::SetStations(), TEST(), and CbmTofCalibrator::UpdateCalHist().
|
inlinestatic |
Definition at line 216 of file CbmTofAddress.h.
References GetModFullId().
|
static |
String representation of the address
| address | Unique address |
Definition at line 55 of file CbmTofAddress.cxx.
References GetChannelId(), GetChannelSide(), GetRpcId(), GetRpcType(), GetSmId(), and GetSmType().
Referenced by cbm::algo::tof::HitfindQa::Exec(), cbm::algo::tof::HitfindQaParameters::HitfindQaParameters(), cbm::algo::tof::HitfindQa::Init(), and cbm::algo::bmon::Calibrate::operator()().
|
staticprivate |
Definition at line 327 of file CbmTofAddress.h.
Referenced by GetChannelIdBitmask().
|
staticprivate |
Definition at line 283 of file CbmTofAddress.h.
Referenced by GetChannelId(), GetNofChannelIdBits(), and GetUniqueAddress().
|
staticprivate |
Offset in bits for Channel Id in the address field
Definition at line 301 of file CbmTofAddress.h.
Referenced by GetChannelId(), GetChannelIdOffset(), and GetUniqueAddress().
|
staticprivate |
Definition at line 326 of file CbmTofAddress.h.
Referenced by GetChannelSideBitmask().
|
staticprivate |
Definition at line 281 of file CbmTofAddress.h.
Referenced by GetChannelSide(), GetNofChSideBits(), and GetUniqueAddress().
|
staticprivate |
Offset in bits for Channel Side Id in the address field
Definition at line 297 of file CbmTofAddress.h.
Referenced by GetChannelSide(), GetChannelSideOffset(), and GetUniqueAddress().
|
staticprivate |
For the module Full Id determination
Definition at line 308 of file CbmTofAddress.h.
Referenced by GetModFullId().
|
staticprivate |
For the RPC Full Id determination (ignore RPC type and side)
Definition at line 313 of file CbmTofAddress.h.
Referenced by GetRpcFullId().
|
staticprivate |
For the detector strip Id determination (ignore RPC type and side)
Definition at line 318 of file CbmTofAddress.h.
Referenced by GetStripFullId().
|
staticprivate |
Definition at line 325 of file CbmTofAddress.h.
Referenced by GetRpcIdBitmask().
|
staticprivate |
Definition at line 279 of file CbmTofAddress.h.
Referenced by GetNofRpcIdBits(), GetRpcId(), and GetUniqueAddress().
|
staticprivate |
Offset in bits for Rpc Id in the address field
Definition at line 299 of file CbmTofAddress.h.
Referenced by GetRpcId(), GetRpcIdOffset(), and GetUniqueAddress().
|
staticprivate |
Definition at line 328 of file CbmTofAddress.h.
Referenced by GetRpcTypeBitmask().
|
staticprivate |
Definition at line 285 of file CbmTofAddress.h.
Referenced by GetRpcType(), and GetUniqueAddress().
|
staticprivate |
Offset in bits for Channel Id in the address field
Offset in bits for Rpc Type in the address field
Definition at line 303 of file CbmTofAddress.h.
Referenced by GetRpcType(), GetRpcTypeOffset(), and GetUniqueAddress().
|
staticprivate |
Definition at line 323 of file CbmTofAddress.h.
Referenced by GetSmIdBitmask().
|
staticprivate |
To adapt the address sub-fields repartition in size, you just need to change number of bits of the two sub-fields changing length. Sub-fields sizes in bits
Definition at line 275 of file CbmTofAddress.h.
Referenced by GetNofSmIdBits(), GetSmId(), and GetUniqueAddress().
|
staticprivate |
To adapt the address sub-fields repartition in order, you just need to change the way the offset are calculated. Sub-fields offsets in bits Offset in bits for Super Module Id in the address field
Offset in bits for Super Module Id in the address field
Definition at line 293 of file CbmTofAddress.h.
Referenced by GetSmId(), GetSmIdOffset(), and GetUniqueAddress().
|
staticprivate |
Definition at line 324 of file CbmTofAddress.h.
Referenced by GetSmTypeBitmask().
|
staticprivate |
Definition at line 277 of file CbmTofAddress.h.
Referenced by GetNofSmTypeBits(), GetSmType(), and GetUniqueAddress().
|
staticprivate |
Offset in bits for Super Module Type in the address field
Definition at line 295 of file CbmTofAddress.h.
Referenced by GetSmType(), GetSmTypeOffset(), and GetUniqueAddress().
|
staticprotectedinherited |
Number of bits for system Id in the address field
Definition at line 52 of file CbmAddress.h.
Referenced by GetNofSystemBits(), GetSystemId(), and CbmTofAddress::GetUniqueAddress().
|
staticprivate |
Individual bitmasks for each bit field
Definition at line 322 of file CbmTofAddress.h.
Referenced by GetSystemIdBitmask().