ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoop
EventLoop
AlgorithmData.h
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
#ifndef EVENT_LOOP__ALGORITHM_DATA_H
10
#define EVENT_LOOP__ALGORITHM_DATA_H
11
12
#include <
EventLoop/Global.h
>
13
14
#include <
AnaAlgorithm/Global.h
>
15
#include <cstdint>
16
#include <memory>
17
18
namespace
EL
19
{
20
namespace
Detail
21
{
26
27
struct
AlgorithmData
final
28
{
30
std::unique_ptr<IAlgorithmWrapper>
m_algorithm
;
31
33
uint64_t
m_executeCount
{0};
34
37
uint64_t
m_skipCount
{0};
38
44
bool
m_sequenceStart
{
false
};
45
52
bool
m_wasSkipped
{
false
};
53
54
55
AlgorithmData
() =
default
;
56
57
AlgorithmData
(std::unique_ptr<IAlgorithmWrapper> val_algorithm);
58
59
AlgorithmData
(
AlgorithmData
&& that) =
default
;
60
61
~AlgorithmData
() noexcept;
62
63
inline
IAlgorithmWrapper
*operator -> () {
return
m_algorithm
.get();};
64
65
inline
const
IAlgorithmWrapper
*
operator ->
()
const
{
return
m_algorithm
.get();};
66
};
67
}
68
}
69
70
#endif
Global.h
Global.h
EL::IAlgorithmWrapper
a wrapper around a generic algorithm for use within EventLoop
Definition
IAlgorithmWrapper.h:50
EL::Detail
Definition
AsgComponentFactories.h:20
EL::Detail::ManagerStep::final
@ final
Definition
ManagerStep.h:136
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
EL::Detail::AlgorithmData::m_executeCount
uint64_t m_executeCount
the number of times this algorithm has been called
Definition
AlgorithmData.h:33
EL::Detail::AlgorithmData::operator->
IAlgorithmWrapper * operator->()
Definition
AlgorithmData.h:63
EL::Detail::AlgorithmData::m_algorithm
std::unique_ptr< IAlgorithmWrapper > m_algorithm
the algorithm we use
Definition
AlgorithmData.h:30
EL::Detail::AlgorithmData::AlgorithmData
AlgorithmData(AlgorithmData &&that)=default
EL::Detail::AlgorithmData::~AlgorithmData
~AlgorithmData() noexcept
Definition
AlgorithmData.cxx:31
EL::Detail::AlgorithmData::m_skipCount
uint64_t m_skipCount
the number of times this algorithm has asked to skip this event
Definition
AlgorithmData.h:37
EL::Detail::AlgorithmData::m_sequenceStart
bool m_sequenceStart
whether this algorithm starts a new logical sequence
Definition
AlgorithmData.h:44
EL::Detail::AlgorithmData::m_wasSkipped
bool m_wasSkipped
whether this algorithm was skipped during the execute pass
Definition
AlgorithmData.h:52
EL::Detail::AlgorithmData::AlgorithmData
AlgorithmData()=default
Generated on
for ATLAS Offline Software by
1.17.0