From c259bd7e1d5fbb36d440c7d99f016186d3297e9a Mon Sep 17 00:00:00 2001 From: ibelyaev <Ivan.Belyaev@cern.ch> Date: Sat, 21 Jan 2017 19:19:16 +0100 Subject: [PATCH] Phys/DaVinciTrackScaler: Momentum scaling: take run number from ODIN --- Phys/DaVinciTrackScaling/src/TrackScaleState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Phys/DaVinciTrackScaling/src/TrackScaleState.cpp b/Phys/DaVinciTrackScaling/src/TrackScaleState.cpp index 91a39678b..684b3b81b 100755 --- a/Phys/DaVinciTrackScaling/src/TrackScaleState.cpp +++ b/Phys/DaVinciTrackScaling/src/TrackScaleState.cpp @@ -833,8 +833,8 @@ StatusCode TrackScaleState::execute () { return Warning ( "No tracks at location '" + m_input + "'" , StatusCode::SUCCESS ) ; } // /// perform the action for new run - // const LHCb::ODIN* odin = get<LHCb::ODIN>( evtSvc() , LHCb::ODINLocation::Default) ; - LHCb::RecHeader* odin = get<LHCb::RecHeader>(LHCb::ProcessHeaderLocation::Rec,false); + const LHCb::ODIN* odin = get<LHCb::ODIN>( evtSvc() , LHCb::ODINLocation::Default) ; + // LHCb::RecHeader* odin = get<LHCb::RecHeader>(LHCb::ProcessHeaderLocation::Rec,false); // if ( m_new_run || ( m_current_run != odin->runNumber () ) ) -- GitLab