|
ATLAS Offline Software
|
Go to the documentation of this file.
59 return StatusCode::FAILURE;
61 if (
data.m_tevent !=
nullptr ||
data.m_tstore !=
nullptr)
64 return StatusCode::FAILURE;
67 std::string modeStr =
data.m_metaData->castString
81 return StatusCode::FAILURE;
104 if (!
data.m_inputFile)
106 ANA_MSG_ERROR (
"File is not available during initialization?!?");
107 return StatusCode::FAILURE;
115 return StatusCode::SUCCESS;
126 std::unique_ptr<xAOD::ReadStats>
stats
132 data.m_evtStore =
nullptr;
133 data.m_tevent =
nullptr;
134 data.m_tstore =
nullptr;
138 return StatusCode::SUCCESS;
149 return StatusCode::FAILURE;
155 return StatusCode::FAILURE;
158 return StatusCode::SUCCESS;
169 return StatusCode::FAILURE;
172 return StatusCode::SUCCESS;
183 return StatusCode::SUCCESS;
char data[hepevt_bytes_allocation_ATLAS]
virtual StatusCode onExecute(ModuleData &data) override
actions just before execute is called on algorithms
static const std::string optXaodAccessMode
description: the option to select the access mode for xAODs.
void start(bool clear=true)
Start the statistics collection.
the data the EventLoop core classes are sharing with the Module implementation
~TEventModule()
effects: standard destructor.
virtual StatusCode onInitialize(ModuleData &data) override
action just before algorithms are initialized
@ kAthenaAccess
Access containers/objects like Athena does.
static void enableDataSubmission(::Bool_t value)
Function for turning data submission on/off.
virtual StatusCode postFinalize(ModuleData &data) override
actions after algorithms have been finalized
static const std::string optXaodAccessMode_class
@ kClassAccess
Access auxiliary data using the aux containers.
static const std::string optXAODSummaryReport
the option to turn on/off the xAOD summary reporting at the end of the job
virtual StatusCode postCloseInputFile(ModuleData &data) override
actions after CloseInputFile is called on the algorithms
std::unique_ptr< asg::SgTEvent > m_evtStore
std::unique_ptr< xAOD::TEvent > m_event
description: the event structure used
the base class for EventLoop instrumentation module
::StatusCode StatusCode
StatusCode definition for legacy code.
static const std::string optXAODPerfStats
description: the name of the option for turning on XAODPerfStats.
virtual StatusCode onNewInputFile(ModuleData &data) override
actions after opening a new input file
This module defines the arguments passed from the BATCH driver to the BATCH worker.
std::unique_ptr< xAOD::TStore > m_store
static IOStats & instance()
Singleton object accessor.
static const std::string optXaodAccessMode_branch
static PerfStats & instance()
Function accessing the singleton instance.
EAuxMode
Auxiliary store "mode".
A relatively simple transient store for objects created in analysis.
static const std::string optXaodAccessMode_athena
void stop()
Stop the statistics collection.
@ kBranchAccess
Access auxiliary data branch-by-branch.
#define RCU_THROW_MSG(message)
Class describing the access statistics of a collection of branches.
Tool for accessing xAOD files outside of Athena.
static const std::string optXAODReadStats
description: the name of the XAODPerfStats object produced as I gather it, as well as the name of the...
TEventModule(const std::string &name)
effects: standard constructor.
bool m_useStats
description: whether we collect D3PDPerfStats statistics