ATLAS Offline Software
AFPToFTrack_v1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
15 #ifndef XAODFORWARD_VERSIONS_AFPTOFTRACK_V1_H
16 #define XAODFORWARD_VERSIONS_AFPTOFTRACK_V1_H
17 
18 // general includes
19 #include<vector>
20 
21 // EDM include(s):
23 #include "AthLinks/ElementLink.h"
24 
26 
27 namespace xAOD {
28 
36  {
37  public:
40 
46  int stationID() const;
47 
57  void setStationID (int stationID);
58 
63  float trainTime() const;
64 
72  void setTrainTime (float newTrainTime);
73 
79  int trainID() const;
80 
88  void setTrainID (int newTrainID);
89 
95  int trainSize() const;
96 
104  void setTrainSize (int newTrainSize);
105 
110  int trainNSat() const;
111 
119  void setTrainNSat (int newTrainNSat);
120 
121 
137  const std::vector<AFPToFHitLink_t>& hits() const;
138 
144  void setHits( const std::vector<AFPToFHitLink_t>& newHitsVector );
145 
154  void addBar( const AFPToFHitLink_t& newHit);
155 
167  int algID() const;
168 
176  void setAlgID (int newIAlgID);
177 
179  void toPersistent();
180  };
181 
182 }
183 
184 // Declare the inheritance of the type to StoreGate:
185 #include "xAODCore/BaseInfo.h"
187 
188 
189 #endif
190 
xAOD::AFPToFTrack_v1::setTrainTime
void setTrainTime(float newTrainTime)
Set track time.
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
xAOD::AFPToFTrack_v1::setTrainNSat
void setTrainNSat(int newTrainNSat)
Set slope of the reconstructed track along X axis in local coordinate system.
BaseInfo.h
xAOD::AFPToFTrack_v1::trainSize
int trainSize() const
Track train size.
xAOD::AFPToFTrack_v1::addBar
void addBar(const AFPToFHitLink_t &newHit)
Add a link to a bar used to reconstruct the track.
Definition: AFPToFTrack_v1.cxx:34
xAOD::AFPToFTrack_v1::setTrainID
void setTrainID(int newTrainID)
Set track train id(position).
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::AFPToFTrack_v1::setHits
void setHits(const std::vector< AFPToFHitLink_t > &newHitsVector)
Set vector of links to bars used for track reconstruction.
xAOD::AFPToFTrack_v1::setTrainSize
void setTrainSize(int newTrainSize)
Set track train size.
xAOD::AFPToFTrack_v1::hits
const std::vector< AFPToFHitLink_t > & hits() const
Vector of links to bars that were used to reconstruct the track.
SG_BASE
SG_BASE(xAOD::AFPToFTrack_v1, SG::AuxElement)
xAOD::AFPToFTrack_v1::setStationID
void setStationID(int stationID)
Set index of the station where track was reconstructed.
xAOD::AFPToFTrack_v1::toPersistent
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving.
Definition: AFPToFTrack_v1.cxx:39
xAOD::AFPToFTrack_v1::setAlgID
void setAlgID(int newIAlgID)
Set reconstruction algorithm identification number.
xAOD::AFPToFTrack_v1::trainTime
float trainTime() const
Track local time.
xAOD::AFPToFTrack_v1::AFPToFHitLink_t
ElementLink< AFPToFHitContainer > AFPToFHitLink_t
Type of a link to the hit.
Definition: AFPToFTrack_v1.h:39
xAOD::AFPToFTrack_v1::stationID
int stationID() const
Index of the station where track was reconstructed.
xAOD::AFPToFTrack_v1::algID
int algID() const
Identification number of the algorithm used to reconstruct the track.
AFPToFHitContainer.h
xAOD::AFPToFTrack_v1::trainNSat
int trainNSat() const
number of saturated bars in the train
xAOD::AFPToFTrack_v1::trainID
int trainID() const
Track train ID.
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::AFPToFTrack_v1
Class representing a track reconstructed in AFP ToF.
Definition: AFPToFTrack_v1.h:36