ATLAS Offline Software
Loading...
Searching...
No Matches
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>
13#include <cstdint>
14#include <optional>
15
16namespace EL
17{
18 struct BatchSample;
19 struct BatchSegment;
20
21 namespace Detail
22 {
24
26 {
29
30 public:
31
32 using Module::Module;
33
34 Gaudi::Property<int> jobId {this, "jobId", -1,
35 "the id/index of the subjob we are processing"};
36 Gaudi::Property<std::int64_t> maxEvents {this, "maxEvents", -1,
37 "the maximum number of events to process (-1 means all)"};
38
39
40
43
44 public:
45
46 StatusCode processInputs (ModuleData& data, IInputModuleActions& actions) override;
47 };
48 }
49}
50
51#endif
the IInputModule implementation for the batch driver
Gaudi::Property< std::int64_t > maxEvents
StatusCode processInputs(ModuleData &data, IInputModuleActions &actions) override
Gaudi::Property< int > jobId
the actions that Module::processInputs can perform
the base class for EventLoop instrumentation module
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
the data the EventLoop core classes are sharing with the Module implementation
Definition ModuleData.h:64