ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoop
EventLoop
IInputModuleActions.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef EVENT_LOOP__I_INPUT_MODULE_ACTIONS_H
9
#define EVENT_LOOP__I_INPUT_MODULE_ACTIONS_H
10
11
#include <Rtypes.h>
12
#include <optional>
13
#include <string>
14
15
class
StatusCode
;
16
17
namespace
EL
18
{
19
struct
EventRange
;
20
21
namespace
Detail
22
{
23
struct
ModuleData
;
24
25
40
41
class
IInputModuleActions
42
{
43
public
:
44
46
virtual
~IInputModuleActions
() noexcept = default;
47
48
59
virtual ::
StatusCode
processEvents
(
EventRange
& eventRange) = 0;
60
61
72
virtual ::
StatusCode
openInputFile
(
const
std
::
string
& inputFileUrl) = 0;
73
74
77
[[nodiscard]] virtual Long64_t
inputFileNumEntries
()
const
= 0;
78
};
79
}
80
}
81
82
#endif
EL::Detail::IInputModuleActions
the actions that Module::processInputs can perform
Definition
IInputModuleActions.h:42
EL::Detail::IInputModuleActions::processEvents
virtual::StatusCode processEvents(EventRange &eventRange)=0
process the given event range
EL::Detail::IInputModuleActions::~IInputModuleActions
virtual ~IInputModuleActions() noexcept=default
standard virtual destructor
EL::Detail::IInputModuleActions::openInputFile
virtual::StatusCode openInputFile(const std::string &inputFileUrl)=0
open the given input file without processing it
EL::Detail::IInputModuleActions::inputFileNumEntries
virtual Long64_t inputFileNumEntries() const =0
the number of events in the input file
const
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
std
STL namespace.
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition
ModuleData.h:65
EL::EventRange
a range of events in a given file
Definition
EventRange.h:22
Generated on
for ATLAS Offline Software by
1.17.0