ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::AFPSiHit_v2 Class Reference

Class representing a hit in silicon detector. More...

#include <AFPSiHit_v2.h>

Inheritance diagram for xAOD::AFPSiHit_v2:
Collaboration diagram for xAOD::AFPSiHit_v2:

Public Member Functions

 AFPSiHit_v2 ()
float depositedCharge () const
 Charge deposited in the pixel.
void setDepositedCharge (float charge)
 Method setting value of the charge deposited in the pixel.
float timeOverThreshold () const
 Time over threshold of signal for a pixel.
void setTimeOverThreshold (float timeOverThreshold)
 Method setting value of time over threshold.
int stationID () const
 Index of the station with pixel hit.
void setStationID (int stationID)
 Set index of the station with pixel hit.
int pixelLayerID () const
 Index of the layer of pixels, i.e.
void setPixelLayerID (int layerID)
 Method setting index of the pixel layer with hit.
int pixelRowIDChip () const
 Index of the pixel row in chip coordinate system.
void setPixelRowIDChip (int rowID)
 Set pixel row index in the chip coordinate system.
int pixelColIDChip () const
 Index of the pixel column in chip coordinate system.
void setPixelColIDChip (int colID)
 Set pixel column index in the chip coordinate system.
int pixelHorizID () const
 Index of the pixel along X axis in LHC coordinate system.
void setPixelHorizID (const int horizontalID)
 Set index of the pixel along X axis in LHC coordinate system.
int pixelVertID () const
 Index of the pixel along Y axis in LHC coordinate system.
void setPixelVertID (const int verticalID)
 Set index of the pixel along Y axis in LHC coordinate system.
void toPersistent ()
 Function making sure that the object is ready for persistification i.e. saving.

Detailed Description

Class representing a hit in silicon detector.

This class provides information about a single hit in AFP silicon detector.

Definition at line 29 of file AFPSiHit_v2.h.

Constructor & Destructor Documentation

◆ AFPSiHit_v2()

xAOD::AFPSiHit_v2::AFPSiHit_v2 ( )

Definition at line 24 of file AFPSiHit_v2.cxx.

25 { }
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.

Member Function Documentation

◆ depositedCharge()

float xAOD::AFPSiHit_v2::depositedCharge ( ) const

Charge deposited in the pixel.

Charge deposited in the pixel (amplitude of the signal) calculated based on the time over threshold. Time over threshold should be proportional to the deposited charge, but there may be small deviations.

Returns
charge deposited in the pixel

◆ pixelColIDChip()

int xAOD::AFPSiHit_v2::pixelColIDChip ( ) const

Index of the pixel column in chip coordinate system.

Index of the column in chip coordinate system. There are 80 columns numbered from 1. Column number 1 is the bottom one, while column 80 is the topmost one.

Note
Columns in chip coordinate system are horizontal, because the chips are mounted rotated by 90 degrees.
Returns
index of the pixel column which is in horizontal direction

◆ pixelHorizID()

int xAOD::AFPSiHit_v2::pixelHorizID ( ) const

Index of the pixel along X axis in LHC coordinate system.

There are 336 pixels in the horizontal direction numbered from

  1. The numbering is according to the LHC coordinate system i.e. pixel 0 is the outermost pixel and pixel 335 is the innermost (closest to the LHC centre).

This method transforms index from the chip coordinate system to the LHC coordinate system.

Returns
index of the pixel along X axis in LHC coordinate system

Definition at line 37 of file AFPSiHit_v2.cxx.

38 {
39 // use pixel rows because detectors are rotated and subtract
40 // from 336, because the axis is reversed
41 return 336 - pixelRowIDChip();
42 }
int pixelRowIDChip() const
Index of the pixel row in chip coordinate system.

◆ pixelLayerID()

int xAOD::AFPSiHit_v2::pixelLayerID ( ) const

Index of the layer of pixels, i.e.

the silicon detector, with hit.

It is advised to use class xAOD::AFPPixelLayerID instead of integers to process this information. In this class the numbering scheme is explained.

Returns
index of the pixels layer with hit (see class xAOD::AFPPixelLayerID )

◆ pixelRowIDChip()

int xAOD::AFPSiHit_v2::pixelRowIDChip ( ) const

Index of the pixel row in chip coordinate system.

Index of the row in chip coordinate system. There are 336 rows numbered from 1. Row number 1 is closest to the LHC centre, while row 336 is the outermost.

Note
Rows in chip coordinate system are vertical, because the chips are mounted rotated by 90 degrees.
Returns
index of the pixel row which is in vertical direction

◆ pixelVertID()

int xAOD::AFPSiHit_v2::pixelVertID ( ) const

Index of the pixel along Y axis in LHC coordinate system.

There are 80 pixels in the vertical direction numbered from

  1. The numbering is according to the LHC coordinate system i.e. pixel 0 is the lowest and pixel 79 is the topmost.

This method transforms index from the chip coordinate system to the LHC coordinate system.

