ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODForward
xAODForward
versions
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):
22
#include "
AthContainers/AuxElement.h
"
23
#include "AthLinks/ElementLink.h"
24
25
#include "
xAODForward/AFPToFHitContainer.h
"
26
27
namespace
xAOD
{
28
35
class
AFPToFTrack_v1
:
public
SG::AuxElement
36
{
37
public
:
39
typedef
ElementLink< AFPToFHitContainer >
AFPToFHitLink_t
;
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
"
186
SG_BASE
(
xAOD::AFPToFTrack_v1
,
SG::AuxElement
);
187
188
189
#endif
190
AFPToFHitContainer.h
AuxElement.h
Base class for elements of a container that can have aux data.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
BaseInfo.h
ElementLink< AFPToFHitContainer >
xAOD::AFPToFTrack_v1
Class representing a track reconstructed in AFP ToF.
Definition
AFPToFTrack_v1.h:36
xAOD::AFPToFTrack_v1::setTrainSize
void setTrainSize(int newTrainSize)
Set track train size.
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::setTrainID
void setTrainID(int newTrainID)
Set track train id(position).
xAOD::AFPToFTrack_v1::setTrainTime
void setTrainTime(float newTrainTime)
Set track time.
xAOD::AFPToFTrack_v1::stationID
int stationID() const
Index of the station where track was reconstructed.
xAOD::AFPToFTrack_v1::setTrainNSat
void setTrainNSat(int newTrainNSat)
Set slope of the reconstructed track along X axis in local coordinate system.
xAOD::AFPToFTrack_v1::trainSize
int trainSize() const
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.
xAOD::AFPToFTrack_v1::trainID
int trainID() const
Track train ID.
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::AFPToFHitLink_t
ElementLink< AFPToFHitContainer > AFPToFHitLink_t
Type of a link to the hit.
Definition
AFPToFTrack_v1.h:39
xAOD::AFPToFTrack_v1::setStationID
void setStationID(int stationID)
Set index of the station where track was reconstructed.
xAOD::AFPToFTrack_v1::trainNSat
int trainNSat() const
number of saturated bars in the train
xAOD::AFPToFTrack_v1::algID
int algID() const
Identification number of the algorithm used to reconstruct the track.
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::trainTime
float trainTime() const
Track local time.
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
Generated on
for ATLAS Offline Software by
1.17.0