ATLAS Offline Software
CollectionDataPreparationAlg.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 namespace ActsTrk {
6 
7  // Pixel Clusters
8  inline
9  xAOD::DetectorIDHashType PixelClusterDataPreparationAlg::retrieveDetectorIDHash(const xAOD::PixelCluster& obj) const
10  { return obj.identifierHash(); }
11 
12  // Strip Clusters
13  inline
14  xAOD::DetectorIDHashType StripClusterDataPreparationAlg::retrieveDetectorIDHash(const xAOD::StripCluster& obj) const
15  { return obj.identifierHash(); }
16 
17  // SpacePoints
18  inline
19  xAOD::DetectorIDHashType SpacePointDataPreparationAlg::retrieveDetectorIDHash(const xAOD::SpacePoint& obj) const
20  { return obj.elementIdList()[0]; }
21 
22 } // namespace
23 
24 
25