ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
17#include <TTree.h>
18
19//
20// method implementations
21//
22
23namespace 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}
#define RCU_ASSERT(x)
Definition Assert.h:222
STL class.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
STL namespace.
the data the EventLoop core classes are sharing with the Module implementation
Definition ModuleData.h:64
OutputStreamData * m_histOutput
the histogram output stream
Definition ModuleData.h:91
void addOutput(std::unique_ptr< TObject > output)
add the given output object to the histogram output stream
ModuleData() noexcept
explicit constructor for dependency reduction