ATLAS Offline Software
SGKeyResolver.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 // $Id$
6 /**
7  * @file D3PDMakerUtils/SGKeyResolver.icc
8  * @author scott snyder <snyder@bnl.gov>
9  * @date Feb, 2010
10  * @brief Helper to resolve the SG key to use.
11  */
12 
13 
14 #include "AthenaKernel/ClassID_traits.h"
15 
16 
17 namespace D3PD {
18 
19 
20 /**
21  * @brief Initialize, from a type.
22  */
23 template <typename T>
24 StatusCode SGKeyResolver::initialize()
25 {
26  return initialize (ClassID_traits<T>::ID(), ClassID_traits<T>::typeName());
27 }
28 
29 
30 } // namespace D3PD