ATLAS Offline Software
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 
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 
25 namespace xAOD {
26 
33  class AFPSiHit_v1 : public SG::AuxElement
34  // class AFPSiHit_v1 : public SG::AuxElement
35  {
36  public:
39 
40 
41  // needed by athenaRoot
42  AFPSiHit_v1();
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 
AFPTrackContainer.h
xAOD::AFPSiHit_v1::depositedCharge
float depositedCharge() const
Charge deposited in the pixel.
xAOD::AFPSiHit_v1::setTimeOverThreshold
void setTimeOverThreshold(float timeOverThreshold)
Method setting value of time over threshold.
xAOD::AFPSiHit_v1::setPixelHorizID
void setPixelHorizID(const int horizontalID)
Set index of the pixel along X axis in LHC coordinate system.
Definition: AFPSiHit_v1.cxx:58
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
xAOD::AFPSiHit_v1::addTrackLink
void addTrackLink(const AFPTrackLink_t &newTrack)
Add a link to a track that uses this hit in reconstruction.
Definition: AFPSiHit_v1.cxx:38
BaseInfo.h
xAOD::AFPSiHit_v1::pixelHorizID
int pixelHorizID() const
Index of the pixel along X axis in LHC coordinate system.
Definition: AFPSiHit_v1.cxx:51
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::AFPSiHit_v1::setPixelLayerID
void setPixelLayerID(int layerID)
Method setting index of the pixel layer with hit.
SG_BASE
SG_BASE(xAOD::AFPSiHit_v1, SG::AuxElement)
xAOD::AFPSiHit_v1::setPixelColIDChip
void setPixelColIDChip(int colID)
Set pixel column index in the chip coordinate system.
xAOD::AFPSiHit_v1::setTracksLinks
void setTracksLinks(const std::vector< AFPTrackLink_t > &tracksVector)
Set vector of links to tracks that use this hit.
xAOD::AFPSiHit_v1::pixelRowIDChip
int pixelRowIDChip() const
Index of the pixel row in chip coordinate system.
xAOD::AFPSiHit_v1::tracksLinks
const std::vector< AFPTrackLink_t > & tracksLinks() const
Vector of links to tracks for which reconstruction this hit was used.
xAOD::AFPSiHit_v1
Class representing a hit in silicon detector.
Definition: AFPSiHit_v1.h:35
xAOD::charge
charge
Definition: TrigElectron_v1.cxx:85
xAOD::AFPSiHit_v1::setStationID
void setStationID(int stationID)
Set index of the station with pixel hit.
xAOD::AFPSiHit_v1::setPixelRowIDChip
void setPixelRowIDChip(int rowID)
Set pixel row index in the chip coordinate system.
xAOD::AFPSiHit_v1::stationID
int stationID() const
Index of the station with pixel hit.
xAOD::AFPSiHit_v1::timeOverThreshold
float timeOverThreshold() const
Time over threshold of signal for a pixel.
xAOD::AFPSiHit_v1::setPixelVertID
void setPixelVertID(const int verticalID)
Set index of the pixel along Y axis in LHC coordinate system.
Definition: AFPSiHit_v1.cxx:72
xAOD::AFPSiHit_v1::pixelColIDChip
int pixelColIDChip() const
Index of the pixel column in chip coordinate system.
xAOD::AFPSiHit_v1::pixelVertID
int pixelVertID() const
Index of the pixel along Y axis in LHC coordinate system.
Definition: AFPSiHit_v1.cxx:66
xAOD::AFPSiHit_v1::pixelLayerID
int pixelLayerID() const
Index of the layer of pixels, i.e.
xAOD::AFPSiHit_v1::setDepositedCharge
void setDepositedCharge(float charge)
Method setting value of the charge deposited in the pixel.
xAOD::AFPSiHit_v1::AFPSiHit_v1
AFPSiHit_v1()
Definition: AFPSiHit_v1.cxx:25
xAOD::AFPSiHit_v1::AFPTrackLink_t
ElementLink< AFPTrackContainer > AFPTrackLink_t
Type of a link to the track.
Definition: AFPSiHit_v1.h:38
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::AFPSiHit_v1::toPersistent
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving.
Definition: AFPSiHit_v1.cxx:43