diff --git a/Tr/TrackMonitors/src/UTGlobalEffMon.cpp b/Tr/TrackMonitors/src/UTGlobalEffMon.cpp old mode 100755 new mode 100644 index 0834972a01a26fb96d32c8a18fac67aef8095e5e..0246509cbdbaec66025aecd13ee7219e19821dfd --- a/Tr/TrackMonitors/src/UTGlobalEffMon.cpp +++ b/Tr/TrackMonitors/src/UTGlobalEffMon.cpp @@ -46,8 +46,9 @@ class Mutable { mutable T m_t; public: - template <typename... Args> requires std::is_constructible_v<T,Args...> - Mutable( Args&&... args ) : m_t{ std::forward<Args>(args)... } {} + template <typename... Args> + requires std::is_constructible_v<T, Args...> + Mutable( Args&&... args ) : m_t{ std::forward<Args>( args )... } {} template <typename Arg> decltype( auto ) operator[]( Arg&& arg ) const { @@ -72,7 +73,7 @@ namespace { }; auto TrackBackwardPredicate = []( const LHCb::Track* track ) { return track->isVeloBackward(); }; - + auto TrackForwardPredicate = []() { return [=]( const LHCb::Track* track ) { return !track->isVeloBackward(); }; }; auto TrackVeloSidePredicate = []( int asign ) { @@ -285,7 +286,7 @@ void UTGlobalEffMon<TFitResult, TNode>::operator()( LHCb::Track::Range const& tr ++nlay; UInt_t _mo = ( _tr2ut0 >> 10 ) & 7; UInt_t _st = ( _tr2ut0 >> 14 ) & 15; - bool inner = ( _st == 0 ) && ( _mo == 3 || _mo == 4 ); + bool inner = ( _st == 0 ) && ( _mo == 3 || _mo == 4 ); if ( inner ) { ++m_h_residual_inner[_tr2utr0]; ++m_h_residualpull_inner[_tr2utchi0];