ATLAS Offline Software
Loading...
Searching...
No Matches
AFPSiHit_v1.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#ifndef XAODFORWARD_VERSIONS_AFPSIHIT_V1_H
15#define XAODFORWARD_VERSIONS_AFPSIHIT_V1_H
16
17// EDM include(s):
19#include "AthLinks/ElementLink.h"
20
21// Internal include(s):
23
24
25namespace xAOD {
26
34 // class AFPSiHit_v1 : public SG::AuxElement
35 {
36 public:
39
40
41 // needed by athenaRoot
43
56 float depositedCharge() const;
57
65 void setDepositedCharge(float charge); // amplitude of the signal for given pixel
66
80 float timeOverThreshold() const;
81
89 void setTimeOverThreshold(float timeOverThreshold); // amplitude of the signal for given pixel
90
91
92 // float discriminator() const; // Constant fraction discriminator time for given pixel
93 // void setDiscriminator(float discriminator); // Constant fraction discriminator time for given pixel
94
95
112 int stationID() const;
113
124
153 int pixelLayerID() const;
154
164 void setPixelLayerID(int layerID);
165
180 int pixelRowIDChip() const;
181
196 void setPixelRowIDChip(int rowID);
197
198
213 int pixelColIDChip() const;
214
229 void setPixelColIDChip(int colID);
230
231
247 int pixelHorizID() const;
248
264 void setPixelHorizID(const int horizontalID);
265
266
281 int pixelVertID() const;
282
297 void setPixelVertID(const int verticalID);
298
314 const std::vector<AFPTrackLink_t>& tracksLinks() const;
315
321 void setTracksLinks( const std::vector<AFPTrackLink_t>& tracksVector );
322
331 void addTrackLink( const AFPTrackLink_t& newTrack);
332
334 void toPersistent();
335 };
336
337
338} // namespace xAOD
339
340// Declare the inheritance of the type to StoreGate:
341#include "xAODCore/BaseInfo.h"
343
344#endif // XAODFORWARD_VERSIONS_AFPSIHIT_V1_H
345
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 hit in silicon detector.
Definition AFPSiHit_v1.h:35
const std::vector< AFPTrackLink_t > & tracksLinks() const
Vector of links to tracks for which reconstruction this hit was used.
void setPixelHorizID(const int horizontalID)
Set index of the pixel along X axis in LHC coordinate system.
int stationID() const
Index of the station with pixel hit.
void setTracksLinks(const std::vector< AFPTrackLink_t > &tracksVector)
Set vector of links to tracks that use this hit.
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving.
void setStationID(int stationID)
Set index of the station with pixel hit.
void setPixelColIDChip(int colID)
Set pixel column index in the chip coordinate system.
void setTimeOverThreshold(float timeOverThreshold)
Method setting value of time over threshold.
int pixelRowIDChip() const
Index of the pixel row in chip coordinate system.
float timeOverThreshold() const
Time over threshold of signal for a pixel.
void addTrackLink(const AFPTrackLink_t &newTrack)
Add a link to a track that uses this hit in reconstruction.
void setPixelRowIDChip(int rowID)
Set pixel row index in the chip coordinate system.
int pixelVertID() const
Index of the pixel along Y axis in LHC coordinate system.
ElementLink< AFPTrackContainer > AFPTrackLink_t
Type of a link to the track.
Definition AFPSiHit_v1.h:38
float depositedCharge() const
Charge deposited in the pixel.
int pixelColIDChip() const
Index of the pixel column in chip coordinate system.
void setPixelLayerID(int layerID)
Method setting index of the pixel layer with hit.
void setDepositedCharge(float charge)
Method setting value of the charge deposited in the pixel.
void setPixelVertID(const int verticalID)
Set index of the pixel along Y axis in LHC coordinate system.
int pixelHorizID() const
Index of the pixel along X axis in LHC coordinate system.
int pixelLayerID() const
Index of the layer of pixels, i.e.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.