Project
Loading...
Searching...
No Matches
o2::trd::HitPoint Class Reference

#include <CoordinateTransformer.h>

Inherits o2::trd::ChamberSpacePoint.

Public Member Functions

 HitPoint (ChamberSpacePoint position, float charge)
 
 HitPoint ()
 
float getCharge ()
 
- Public Member Functions inherited from o2::trd::ChamberSpacePoint
 ChamberSpacePoint (int det=-999)
 
 ChamberSpacePoint (int id, int detector, float x, float y, float z, std::array< float, 3 > rct, bool inDrift)
 
bool isValid () const
 check if the space point has been initialized
 
bool isFromDriftRegion () const
 check if the space point is in the drift region
 
int getID () const
 return the ID of the associated track (either MC or reconstructed)
 
float getX () const
 spatial x coordinate of space point
 
float getY () const
 spatial y coordinate of space point
 
float getZ () const
 spatial z coordinate of space point
 
int getDetector () const
 detector number corresponding to space point
 
int getPadRow () const
 pad row within detector of space point
 
float getPadRowF () const
 
float getPadCol () const
 pad position (a.k.a. column) within pad row
 
float getTimeBin () const
 time coordinate in drift direction
 
float getMCMChannel (int mcmcol) const
 calculate the channel number within the MCM. 0..21 if valid, -1 if not within this MCM
 
bool isInMCM (int detector, int padrow, int mcmcol) const
 

Additional Inherited Members

- Protected Attributes inherited from o2::trd::ChamberSpacePoint
float mX
 calculate MCM corresponding to pad row/column
 
float mY
 
float mZ
 
bool mInDrift
 
int mID
 
int mDetector
 
float mPadrow
 
float mPadcol
 
float mTimebin
 

Detailed Description

A HitPoint is a ChamberSpacePoint with additional charge information, meant to to hold all information about Monte-Carlo hits within a chamber.

Definition at line 98 of file CoordinateTransformer.h.

Constructor & Destructor Documentation

◆ HitPoint() [1/2]

o2::trd::HitPoint::HitPoint ( ChamberSpacePoint  position,
float  charge 
)
inline

Definition at line 101 of file CoordinateTransformer.h.

◆ HitPoint() [2/2]

o2::trd::HitPoint::HitPoint ( )
inline

Definition at line 106 of file CoordinateTransformer.h.

Member Function Documentation

◆ getCharge()

float o2::trd::HitPoint::getCharge ( )
inline

Definition at line 108 of file CoordinateTransformer.h.


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