ATLAS Offline Software
EventViewCreatorAlgorithm.icc
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 inline SmartIF<IScheduler> EventViewCreatorAlgorithm::getScheduler() const {
6  return svcLoc()->service<IScheduler>(m_schedulerName, false);
7 }
8 
9 // NOTE: This is TODO
10 
11 // template<class OBJECT>
12 // StatusCode EventViewCreatorAlgorithm::placeFeatureInView( const OBJECT* theObject, SG::View* view, const EventContext& context ) const {
13 // ATH_MSG_ALWAYS( "Adding Feature of type " << ClassID_traits<OBJECT>::typeName() << " To View : " << m_inViewFeatureKey.key() );
14 // auto oneObjectCollection = std::make_unique< ConstDataVector< OBJECT > >();
15 // oneObjectCollection->clear( SG::VIEW_ELEMENTS );
16 // oneObjectCollection->push_back( theObject );
17 
18 // //store in the view
19 // auto handle = SG::makeHandle( m_inViewFeatureKey,context );
20 // ATH_CHECK( handle.setProxyDict( view ) );
21 // ATH_CHECK( handle.record( std::move( oneObjectCollection ) ) );
22 // return StatusCode::SUCCESS;
23 // }
24 
25