travex
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
tvx::Hit Class Reference

A simple class to contain basic properties of a hit registered by an active material in a detector. More...

#include <Hit.h>

Inheritance diagram for tvx::Hit:
tvx::GenericHit< TVector3 >

Public Member Functions

 Hit ()
 
const TVector3 & GetPosition () const
 
virtual void Print (Option_t *opt="") const
 
- Public Member Functions inherited from tvx::GenericHit< TVector3 >
virtual ~GenericHit ()
 

Private Attributes

TVector3 fPosition
 Global coordinates of the hit in the STAR CS. More...
 
std::uint8_t fTimesUsed
 The number of tracks this hit was assigned to. More...
 

Friends

bool operator< (const Hit &lhs, const Hit &rhs)
 

Additional Inherited Members

- Public Types inherited from tvx::GenericHit< TVector3 >
enum  Status
 
typedef TVector3 Coordinates_t
 

Detailed Description

A simple class to contain basic properties of a hit registered by an active material in a detector.

Definition at line 21 of file Hit.h.

Constructor & Destructor Documentation

tvx::Hit::Hit ( )

Definition at line 5 of file Hit.cxx.

Member Function Documentation

const TVector3& tvx::Hit::GetPosition ( ) const
inlinevirtual

Implements tvx::GenericHit< TVector3 >.

Definition at line 27 of file Hit.h.

void tvx::Hit::Print ( Option_t *  opt = "") const
virtual

Definition at line 12 of file Hit.cxx.

Friends And Related Function Documentation

bool operator< ( const Hit lhs,
const Hit rhs 
)
friend

Member Data Documentation

TVector3 tvx::Hit::fPosition
private

Global coordinates of the hit in the STAR CS.

Definition at line 35 of file Hit.h.

std::uint8_t tvx::Hit::fTimesUsed
private

The number of tracks this hit was assigned to.

Definition at line 36 of file Hit.h.


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