ATLAS Offline Software
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 
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::processEvents
virtual ::StatusCode processEvents(EventRange &eventRange)=0
process the given event range
EL::Detail::IInputModuleActions::inputFileNumEntries
virtual Long64_t inputFileNumEntries() const =0
the number of events in the input file
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
EL::Detail::IInputModuleActions::~IInputModuleActions
virtual ~IInputModuleActions() noexcept=default
standard virtual destructor
EL::Detail::IInputModuleActions
the actions that Module::processInputs can perform
Definition: IInputModuleActions.h:42
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
EL::EventRange
a range of events in a given file
Definition: EventRange.h:22
EL::Detail::IInputModuleActions::openInputFile
virtual ::StatusCode openInputFile(const std::string &inputFileUrl)=0
open the given input file without processing it