ATLAS Offline Software
SysListHandle.icc
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /// @author Nils Krumnack
6 
7 
8 //
9 // includes
10 //
11 
12 #include <cassert>
13 
14 //
15 // method implementations
16 //
17 
18 namespace CP
19 {
20  template<typename T> SysListHandle ::
21  SysListHandle (T *owner, const std::string& propertyName,
22  const std::string& propertyDescription)
23  : AsgMessagingForward (owner)
24  {
25  owner->declareProperty (propertyName, m_systematicsService,
26  propertyDescription);
27  owner->declareProperty ("affectingSystematicsFilter", m_affectingFilter,
28  "an (optional) filter to remove affecting systematics");
29  }
30 
31 
32 
33  inline bool SysListHandle ::
34  isInitialized () const noexcept
35  {
36  return m_isInitialized;
37  }
38 
39 
40 
41  inline const ISystematicsSvc& SysListHandle ::
42  service () const
43  {
44  return *m_systematicsService;
45  }
46 }