xAOD::AFPSiHit_v1 Class Reference

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

#include <AFPSiHit_v1.h>

Inheritance diagram for xAOD::AFPSiHit_v1:
SG::AuxElement SG::IAuxElement

List of all members.

Public Types

typedef ElementLink
< AFPTrackContainer
AFPTrackLink_t
 Type of a link to the track.

Public Member Functions

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. the silicon detector, with hit.
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.
const std::vector
< AFPTrackLink_t > & 
tracksLinks () const
 Vector of links to tracks for which reconstruction this hit was used.
void setTracksLinks (const std::vector< AFPTrackLink_t > &tracksVector)
 Set vector of links to tracks that use this hit.
void addTrackLink (const AFPTrackLink_t &newTrack)
 Add a link to a track that uses this hit in reconstruction.
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.


Member Function Documentation

void xAOD::AFPSiHit_v1::addTrackLink ( const AFPTrackLink_t newTrack  ) 

Add a link to a track that uses this hit in reconstruction.

A new link to the track is added to the existing vector of links to the tracks which use this hit in reconstruction.

Parameters:
newTrack link to the track
float xAOD::AFPSiHit_v1::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
int xAOD::AFPSiHit_v1::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
int xAOD::AFPSiHit_v1::pixelHorizID (  )  const

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

There are 336 pixels in the horizontal direction numbered from 0. 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
int xAOD::AFPSiHit_v1::pixelLayerID (  )  const

Index of the layer of pixels, i.e. the silicon detector, with hit.

Index of the pixel layer where the hit was recorded. The layer closest to the interaction point has index 0, the layer furthest away from the interaction point has index 3.

Far Station A Side (ID = 0)

Near Station A Side (ID = 1)

Near Station C Side (ID = 2)

Far Station C Side (ID = 3)

3

2

1

0

3

2

1

0

INTERACTION POINT

0

1

2

3

0

1

2

3

Returns:
index of the pixels layer with hit
int xAOD::AFPSiHit_v1::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
int xAOD::AFPSiHit_v1::pixelVertID (  )  const

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

There are 80 pixels in the vertical direction numbered from 0. 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
void xAOD::AFPSiHit_v1::setDepositedCharge ( float  charge  ) 

Method setting value of the charge deposited in the pixel.

Parameters:
charge value of the charge deposited in the pixel
void xAOD::AFPSiHit_v1::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:
colID index of pixel column in chip coordinate system to be assigned to the hit
void xAOD::AFPSiHit_v1::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 0. 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:
horizontalID index of pixel along X axis in the LHC coordinate system
void xAOD::AFPSiHit_v1::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:
layerID index of the pixel layer with hit
void xAOD::AFPSiHit_v1::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:
rowID index of pixel row in chip coordinate system to be assigned to the hit
void xAOD::AFPSiHit_v1::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 0. 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:
verticalID index of pixel along Y axis in the LHC coordinate system
void xAOD::AFPSiHit_v1::setStationID ( int  stationID  ) 

Set index of the station with pixel hit.

Stations indexing follows the scheme| Station ID | Station Name | Station Position | | :--------: | ------------------- | ---------------- | | 0 | far station A side | z = 217 m | | 1 | near station A side | z = 205 m | | 2 | near station C side | z = -205 m | | 3 | far station C side | z = -217 m |

Returns:
index of the station

Parameters:
stationID index of the station with the hit
void xAOD::AFPSiHit_v1::setTimeOverThreshold ( float  timeOverThreshold  ) 

Method setting value of time over threshold.

Parameters:
timeOverThreshold value of the time over threshold for a pixel
void xAOD::AFPSiHit_v1::setTracksLinks ( const std::vector< AFPTrackLink_t > &  tracksVector  ) 

Set vector of links to tracks that use this hit.

Parameters:
tracksVector vector of links to tracks
int xAOD::AFPSiHit_v1::stationID (  )  const

Index of the station with pixel hit.

Stations indexing follows the scheme

| Station ID | Station Name | Station Position | | :--------: | ------------------- | ---------------- | | 0 | far station A side | z = 217 m | | 1 | near station A side | z = 205 m | | 2 | near station C side | z = -205 m | | 3 | far station C side | z = -217 m |

Returns:
index of the station
float xAOD::AFPSiHit_v1::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
const std::vector<AFPTrackLink_t>& xAOD::AFPSiHit_v1::tracksLinks (  )  const

Vector of links to tracks for which reconstruction this hit was used.

This method provides access to the tracks that use this hit. The access is via ElementLink object.

Note:
* It can be checked if the link is active using method ElementLink::isValid() * A pointer to the xAOD::AFPTrack object can be retrieved using asterisk operator e.g.
 {.cpp}
   xAOD::AFPTrack* track = *(tracks().at(0));
Returns:

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1