ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoop
Root
BaseManager.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
//
10
// includes
11
//
12
13
#include <
EventLoop/BaseManager.h
>
14
15
#include <
AsgMessaging/StatusCode.h
>
16
#include <
EventLoop/ManagerData.h
>
17
#include <
EventLoop/ManagerOrder.h
>
18
#include <
EventLoop/MessageCheck.h
>
19
#include <
RootCoreUtils/Assert.h
>
20
#include <TSystem.h>
21
22
using namespace
EL::msgEventLoop;
23
24
//
25
// method implementations
26
//
27
28
namespace
EL
29
{
30
namespace
Detail
31
{
32
std::pair<Detail::ManagerOrder,std::string> BaseManager ::
33
getManagerOrder ()
const
noexcept
34
{
35
return
std::make_pair (
ManagerOrder::BASE
,
""
);
36
}
37
38
39
40
::StatusCode
BaseManager ::
41
doManagerStep (
Detail::ManagerData
& data)
const
42
{
43
switch
(data.step)
44
{
45
case
Detail::ManagerStep::initial
:
46
// normally this should get overriden by the operation
47
// manager, but this is a safety fallback in case the
48
// operation doesn't do that, leaving us with nothing
49
// happening
50
data.nextStep =
ManagerStep::final
;
51
break
;
52
53
case
Detail::ManagerStep::final
:
54
ANA_MSG_INFO
(
"done"
);
55
break
;
56
57
default
:
58
break
;
59
}
60
return ::StatusCode::SUCCESS;
61
}
62
}
63
}
Assert.h
BaseManager.h
ANA_MSG_INFO
#define ANA_MSG_INFO(xmsg)
Macro printing info messages.
Definition
Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:290
StatusCode.h
ManagerData.h
ManagerOrder.h
MessageCheck.h
const
EL::Detail
Definition
AsgComponentFactories.h:20
EL::Detail::ManagerStep::final
@ final
Definition
ManagerStep.h:136
EL::Detail::ManagerStep::initial
@ initial
this is just the initial step we do, nothing really happens here
Definition
ManagerStep.h:45
EL::Detail::ManagerOrder::BASE
@ BASE
the most basic operations, common for all tasks
Definition
ManagerOrder.h:29
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
EL::Detail::ManagerData
an internal data structure for passing data between different manager objects anbd step
Definition
ManagerData.h:46
Generated on
for ATLAS Offline Software by
1.17.0