2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 /// @author Nils Krumnack
12 #include <SelectionHelpers/ISelectionReadAccessor.h>
15 // method implementations
20 template<typename T2> SysReadSelectionHandle ::
21 SysReadSelectionHandle (T2 *owner, const std::string& propertyName,
22 const std::string& propertyValue,
23 const std::string& propertyDescription)
24 : AsgMessagingForward (owner), m_selection (propertyValue)
26 owner->declareProperty (propertyName, m_selection, propertyDescription);
29 template<typename T2> SysReadSelectionHandle ::
30 SysReadSelectionHandle (const std::string& selection, T2 *owner)
31 : AsgMessagingForward (owner), m_selection(selection)
35 inline bool SysReadSelectionHandle ::
36 getBool (const SG::AuxElement& element,
37 const CP::SystematicSet& sys) const
40 return m_accessor->getBool (element, &sys);