ATLAS Offline Software
AFPTrack_v2.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
15 #ifndef XAODFORWARD_VERSIONS_AFPTRACK_V2_H
16 #define XAODFORWARD_VERSIONS_AFPTRACK_V2_H
17 
18 // general includes
19 #include<vector>
20 
21 // EDM include(s):
23 #include "AthLinks/ElementLink.h"
24 
25 // Internal include(s):
27 
28 namespace xAOD {
29 
36  class AFPTrack_v2 : public SG::AuxElement
37  {
38  public:
41 
47  int stationID() const;
48 
56  void setStationID (int stationID);
57 
64  float xLocal() const;
65 
73  void setXLocal (float newXLocal);
74 
80  float yLocal() const;
81 
89  void setYLocal (float newYLocal);
90 
96  float zLocal() const;
97 
105  void setZLocal (float newZLocal);
106 
117  float xSlope() const;
118 
126  void setXSlope (float newXSlope);
127 
128 
139  float ySlope() const;
140 
148  void setYSlope (float newYSlope);
149 
158  unsigned int nHoles() const;
159 
167  void setNHoles (unsigned int nHoles);
168 
174  int nClusters() const;
175 
182 
198  const std::vector<AFPClusterLink_t>& clusters() const;
199 
205  void setClusters( const std::vector<AFPClusterLink_t>& newClustersVector );
206 
215  void addCluster( const AFPClusterLink_t& newCluster);
216 
225  float chi2() const;
226 
232  void setChi2 (float newFChi2);
233 
243  int algID() const;
244 
252  void setAlgID (int newIAlgID);
253 
255  void toPersistent();
256  };
257 
258 }
259 
260 // Declare the inheritance of the type to StoreGate:
261 #include "xAODCore/BaseInfo.h"
263 
264 
265 #endif
266 
xAOD::AFPTrack_v2::setNHoles
void setNHoles(unsigned int nHoles)
Set number of empty pixels that the track passes through.
xAOD::AFPTrack_v2
Class representing a track reconstructed in AFP.
Definition: AFPTrack_v2.h:37
xAOD::AFPTrack_v2::clusters
const std::vector< AFPClusterLink_t > & clusters() const
Vector of links to clusters that were used to reconstruct the track.
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:483
BaseInfo.h
xAOD::AFPTrack_v2::setYSlope
void setYSlope(float newYSlope)
Set slope of the reconstructed track along Y axis in local coordinate system.
xAOD::AFPTrack_v2::ySlope
float ySlope() const
Slope of the reconstructed track along Y axis in local coordinate system.
xAOD::AFPTrack_v2::setYLocal
void setYLocal(float newYLocal)
Set track coordinate along Y axis in station local coordinate system.
xAOD::AFPTrack_v2::AFPClusterLink_t
ElementLink< AFPSiHitsClusterContainer > AFPClusterLink_t
Type of a link to the cluster.
Definition: AFPTrack_v2.h:40
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::AFPTrack_v2::toPersistent
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving.
Definition: AFPTrack_v2.cxx:43
xAOD::AFPTrack_v2::algID
int algID() const
Identification number of the algorithm used to reconstruct the track.
xAOD::AFPTrack_v2::zLocal
float zLocal() const
Track position along Z axis in station local coordinate system.
xAOD::AFPTrack_v2::chi2
float chi2() const
value of the track fit to the selected clusters.
xAOD::AFPTrack_v2::nClusters
int nClusters() const
Number of clusters used to reconstruct the track.
SG_BASE
SG_BASE(xAOD::AFPTrack_v2, SG::AuxElement)
xAOD::AFPTrack_v2::setXSlope
void setXSlope(float newXSlope)
Set slope of the reconstructed track along X axis in local coordinate system.
xAOD::AFPTrack_v2::xSlope
float xSlope() const
Slope of the reconstructed track along X axis in local coordinate system.
xAOD::AFPTrack_v2::setChi2
void setChi2(float newFChi2)
Set value of the track fit to the selected clusters.
xAOD::AFPTrack_v2::yLocal
float yLocal() const
Track position along Y axis in station local coordinate system.
AFPSiHitsClusterContainer.h
xAOD::AFPTrack_v2::addCluster
void addCluster(const AFPClusterLink_t &newCluster)
Add a link to a cluster used to reconstruct the track.
Definition: AFPTrack_v2.cxx:38
xAOD::AFPTrack_v2::setXLocal
void setXLocal(float newXLocal)
Set track position along X axis in station local coordinate system.
xAOD::AFPTrack_v2::setZLocal
void setZLocal(float newZLocal)
Set track coordinate along Z axis in station local coordinate system.
xAOD::AFPTrack_v2::setAlgID
void setAlgID(int newIAlgID)
Set reconstruction algorithm identification number.
xAOD::AFPTrack_v2::setNClusters
void setNClusters(int nClusters)
Set number of clusters used to reconstruct the track.
xAOD::AFPTrack_v2::xLocal
float xLocal() const
Track position along X axis in station local coordinate system.
xAOD::AFPTrack_v2::setStationID
void setStationID(int stationID)
Set index of the station where track was reconstructed.
xAOD::AFPTrack_v2::stationID
int stationID() const
Index of the station where track was reconstructed.
xAOD::AFPTrack_v2::setClusters
void setClusters(const std::vector< AFPClusterLink_t > &newClustersVector)
Set vector of links to clusters used for track reconstruction.
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::AFPTrack_v2::nHoles
unsigned int nHoles() const
Number of empty layers that the track passes through.