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  Gaudi::Property<int> jobId {this, "jobId", -1,
34  "the id/index of the subjob we are processing"};
35  Gaudi::Property<std::int64_t> maxEvents {this, "maxEvents", -1,
36  "the maximum number of events to process (-1 means all)"};
37 
38 
39 
42 
43  public:
44 
46  };
47  }
48 }
49 
50 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition: ModuleData.h:64
Module.h
EL::Detail::BatchInputModule::jobId
Gaudi::Property< int > jobId
Definition: BatchInputModule.h:33
EL::Detail::BatchInputModule::processInputs
StatusCode processInputs(ModuleData &data, IInputModuleActions &actions) override
Definition: BatchInputModule.cxx:31
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: AsgComponentFactories.h:16
EL::Detail::BatchInputModule
the IInputModule implementation for the batch driver
Definition: BatchInputModule.h:25
columnar::final
CM final
Definition: ColumnAccessor.h:106
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
EL::Detail::IInputModuleActions
the actions that Module::processInputs can perform
Definition: IInputModuleActions.h:42
EL::Detail::BatchInputModule::maxEvents
Gaudi::Property< std::int64_t > maxEvents
Definition: BatchInputModule.h:35