Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
30 return StatusCode::SUCCESS;
37 return StatusCode::SUCCESS;
44 const EventContext& ctx = getContext();
48 if ( !digiStorePointer )
51 return StatusCode::FAILURE;
68 CHECK( firstHandleFiller.
record( std::make_unique< int >( 1 ) ) );
82 auto viewVector = std::make_unique< ViewContainer >();
83 for (
int viewIndex = 0; viewIndex <
m_viewNumber; ++viewIndex )
85 int sampleIndex = ( viewIndex + ctx.evt() + 37 ) % 100;
87 viewVector->push_back( digiView );
98 CHECK( outputViewHandle.
record( std::move( viewVector ) ) );
100 return StatusCode::SUCCESS;
DigiDemoSetupAlg()
Default constructor:
virtual StatusCode initialize()
ServiceHandle< IScheduler > m_scheduler
Containers.
Gaudi::Property< std::string > m_viewNodeName
Handle class for recording to StoreGate.
ServiceHandle< IProxyDict > m_digiStore
Gaudi::Property< std::string > m_viewBaseName
SG::WriteHandleKey< std::vector< int > > m_w_ints
virtual StatusCode setProxyDict(IProxyDict *store)
Explicitly set the event store.
virtual StatusCode execute()
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode scheduleViews(ViewContainer *viewVector, std::string const &nodeName, EventContext const &sourceContext, SmartIF< IScheduler > scheduler, bool reverseOrder=false)
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode finalize()
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual ~DigiDemoSetupAlg()
Destructor:
virtual bool isValid() override final
Can the handle be successfully dereferenced?
SG::WriteHandleKey< ViewContainer > m_w_views
Gaudi::Property< int > m_viewNumber
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Handle class for reading from StoreGate.
thread_local event_number_t eventIndex