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