Commit aee412c4 authored by Christoph Hasse's avatar Christoph Hasse 🤸🏻
Browse files

Merge branch 'chasse_align_opt_dbg' into 'master'

fix: do not automatically enable timing in dbg builds

See merge request !991
parents 21817c87 d70d3ee0
Pipeline #3067148 passed with stage
in 15 seconds
......@@ -38,14 +38,7 @@ ParticleTransporter::ParticleTransporter( const std::string& type, const std::st
, m_ppSvc( NULL )
, m_particle2State( NULL )
, m_eID( 0 )
//
#ifndef NDEBUG
, m_timing( true )
#else
, m_timing( false )
#endif
//
{
, m_timing( false ) {
//
if ( std::string::npos != name.find( "Master" ) ) {
m_trackExtrapolatorName = "TrackMasterExtrapolator:PUBLIC";
......
......@@ -127,11 +127,7 @@ DaVinci::ParticleTransporter::ParticleTransporter( const std::string& type, // t
, m_extrapolator2name( "TrackRungeKuttaExtrapolator:PUBLIC" )
, m_region( -1000 * Gaudi::Units::cm, 1000 * Gaudi::Units::cm )
, m_interpolateOnlyLongTracks( false )
#ifndef NDEBUG
, m_timing( true )
#else
, m_timing( false )
#endif
, m_stateprovider( 0 )
, m_particle2state( 0 )
, m_extrapolator1( 0 )
......
......@@ -32,18 +32,7 @@
// Standard constructor, initializes variables
// ============================================================================
LoKi::MessagingBase::MessagingBase( const std::string& type, const std::string& name, const IInterface* parent )
: GaudiTool( type, name, parent )
, m_myAlg()
, m_printMyAlg( false )
, m_prints( 2 )
//
#ifndef NDEBUG
, m_timing( true )
#else
, m_timing( false )
#endif
//
{
: GaudiTool( type, name, parent ), m_myAlg(), m_printMyAlg( false ), m_prints( 2 ), m_timing( false ) {
//
declareProperty( "PrintMyAlg", m_printMyAlg, "Print the name of ``associated'' algorithm" );
declareProperty( "MaxPrints", m_prints, "Maximum number of prints" );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment