|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifdef XAOD_STANDALONE
15 #endif // XAOD_STANDALONE
20 : m_pevm( pevm ), m_ptds( ptds ) {
48 return StatusCode::SUCCESS;
56 std::cout << ERROR_SOURCE <<
"Couldn't find an active event in "
57 <<
"the job" << std::endl;
58 return StatusCode::FAILURE;
64 std::cout << ERROR_SOURCE <<
"The active event is not of type "
65 <<
"xAOD::TEvent?!?" << std::endl;
66 return StatusCode::FAILURE;
74 std::cout <<
"asg::SgTEvent WARNING "
75 <<
"No xAOD::TStore object is available" << std::endl;
80 return StatusCode::SUCCESS;
StatusCode initialize() const
Function initialising the object.
Base interface for getting objects out of the input file.
xAOD::TStore * tds() const
Return the underlying transient data store.
static TStore * store()
Access the currently active TStore object.
static TVirtualEvent * event()
Access the currently active TVirtualEvent object.
::StatusCode StatusCode
StatusCode definition for legacy code.
xAOD::TEvent * m_pevm
Pointer to the TEvent that this object interacts with.
xAOD::TStore * m_ptds
Pointer to the TStore that this object interacts with.
SgTEvent(xAOD::TEvent *pevm=0, xAOD::TStore *ptds=0)
Constructor specifying concrete TEvent and TStore objects.
A relatively simple transient store for objects created in analysis.
xAOD::TEvent * event() const
Return the underlying event manager.
Tool for accessing xAOD files outside of Athena.