ATLAS Offline Software
Loading...
Searching...
No Matches
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
14template< class PrepDataT >
15// Constructor with parameters:
16MuonPrepDataCollection< PrepDataT >::MuonPrepDataCollection(const
17 IdentifierHash idHash) :
18 Identifiable(),
19 m_idHash(idHash),
20 m_id()
21 // cppcheck-suppress missingReturn; false positive
22{}
23
24template< class PrepDataT >
25// Default Constructor :
26MuonPrepDataCollection< PrepDataT >::MuonPrepDataCollection() :
27 Identifiable(),
28 m_idHash(),
29 m_id()
30{}
31
32// Destructor:
33template< class PrepDataT >
34MuonPrepDataCollection< PrepDataT >::~MuonPrepDataCollection()
35{ }
36
37template< class PrepDataT >
38Identifier MuonPrepDataCollection< PrepDataT >::identify() const
39{
40 return m_id;
41}
42
43template< class PrepDataT >
44IdentifierHash MuonPrepDataCollection< PrepDataT >::identifyHash() const
45{
46 return m_idHash;
47}
48template< class PrepDataT >
49void MuonPrepDataCollection< PrepDataT >::setIdentifier(Identifier id)
50{
51 m_id = id;
52}
53
54template< class PrepDataT >
55std::string MuonPrepDataCollection< PrepDataT >::type() const
56{
57 return "MuonPrepDataCollection";
58}
59
60