Returns
index of the pixel along Y axis in LHC coordinate system

Definition at line 52 of file AFPSiHit_v2.cxx.

53 {
54 // use pixel columns because detectors are rotated
55 return pixelColIDChip();
56 }
int pixelColIDChip() const
Index of the pixel column in chip coordinate system.

◆ setDepositedCharge()

void xAOD::AFPSiHit_v2::setDepositedCharge ( float charge)

Method setting value of the charge deposited in the pixel.

Parameters
chargevalue of the charge deposited in the pixel

◆ setPixelColIDChip()

void xAOD::AFPSiHit_v2::setPixelColIDChip ( int colID)

Set pixel column index in the chip coordinate system.

Index of the column in chip coordinate system can have value between 1 and 80. Column number 1 is the bottom one, while column 80 is the topmost one.

Note
Columns in chip coordinate system are horizontal, because the chips are mounted rotated by 90 degrees.
Parameters
colIDindex of pixel column in chip coordinate system to be assigned to the hit

◆ setPixelHorizID()

void xAOD::AFPSiHit_v2::setPixelHorizID ( const int horizontalID)

Set index of the pixel along X axis in LHC coordinate system.

There are 336 pixels in the horizontal direction numbered from

  1. The numbering is according to the LHC coordinate system i.e. pixel 0 is the outermost pixel and pixel 335 is the inner most (closest to the LHC centre).

This method transforms input from the LHC coordinate system to the chip coordinate system and saves it.

Parameters
horizontalIDindex of pixel along X axis in the LHC coordinate system

Definition at line 44 of file AFPSiHit_v2.cxx.

45 {
46 // use pixel rows because detectors are rotated and subtract
47 // from 336, because the axis is reversed
48 setPixelRowIDChip (336 - horizontalID);
49 }
void setPixelRowIDChip(int rowID)
Set pixel row index in the chip coordinate system.

◆ setPixelLayerID()

void xAOD::AFPSiHit_v2::setPixelLayerID ( int layerID)

Method setting index of the pixel layer with hit.

The index of the layer should be set according to the convention in pixelLayerID()

Parameters
layerIDindex of the pixel layer with hit

◆ setPixelRowIDChip()

void xAOD::AFPSiHit_v2::setPixelRowIDChip ( int rowID)

Set pixel row index in the chip coordinate system.

Index of the row in chip coordinate system can have value between 1 and 336. Row number 1 is closest to the LHC centre, while row 336 is the outermost.

Note
Rows in chip coordinate system are vertical, because the chips are mounted rotated by 90 degrees.
Parameters
rowIDindex of pixel row in chip coordinate system to be assigned to the hit

◆ setPixelVertID()

void xAOD::AFPSiHit_v2::setPixelVertID ( const int verticalID)

Set index of the pixel along Y axis in LHC coordinate system.

There are 80 pixels in the horizontal direction numbered from

  1. The numbering is according to the LHC coordinate system i.e. pixel 0 is the lowest and pixel 79 is the topmost.

This method transforms input from the LHC coordinate system to the chip coordinate system and saves it.

Parameters
verticalIDindex of pixel along Y axis in the LHC coordinate system

Definition at line 58 of file AFPSiHit_v2.cxx.

59 {
60 // use pixel columns because detectors are rotated
61 setPixelColIDChip (verticalID);
62 }
void setPixelColIDChip(int colID)
Set pixel column index in the chip coordinate system.

◆ setStationID()

void xAOD::AFPSiHit_v2::setStationID ( int stationID)

Set index of the station with pixel hit.

It is advised to use class xAOD::AFPStationID instead of integers to process this information. In this class the numbering scheme is explained.

Returns
index of the station (see class xAOD::AFPStationID )
Parameters
stationIDindex of the station with the hit

◆ setTimeOverThreshold()

void xAOD::AFPSiHit_v2::setTimeOverThreshold ( float timeOverThreshold)

Method setting value of time over threshold.

Parameters
timeOverThresholdvalue of the time over threshold for a pixel

◆ stationID()

int xAOD::AFPSiHit_v2::stationID ( ) const

Index of the station with pixel hit.

It is advised to use class xAOD::AFPStationID instead of integers to process this information. In this class the numbering scheme is explained.

Returns
index of the station (see class xAOD::AFPStationID )

◆ timeOverThreshold()

float xAOD::AFPSiHit_v2::timeOverThreshold ( ) const

Time over threshold of signal for a pixel.

The length of the signal is proportional to the charge deposited in the pixel. The transformation is configured during the detector running and requires calibration. This is basic quantity which is used to reconstruct charge deposited in the pixel.

Returns
time over threshold of the signal

◆ toPersistent()

void xAOD::AFPSiHit_v2::toPersistent ( )

Function making sure that the object is ready for persistification i.e. saving.

Definition at line 34 of file AFPSiHit_v2.cxx.

34 {
35 }

The documentation for this class was generated from the following files: