ATLAS Offline Software
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 
28  {
30  std::unique_ptr<IAlgorithmWrapper> m_algorithm;
31 
34 
38 
39 
40  AlgorithmData () = default;
41 
42  AlgorithmData (std::unique_ptr<IAlgorithmWrapper> val_algorithm);
43 
44  AlgorithmData (AlgorithmData&& that) = default;
45 
46  ~AlgorithmData () noexcept;
47 
48  inline IAlgorithmWrapper *operator -> () {return m_algorithm.get();};
49 
50  inline const IAlgorithmWrapper *operator -> () const {return m_algorithm.get();};
51  };
52  }
53 }
54 
55 #endif
EL::Detail::AlgorithmData::~AlgorithmData
~AlgorithmData() noexcept
Definition: AlgorithmData.cxx:31
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
all the data a worker tracks for an individual algorithm
Definition: AlgorithmData.h:28
EL::Detail::ManagerStep::final
@ final
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::AlgorithmData
AlgorithmData()=default
EL::Detail::AlgorithmData::AlgorithmData
AlgorithmData(AlgorithmData &&that)=default
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
EL::Detail::AlgorithmData::operator->
IAlgorithmWrapper * operator->()
Definition: AlgorithmData.h:48
Global.h
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
EL::IAlgorithmWrapper
a wrapper around a generic algorithm for use within EventLoop
Definition: IAlgorithmWrapper.h:48
Global.h
EL::Detail::AlgorithmData::m_algorithm
std::unique_ptr< IAlgorithmWrapper > m_algorithm
the algorithm we use
Definition: AlgorithmData.h:30