Skip to content
Snippets Groups Projects
Commit 6ff4ef84 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

DataModelTestDataCommon: Add DEBUG printout to CondAlgs

Add a DEBUG printout in the CondAlg's execute method. Useful for
debugging.
parent 2b00c768
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,8 @@ StatusCode CondAlg1::execute (const EventContext& ctx) const ...@@ -59,6 +59,8 @@ StatusCode CondAlg1::execute (const EventContext& ctx) const
auto s2 = std::make_unique<DMTest::S2> (xint*100); auto s2 = std::make_unique<DMTest::S2> (xint*100);
ATH_CHECK( scond.record (range, std::move(s2) ) ); ATH_CHECK( scond.record (range, std::move(s2) ) );
ATH_MSG_DEBUG("Recorded '" << scond.key() << "' with range " << range);
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
} }
......
/* /*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/ */
/* /*
*/ */
...@@ -82,6 +82,8 @@ StatusCode CondAlg2::execute (const EventContext& ctx) const ...@@ -82,6 +82,8 @@ StatusCode CondAlg2::execute (const EventContext& ctx) const
auto s3 = std::make_unique<DMTest::S3> (xint_rl + xint_ts); auto s3 = std::make_unique<DMTest::S3> (xint_rl + xint_ts);
ATH_CHECK( out.record (range, std::move(s3)) ); ATH_CHECK( out.record (range, std::move(s3)) );
ATH_MSG_DEBUG("Recorded '" << out.key() << "' with range " << range);
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment