ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthenaServices
src
ClearStorePolicy.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ClearStorePolicy.h
"
6
7
ClearStorePolicy::Type
clearStorePolicy
(
const
std::string& policyName,
8
MsgStream&
msg
)
9
{
10
if
(
"BeginEvent"
== policyName ) {
return
ClearStorePolicy::BeginEvent
;
11
}
else
if
(
"EndEvent"
== policyName ) {
return
ClearStorePolicy::EndEvent
;
12
}
else
{
13
msg
<< MSG::WARNING
14
<<
"Unknown policy ["
<< policyName <<
"] for the 'clear-store' "
15
<<
"policy !! We'll use 'BeginEvent' instead !!"
16
<<
endmsg
;
17
return
ClearStorePolicy::BeginEvent
;
18
}
19
}
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:63
clearStorePolicy
ClearStorePolicy::Type clearStorePolicy(const std::string &policyName, MsgStream &msg)
returns the enum-version of the policy (by name)
Definition
ClearStorePolicy.cxx:7
ClearStorePolicy.h
ClearStorePolicy::Type
Type
Definition
ClearStorePolicy.h:13
ClearStorePolicy::BeginEvent
@ BeginEvent
Definition
ClearStorePolicy.h:14
ClearStorePolicy::EndEvent
@ EndEvent
Definition
ClearStorePolicy.h:15
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.14.0