Skip to content

Commit af3e5d5

Browse files
Maciej Slupeckishahor02
authored andcommitted
[O2-2538][FV0] Reduce excessive log printout of FV0 digitizer
1 parent ad55352 commit af3e5d5

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

Detectors/FIT/FV0/simulation/src/Digitizer.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void Digitizer::clear()
3737
//_______________________________________________________________________
3838
void Digitizer::init()
3939
{
40-
LOG(INFO) << "V0Digitizer::init -> start = ";
40+
LOG(INFO) << "init";
4141
mNBins = FV0DigParam::Instance().waveformNbins; //Will be computed using detector set-up from CDB
4242
mBinSize = FV0DigParam::Instance().waveformBinWidth; //Will be set-up from CDB
4343
mNTimeBinsPerBC = std::lround(o2::constants::lhc::LHCBunchSpacingNS / mBinSize); // 1920 bins/BC
@@ -77,7 +77,7 @@ void Digitizer::init()
7777
}
7878
mLastBCCache.clear();
7979
mCfdStartIndex.fill(0);
80-
LOG(INFO) << "V0Digitizer::init -> finished";
80+
LOG(INFO) << "init -> finished";
8181
}
8282

8383
void Digitizer::process(const std::vector<o2::fv0::Hit>& hits,
@@ -86,7 +86,7 @@ void Digitizer::process(const std::vector<o2::fv0::Hit>& hits,
8686
std::vector<o2::fv0::DetTrigInput>& digitsTrig,
8787
o2::dataformats::MCTruthContainer<o2::fv0::MCLabel>& labels)
8888
{
89-
LOG(INFO) << "[FV0] Digitizer::process(): begin with " << hits.size() << " hits";
89+
LOG(DEBUG) << "Begin with " << hits.size() << " hits";
9090
flush(digitsBC, digitsCh, digitsTrig, labels); // flush cached signal which cannot be affect by new event
9191

9292
std::vector<int> hitIdx(hits.size());

Steer/DigitizerWorkflow/src/FV0DigitizerSpec.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class FV0DPLDigitizerTask : public o2::base::BaseDPLDigitizer
4949

5050
void initDigitizerTask(framework::InitContext& ic) override
5151
{
52-
LOG(INFO) << "FV0DPLDigitizerTask:init";
52+
LOG(DEBUG) << "FV0DPLDigitizerTask:init";
5353
mDigitizer.init();
5454
mDisableQED = ic.options().get<bool>("disable-qed"); //TODO: QED implementation to be tested
5555
}
@@ -59,7 +59,7 @@ class FV0DPLDigitizerTask : public o2::base::BaseDPLDigitizer
5959
if (mFinished) {
6060
return;
6161
}
62-
LOG(INFO) << "FV0DPLDigitizerTask:run";
62+
LOG(DEBUG) << "FV0DPLDigitizerTask:run";
6363

6464
// read collision context from input
6565
auto context = pc.inputs().get<o2::steer::DigitizationContext*>("collisioncontext");
@@ -83,14 +83,14 @@ class FV0DPLDigitizerTask : public o2::base::BaseDPLDigitizer
8383
for (auto& part : eventParts[collID]) {
8484
hits.clear();
8585
context->retrieveHits(mSimChains, "FV0Hit", part.sourceID, part.entryID, &hits);
86-
LOG(INFO) << "[FV0] For collision " << collID << " eventID " << part.entryID << " found " << hits.size() << " hits ";
86+
LOG(DEBUG) << "[FV0] For collision " << collID << " eventID " << part.entryID << " found " << hits.size() << " hits ";
8787

8888
// call actual digitization procedure
8989
mDigitizer.setEventId(part.entryID);
9090
mDigitizer.setSrcId(part.sourceID);
9191
mDigitizer.process(hits, mDigitsBC, mDigitsCh, mDigitsTrig, mLabels);
9292
}
93-
LOG(INFO) << "[FV0] Has " << mDigitsBC.size() << " BC elements, " << mDigitsCh.size() << " mDigitsCh elements";
93+
LOG(DEBUG) << "[FV0] Has " << mDigitsBC.size() << " BC elements, " << mDigitsCh.size() << " mDigitsCh elements";
9494
}
9595

9696
o2::InteractionTimeRecord terminateIR;

0 commit comments

Comments
 (0)