ATLAS Offline Software
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 
16 #include <list>
17 #include "xAODForward/AFPSiHit.h"
19 
21 
30 {
31 public:
32  AFPSiClusterLayerBasicObj (const int stationID = -1, const int layerID = -1) :
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 
54 protected:
56  int m_layerID;
57  std::list<const xAOD::AFPSiHit*> m_hits;
58  std::list<AFPSiClusterBasicObj> m_clusters;
59 };
60 
61 
62 #endif // AFP_SICLUSTERTOOLS_AFPSICLUSTERLAYERBASICOBJ_H
AFPSiClusterLayerBasicObj
Class representing basic silicon layer with pixels and their clusters to be used for creating the clu...
Definition: AFPSiClusterLayerBasicObj.h:30
AFPSiClusterLayerBasicObj::layerID
int layerID() const
ID of the layer.
Definition: AFPSiClusterLayerBasicObj.h:41
AFPSiClusterLayerBasicObj::AFPSiClusterLayerBasicObj
AFPSiClusterLayerBasicObj(const int stationID=-1, const int layerID=-1)
Definition: AFPSiClusterLayerBasicObj.h:32
AFPSiClusterLayerBasicObj::m_hits
std::list< const xAOD::AFPSiHit * > m_hits
list of pixel hits in this layer
Definition: AFPSiClusterLayerBasicObj.h:57
AFPSiClusterLayerBasicObj::m_stationID
int m_stationID
ID of station where the layer is mounted.
Definition: AFPSiClusterLayerBasicObj.h:55
AFPSiClusterBasicObj.h
Full definition of AFPSiClusterBasicObj.
AFPSiClusterLayerBasicObj::stationID
int stationID() const
ID of station where the layer is mounted.
Definition: AFPSiClusterLayerBasicObj.h:36
AFPSiClusterLayerBasicObj::setLayerID
void setLayerID(const int layerID)
Definition: AFPSiClusterLayerBasicObj.h:43
AFPSiClusterLayerBasicObj::clearHitsAndClusters
void clearHitsAndClusters()
Clear lists of hits (m_hits) and clusters (m_clusters)
Definition: AFPSiClusterLayerBasicObj.h:52
AFPSiClusterLayerBasicObj::clusters
std::list< AFPSiClusterBasicObj > & clusters()
list of clusters
Definition: AFPSiClusterLayerBasicObj.h:49
AFPSiClusterLayerBasicObj::m_clusters
std::list< AFPSiClusterBasicObj > m_clusters
list of clusters
Definition: AFPSiClusterLayerBasicObj.h:58
AFPSiClusterLayerBasicObj::m_layerID
int m_layerID
ID of the layer.
Definition: AFPSiClusterLayerBasicObj.h:56
AFPSiHit.h
AFPSiClusterLayerBasicObj::setStationID
void setStationID(const int stationID)
Definition: AFPSiClusterLayerBasicObj.h:38
AFPSiHitContainer.h
AFPSiClusterLayerBasicObj::hits
std::list< const xAOD::AFPSiHit * > & hits()
list of pixel hits in this layer
Definition: AFPSiClusterLayerBasicObj.h:46