ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
14
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
28namespace xAOD {
29
37 {
38 public:
41
47 int stationID() const;
48
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
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Class representing a track reconstructed in AFP.
Definition AFPTrack_v2.h:37
float xLocal() const
Track position along X axis in station local coordinate system.
void setChi2(float newFChi2)
Set value of the track fit to the selected clusters.
int stationID() const
Index of the station where track was reconstructed.
float xSlope() const
Slope of the reconstructed track along X axis in local coordinate system.
const std::vector< AFPClusterLink_t > & clusters() const
Vector of links to clusters that were used to reconstruct the track.
void setXSlope(float newXSlope)
Set slope of the reconstructed track along X axis in local coordinate system.
float yLocal() const
Track position along Y axis in station local coordinate system.
int algID() const
Identification number of the algorithm used to reconstruct the track.
ElementLink< AFPSiHitsClusterContainer > AFPClusterLink_t
Type of a link to the cluster.
Definition AFPTrack_v2.h:40
void setNHoles(unsigned int nHoles)
Set number of empty pixels that the track passes through.
void setXLocal(float newXLocal)
Set track position along X axis in station local coordinate system.
float chi2() const
value of the track fit to the selected clusters.
void setYSlope(float newYSlope)
Set slope of the reconstructed track along Y axis in local coordinate system.
int nClusters() const
Number of clusters used to reconstruct the track.
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving.
void setStationID(int stationID)
Set index of the station where track was reconstructed.
void setZLocal(float newZLocal)
Set track coordinate along Z axis in station local coordinate system.
void setAlgID(int newIAlgID)
Set reconstruction algorithm identification number.
float ySlope() const
Slope of the reconstructed track along Y axis in local coordinate system.
unsigned int nHoles() const
Number of empty layers that the track passes through.
float zLocal() const
Track position along Z axis in station local coordinate system.
void setNClusters(int nClusters)
Set number of clusters used to reconstruct the track.
void setYLocal(float newYLocal)
Set track coordinate along Y axis in station local coordinate system.
void setClusters(const std::vector< AFPClusterLink_t > &newClustersVector)
Set vector of links to clusters used for track reconstruction.
void addCluster(const AFPClusterLink_t &newCluster)
Add a link to a cluster used to reconstruct the track.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.