ATLAS Offline Software
MuonPrepDataCollection.icc
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 ///////////////////////////////////////////////////////////////////
6 // MuonPrepDataCollection.icc
7 // Implementation file for class MuonPrepDataCollection
8 ///////////////////////////////////////////////////////////////////
9 // (c) ATLAS Detector software
10 ///////////////////////////////////////////////////////////////////
11 // Version 1.0 06/07/2004 Ketevi A. Assamagan - adapted from Veronique
12 ///////////////////////////////////////////////////////////////////
13 
14 template< class PrepDataT >
15 // Constructor with parameters:
16 MuonPrepDataCollection< PrepDataT >::MuonPrepDataCollection(const
17  IdentifierHash idHash) :
18  Identifiable(),
19  m_idHash(idHash),
20  m_id()
21  // cppcheck-suppress missingReturn; false positive
22 {}
23 
24 template< class PrepDataT >
25 // Default Constructor :
26 MuonPrepDataCollection< PrepDataT >::MuonPrepDataCollection() :
27  Identifiable(),
28  m_idHash(),
29  m_id()
30 {}
31 
32 // Destructor:
33 template< class PrepDataT >
34 MuonPrepDataCollection< PrepDataT >::~MuonPrepDataCollection()
35 { }
36 
37 template< class PrepDataT >
38 Identifier MuonPrepDataCollection< PrepDataT >::identify() const
39 {
40  return m_id;
41 }
42 
43 template< class PrepDataT >
44 IdentifierHash MuonPrepDataCollection< PrepDataT >::identifyHash() const
45 {
46  return m_idHash;
47 }
48 template< class PrepDataT >
49 void MuonPrepDataCollection< PrepDataT >::setIdentifier(Identifier id)
50 {
51  m_id = id;
52 }
53 
54 template< class PrepDataT >
55 std::string MuonPrepDataCollection< PrepDataT >::type() const
56 {
57  return "MuonPrepDataCollection";
58 }
59 
60