ATLAS Offline Software
AFPSiHit_v2.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_V2_H
15 #define XAODFORWARD_VERSIONS_AFPSIHIT_V2_H
16 
17 // EDM include(s):
19 
20 
21 namespace xAOD {
22 
29  class AFPSiHit_v2 : public SG::AuxElement
30  {
31  public:
32  // needed by athenaRoot
33  AFPSiHit_v2();
34 
45  float depositedCharge() const;
46 
53 
65  float timeOverThreshold() const;
66 
73 
83  int stationID() const;
84 
93 
103  int pixelLayerID() const;
104 
112  void setPixelLayerID(int layerID);
113 
126  int pixelRowIDChip() const;
127 
140  void setPixelRowIDChip(int rowID);
141 
142 
155  int pixelColIDChip() const;
156 
169  void setPixelColIDChip(int colID);
170 
171 
185  int pixelHorizID() const;
186 
200  void setPixelHorizID(const int horizontalID);
201 
202 
215  int pixelVertID() const;
216 
229  void setPixelVertID(const int verticalID);
230 
232  void toPersistent();
233  };
234 
235 
236 } // namespace xAOD
237 
238 // Declare the inheritance of the type to StoreGate:
239 #include "xAODCore/BaseInfo.h"
241 
242 #endif // XAODFORWARD_VERSIONS_AFPSIHIT_V2_H
243 
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
xAOD::AFPSiHit_v2::setPixelColIDChip
void setPixelColIDChip(int colID)
Set pixel column index in the chip coordinate system.
xAOD::AFPSiHit_v2::pixelLayerID
int pixelLayerID() const
Index of the layer of pixels, i.e.
xAOD::AFPSiHit_v2::setDepositedCharge
void setDepositedCharge(float charge)
Method setting value of the charge deposited in the pixel.
xAOD::AFPSiHit_v2
Class representing a hit in silicon detector.
Definition: AFPSiHit_v2.h:30
BaseInfo.h
xAOD::AFPSiHit_v2::toPersistent
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving.
Definition: AFPSiHit_v2.cxx:34
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::AFPSiHit_v2::pixelHorizID
int pixelHorizID() const
Index of the pixel along X axis in LHC coordinate system.
Definition: AFPSiHit_v2.cxx:37
xAOD::AFPSiHit_v2::setPixelLayerID
void setPixelLayerID(int layerID)
Method setting index of the pixel layer with hit.
xAOD::AFPSiHit_v2::pixelColIDChip
int pixelColIDChip() const
Index of the pixel column in chip coordinate system.
xAOD::AFPSiHit_v2::pixelVertID
int pixelVertID() const
Index of the pixel along Y axis in LHC coordinate system.
Definition: AFPSiHit_v2.cxx:52
xAOD::charge
charge
Definition: TrigElectron_v1.cxx:85
xAOD::AFPSiHit_v2::setTimeOverThreshold
void setTimeOverThreshold(float timeOverThreshold)
Method setting value of time over threshold.
xAOD::AFPSiHit_v2::depositedCharge
float depositedCharge() const
Charge deposited in the pixel.
xAOD::AFPSiHit_v2::setPixelHorizID
void setPixelHorizID(const int horizontalID)
Set index of the pixel along X axis in LHC coordinate system.
Definition: AFPSiHit_v2.cxx:44
xAOD::AFPSiHit_v2::timeOverThreshold
float timeOverThreshold() const
Time over threshold of signal for a pixel.
xAOD::AFPSiHit_v2::setStationID
void setStationID(int stationID)
Set index of the station with pixel hit.
xAOD::AFPSiHit_v2::setPixelVertID
void setPixelVertID(const int verticalID)
Set index of the pixel along Y axis in LHC coordinate system.
Definition: AFPSiHit_v2.cxx:58
xAOD::AFPSiHit_v2::pixelRowIDChip
int pixelRowIDChip() const
Index of the pixel row in chip coordinate system.
xAOD::AFPSiHit_v2::setPixelRowIDChip
void setPixelRowIDChip(int rowID)
Set pixel row index in the chip coordinate system.
SG_BASE
SG_BASE(xAOD::AFPSiHit_v2, SG::AuxElement)
xAOD::AFPSiHit_v2::AFPSiHit_v2
AFPSiHit_v2()
Definition: AFPSiHit_v2.cxx:24
xAOD::AFPSiHit_v2::stationID
int stationID() const
Index of the station with pixel hit.
AuxElement.h
Base class for elements of a container that can have aux data.