From 9e046b3dd678f8525ccdd331ff279a21a73968d7 Mon Sep 17 00:00:00 2001 From: Alexandru Bercuci <abercuci@niham.nipne.ro> Date: Fri, 18 Feb 2022 11:24:43 +0200 Subject: [PATCH] fix naming in various print-outs --- core/data/trd/CbmTrdDigi.cxx | 2 +- reco/detectors/trd/CbmTrdHitProducer.cxx | 4 ++-- reco/detectors/trd/CbmTrdModuleRec2D.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/data/trd/CbmTrdDigi.cxx b/core/data/trd/CbmTrdDigi.cxx index 4b8b11863f..442d0f1861 100644 --- a/core/data/trd/CbmTrdDigi.cxx +++ b/core/data/trd/CbmTrdDigi.cxx @@ -298,7 +298,7 @@ void CbmTrdDigi::SetTriggerType(const int32_t ttype) string CbmTrdDigi::ToString() const { stringstream ss; - ss << "CbmTrdDigi(" << (GetType() == eCbmTrdAsicType::kFASP ? "T)" : "R)") + ss << "CbmTrdDigi(" << (GetType() == eCbmTrdAsicType::kFASP ? "F)" : "S)") << " | moduleAddress=" << GetAddressModule() << " | layer=" << Layer() << " | moduleId=" << Module() << " | pad=" << GetAddressChannel() << " | time[ns]=" << std::fixed << std::setprecision(1) << GetTime(); if (GetType() == eCbmTrdAsicType::kFASP) { diff --git a/reco/detectors/trd/CbmTrdHitProducer.cxx b/reco/detectors/trd/CbmTrdHitProducer.cxx index 4ce3b06b93..55f76f1360 100644 --- a/reco/detectors/trd/CbmTrdHitProducer.cxx +++ b/reco/detectors/trd/CbmTrdHitProducer.cxx @@ -94,8 +94,8 @@ CbmTrdModuleRec* CbmTrdHitProducer::AddModule(Int_t address, TGeoPhysicalNode* n << moduleAddress << ". Module init failed!"; return NULL; } - LOG(debug) << GetName() << "::AddModule(" << node->GetName() << " " << (moduleType < 9 ? 'R' : 'T') << "] mod[" - << moduleAddress << "] ly[" << lyId << "] det[" << moduleAddress << "]"; + LOG(info) << GetName() << "::AddModule(" << node->GetName() << " " << (moduleType < 9 ? '1' : '2') << "D] mod[" + << moduleAddress << "] ly[" << lyId << "] det[" << moduleAddress << "]"; CbmTrdModuleRec* module(nullptr); if (moduleType >= 9) { module = fModules[address] = new CbmTrdModuleRec2D(address); } diff --git a/reco/detectors/trd/CbmTrdModuleRec2D.cxx b/reco/detectors/trd/CbmTrdModuleRec2D.cxx index 7c0d55b96b..d4d6660a55 100644 --- a/reco/detectors/trd/CbmTrdModuleRec2D.cxx +++ b/reco/detectors/trd/CbmTrdModuleRec2D.cxx @@ -775,7 +775,7 @@ CbmTrdHit* CbmTrdModuleRec2D::MakeHit(Int_t ic, const CbmTrdCluster* cl, std::ve LOG(debug) << GetName() << "::MakeHit: Hybrid cluster SPADIC/Trd2d. Skipped for the moment."; // std::cout << cl->ToString(); return nullptr; - } + } //printf("%s (%s)\n", GetName(), GetTitle()); Config(1,0); if (!fgEdep) { // first use initialization of PRF helppers -- GitLab