ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SelectionHelpers
SelectionHelpers
SysWriteSelectionHandle.icc
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/// @author Nils Krumnack
6
7
8
//
9
// method implementations
10
//
11
12
namespace CP
13
{
14
template<typename T2> SysWriteSelectionHandle ::
15
SysWriteSelectionHandle (T2 *owner, const std::string& propertyName,
16
const std::string& propertyValue,
17
const std::string& propertyDescription)
18
: AsgMessagingForward (owner), m_selection (propertyValue)
19
{
20
owner->declareProperty (propertyName, m_selection, propertyDescription);
21
}
22
23
24
25
inline void SysWriteSelectionHandle ::
26
setBits (const SG::AuxElement& element,
27
SelectionType selection,
28
const CP::SystematicSet& sys) const
29
{
30
assert (m_accessor);
31
return m_accessor->setBits (element, selection, &sys);
32
}
33
34
35
36
inline void SysWriteSelectionHandle ::
37
setBool (const SG::AuxElement& element,
38
bool selection,
39
const CP::SystematicSet& sys) const
40
{
41
assert (m_accessor);
42
return m_accessor->setBool (element, selection, &sys);
43
}
44
}
Generated on
for ATLAS Offline Software by
1.17.0