ATLAS Offline Software
PrepRawData.icc
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 namespace Trk {
6 
7 inline Identifier
8 PrepRawData::identify() const
9 {
10  return m_clusId;
11 }
12 
13 inline const Amg::Vector2D&
14 PrepRawData::localPosition() const
15 {
16  return m_localPos;
17 }
18 
19 inline const Amg::MatrixX&
20 PrepRawData::localCovariance() const
21 {
22  return m_localCovariance;
23 }
24 
25 inline bool
26 PrepRawData::hasLocalCovariance() const
27 {
28  return (m_localCovariance.size() != 0);
29 }
30 
31 inline const std::vector<Identifier>&
32 PrepRawData::rdoList() const
33 {
34  return m_rdoList;
35 }
36 
37 /** TEMP for testing: might make some classes friends later ... */
38 inline void
39 PrepRawData::setHashAndIndex(unsigned short collHash, unsigned short objIndex)
40 {
41  m_indexAndHash.setCollHash(collHash);
42  m_indexAndHash.setObjIndex(objIndex);
43 }
44 inline const IdentContIndex&
45 PrepRawData::getHashAndIndex() const
46 {
47  return m_indexAndHash;
48 }
49 
50 }