ATLAS Offline Software
Loading...
Searching...
No Matches
AFPSiClusterLayerBasicObj.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AFP_SICLUSTERTOOLS_AFPSICLUSTERLAYERBASICOBJ_H
6#define AFP_SICLUSTERTOOLS_AFPSICLUSTERLAYERBASICOBJ_H 1
7
15
16#include <list>
19
21
30{
31public:
34
36 int stationID() const {return m_stationID;}
37
39
41 int layerID() const {return m_layerID;}
42
43 void setLayerID(const int layerID) {m_layerID = layerID;}
44
46 std::list<const xAOD::AFPSiHit*>& hits() {return m_hits;}
47
49 std::list<AFPSiClusterBasicObj>& clusters() {return m_clusters;}
50
52 void clearHitsAndClusters() {m_hits.clear(); m_clusters.clear();}
53
54protected:
57 std::list<const xAOD::AFPSiHit*> m_hits;
58 std::list<AFPSiClusterBasicObj> m_clusters;
59};
60
61
62#endif // AFP_SICLUSTERTOOLS_AFPSICLUSTERLAYERBASICOBJ_H
Full definition of AFPSiClusterBasicObj.
std::list< const xAOD::AFPSiHit * > m_hits
list of pixel hits in this layer
int stationID() const
ID of station where the layer is mounted.
int layerID() const
ID of the layer.
int m_stationID
ID of station where the layer is mounted.
std::list< const xAOD::AFPSiHit * > & hits()
list of pixel hits in this layer
void setLayerID(const int layerID)
std::list< AFPSiClusterBasicObj > m_clusters
list of clusters
std::list< AFPSiClusterBasicObj > & clusters()
list of clusters
void clearHitsAndClusters()
Clear lists of hits (m_hits) and clusters (m_clusters)
AFPSiClusterLayerBasicObj(const int stationID=-1, const int layerID=-1)
void setStationID(const int stationID)