Project
Loading...
Searching...
No Matches
o2::tpc::Point Class Reference

#include <Point.h>

Inherits o2::BasicXYZEHit< float >.

Public Member Functions

 Point ()=default
 Default constructor.
 
 Point (float x, float y, float z, float time, float nElectrons, float trackID, float detID)
 
 ~Point ()=default
 Destructor.
 
void Print (const Option_t *opt) const
 Output to screen.
 
- Public Member Functions inherited from o2::BasicXYZEHit< float >
float GetEnergyLoss () const
 
void SetEnergyLoss (float val)
 
 ClassDefNV (BasicXYZEHit, 1)
 
- Public Member Functions inherited from o2::BasicXYZVHit< T, E, V >
 BasicXYZVHit ()=default
 
 BasicXYZVHit (T x, T y, T z, E time, V val, int trackid, short did)
 
GetX () const
 
GetY () const
 
GetZ () const
 
math_utils::Point3D< T > GetPos () const
 
GetHitValue () const
 
GetTime () const
 
short GetDetectorID () const
 
void SetTime (E time)
 
void SetHitValue (V val)
 
void SetDetectorID (short detID)
 
void SetX (T x)
 
void SetY (T y)
 
void SetZ (T z)
 
void SetXYZ (T x, T y, T z)
 
void SetPos (math_utils::Point3D< T > const &p)
 
 ClassDefNV (BasicXYZVHit, 1)
 
- Public Member Functions inherited from o2::BaseHit
 BaseHit ()=default
 
 BaseHit (int id)
 
int GetTrackID () const
 
void SetTrackID (int id)
 

Detailed Description

Definition at line 186 of file Point.h.

Constructor & Destructor Documentation

◆ Point() [1/2]

o2::tpc::Point::Point ( )
default

Default constructor.

◆ Point() [2/2]

o2::tpc::Point::Point ( float  x,
float  y,
float  z,
float  time,
float  nElectrons,
float  trackID,
float  detID 
)
inline

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCcoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 216 of file Point.h.

◆ ~Point()

o2::tpc::Point::~Point ( )
default

Destructor.

Member Function Documentation

◆ Print()

void Point::Print ( const Option_t *  opt) const

Output to screen.

Definition at line 20 of file Point.cxx.


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