ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
14
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
27namespace xAOD {
28
36 {
37 public:
40
46 int stationID() const;
47
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
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 ToF.
void setTrainSize(int newTrainSize)
Set track train size.
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving.
void setAlgID(int newIAlgID)
Set reconstruction algorithm identification number.
void setTrainID(int newTrainID)
Set track train id(position).
void setTrainTime(float newTrainTime)
Set track time.
int stationID() const
Index of the station where track was reconstructed.
void setTrainNSat(int newTrainNSat)
Set slope of the reconstructed track along X axis in local coordinate system.
int trainSize() const
Track train size.
const std::vector< AFPToFHitLink_t > & hits() const
Vector of links to bars that were used to reconstruct the track.
int trainID() const
Track train ID.
void addBar(const AFPToFHitLink_t &newHit)
Add a link to a bar used to reconstruct the track.
ElementLink< AFPToFHitContainer > AFPToFHitLink_t
Type of a link to the hit.
void setStationID(int stationID)
Set index of the station where track was reconstructed.
int trainNSat() const
number of saturated bars in the train
int algID() const
Identification number of the algorithm used to reconstruct the track.
void setHits(const std::vector< AFPToFHitLink_t > &newHitsVector)
Set vector of links to bars used for track reconstruction.
float trainTime() const
Track local time.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.