ATLAS Offline Software
BatchInputModule.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__BATCH_INPUT_MODULE_H
9 #define EVENT_LOOP__BATCH_INPUT_MODULE_H
10 
11 #include <EventLoop/Module.h>
12 #include <cstdint>
13 #include <optional>
14 
15 namespace EL
16 {
17  struct BatchSample;
18  struct BatchSegment;
19 
20  namespace Detail
21  {
23 
24  class BatchInputModule final : public Module
25  {
28 
29  public:
30 
31  using Module::Module;
32 
33  BatchSample *sample = nullptr;
34  BatchSegment *segment = nullptr;
35  std::optional<uint64_t> maxEvents;
36 
37 
38 
41 
42  public:
43 
45  };
46  }
47 }
48 
49 #endif
EL::Detail::BatchInputModule::sample
BatchSample * sample
Definition: BatchInputModule.h:33
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
EL::Detail::BatchInputModule::maxEvents
std::optional< uint64_t > maxEvents
Definition: BatchInputModule.h:35
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition: ModuleData.h:64
EL::BatchSample
Definition: BatchSample.h:32
Module.h
EL::Detail::ManagerStep::final
@ final
EL::BatchSegment
Definition: BatchSegment.h:31
EL::Detail::BatchInputModule::processInputs
StatusCode processInputs(ModuleData &data, IInputModuleActions &actions) override
Definition: BatchInputModule.cxx:29
EL::Detail::Module
the base class for EventLoop instrumentation module
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Module.h:40
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
EL::Detail::BatchInputModule
the IInputModule implementation for the batch driver
Definition: BatchInputModule.h:25
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
EL::Detail::BatchInputModule::segment
BatchSegment * segment
Definition: BatchInputModule.h:34
EL::Detail::IInputModuleActions
the actions that Module::processInputs can perform
Definition: IInputModuleActions.h:42