|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef STANDALONEANALYSISALGORITHMS_XAODWRITERALG_H
6 #define STANDALONEANALYSISALGORITHMS_XAODWRITERALG_H
57 Gaudi::Property<std::string>
m_outputStreamName {
this,
"OutputStreamName",
"ANALYSIS",
"Stream name of the output file to use"};
59 Gaudi::Property<std::vector<std::string>>
m_itemList {
this,
"ItemList", {},
"Objects to write to the output file"};
61 Gaudi::Property<int>
m_basketSize {
this,
"BasketSize", 32000,
"(Starter) Basket size for the created branches"};
63 Gaudi::Property<int>
m_splitLevel {
this,
"SplitLevel", 0,
"Split level for the created branches"};
72 const std::type_info*
type;
92 #endif // STANDALONEANALYSISALGORITHMS_XAODWRITERALG_H
StatusCode setup()
Function setting up the algorithm while processing the first event.
StatusCode initialize() override
Function initialising the algorithm.
a class managing the property to configure the list of systematics to process
std::vector< Item > m_writtenItemList
Item list being written after the first event.
Gaudi::Property< int > m_basketSize
(Starter) Basket size for the created branches
std::string typeName
Type name of the written object.
bool m_itemListInitialized
Internal flag.
xAOD::TEvent m_event
Object to write the output file with.
Select isolated Photons, Electrons and Muons.
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
const std::type_info * type
Type of the written object.
the (new) base class for EventLoop algorithms
Gaudi::Property< int > m_splitLevel
Split level for the created branches.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string name
Name of the written object.
Algorithm writing an xAOD output file.
Gaudi::Property< std::string > m_outputStreamName
Name of the output stream to write to.
SysListHandle m_systematicsList
The systematic list to consider during execution.
StatusCode execute() override
Function executing the algorithm.
Gaudi::Property< std::vector< std::string > > m_itemList
Item list to write to the output file.
StatusCode finalize() override
Function finalising the algorithm.
Tool for accessing xAOD files outside of Athena.