diff --git a/algo/detectors/bmon/ReadoutConfig.cxx b/algo/detectors/bmon/ReadoutConfig.cxx index 60b22300d3c60ec55f752be3667e414c82cdf69f..99d4c4a3b53eedabf1c0064fa71d7c4d02044d7f 100644 --- a/algo/detectors/bmon/ReadoutConfig.cxx +++ b/algo/detectors/bmon/ReadoutConfig.cxx @@ -129,7 +129,7 @@ namespace cbm::algo::bmon L_(debug) << "================== BMON Mapping ============================"; uint32_t uCh = 0; - for (uint32_t uGbtx = 0; uGbtx < pars.NCROBs(); ++uGbtx) { + for (uint32_t uGbtx = 0; uGbtx < pars.NCrobs(); ++uGbtx) { const uint32_t uCh0 = uCh; const auto& crob = pars.crobs.at(uGbtx); switch (crob.rpcType) { diff --git a/algo/detectors/bmon/ReadoutConfig.h b/algo/detectors/bmon/ReadoutConfig.h index 6b1fa6e2a59298b2621d6bebfb83498bca879f69..88e0361d38e02a88289282b194f2878d63de1231 100644 --- a/algo/detectors/bmon/ReadoutConfig.h +++ b/algo/detectors/bmon/ReadoutConfig.h @@ -54,7 +54,7 @@ namespace cbm::algo::bmon yaml::Property(&ReadoutSetup::eqIds, "eqIds", "Array to hold the unique IDs (equipment ID) for all BMON DPBs" , YAML::Flow, YAML::Hex)); size_t NComponents() const { return eqIds.size(); } - size_t NCROBs() const { return crobs.size(); } + size_t NCrobs() const { return crobs.size(); } i32 NFebsPerCrob() const { return nFebsPerComponent / nCrobPerComponent; } i32 NChansPerFeb() const { return nAsicsPerFeb * nChannelsPerAsic; } i32 NChansPerComponent() const { return nChannelsPerAsic * NElinksPerComponent(); } diff --git a/algo/detectors/tof/ReadoutConfig.cxx b/algo/detectors/tof/ReadoutConfig.cxx index 5541c13cfc9d5bda5e2b49676e2d2d77c4cbf047..aab8e3ebf865109694cd4409b721aec5c510a7cd 100644 --- a/algo/detectors/tof/ReadoutConfig.cxx +++ b/algo/detectors/tof/ReadoutConfig.cxx @@ -179,7 +179,7 @@ namespace cbm::algo::tof L_(debug) << "================== TOF Mapping ============================="; uint32_t uCh = 0; - for (uint32_t uGbtx = 0; uGbtx < pars.NCROBs(); ++uGbtx) { + for (uint32_t uGbtx = 0; uGbtx < pars.NCrobs(); ++uGbtx) { uint32_t uCh0 = uCh; uint32_t uGdpb = uCh0 / (pars.nFebsPerComponent * pars.nAsicsPerFeb * pars.nChannelsPerAsic); const auto& crob = pars.crobs.at(uGbtx); diff --git a/algo/detectors/tof/ReadoutConfig.h b/algo/detectors/tof/ReadoutConfig.h index 18bd409feae8189e553dc986fb25745ee5a9f1d4..07c91d72927aa86428f56030964c58effeebbef5 100644 --- a/algo/detectors/tof/ReadoutConfig.h +++ b/algo/detectors/tof/ReadoutConfig.h @@ -60,7 +60,7 @@ namespace cbm::algo::tof yaml::Property(&ReadoutSetup::asic2PadI, "asic2PadI", "Mapping in Readout chain PCBs; Map from GET4 channel to PADI channel (size: nChansPerFeb)" , YAML::Flow)); size_t NComponents() const { return eqIds.size(); } - size_t NCROBs() const { return crobs.size(); } + size_t NCrobs() const { return crobs.size(); } i32 NFebsPerCrob() const { return nFebsPerComponent / nCrobPerComponent; } i32 NChansPerFeb() const { return nAsicsPerFeb * nChannelsPerAsic; } i32 NChansPerComponent() const { return nChannelsPerAsic * NElinksPerComponent(); }