ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoop
Root
ModuleData.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
//
10
// includes
11
//
12
13
#include <
EventLoop/ModuleData.h
>
14
15
#include <
EventLoop/OutputStreamData.h
>
16
#include <
RootCoreUtils/Assert.h
>
17
#include <TTree.h>
18
19
//
20
// method implementations
21
//
22
23
namespace
EL
24
{
25
namespace
Detail
26
{
27
ModuleData :: ModuleData () noexcept = default;
28
29
ModuleData
:: ~
ModuleData
() noexcept = default;
30
31
32
33
void
ModuleData
::
34
addOutput
(
std
::
unique_ptr
<TObject> output)
35
{
36
RCU_ASSERT
(
m_histOutput
!=
nullptr
);
37
m_histOutput
->addOutput (std::move (output));
38
}
39
}
40
}
Assert.h
RCU_ASSERT
#define RCU_ASSERT(x)
Definition
Assert.h:210
ModuleData.h
OutputStreamData.h
unique_ptr
STL class.
EL::Detail
Definition
AsgComponentFactories.h:20
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
std
STL namespace.
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition
ModuleData.h:65
EL::Detail::ModuleData::m_histOutput
OutputStreamData * m_histOutput
the histogram output stream
Definition
ModuleData.h:95
EL::Detail::ModuleData::addOutput
void addOutput(std::unique_ptr< TObject > output)
add the given output object to the histogram output stream
Definition
ModuleData.cxx:34
EL::Detail::ModuleData::ModuleData
ModuleData() noexcept
explicit constructor for dependency reduction
Generated on
for ATLAS Offline Software by
1.17.0