Celeritas 0.7+cf8d83d
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::GeantTrackView< Ownership::reference > Class Reference
Inheritance diagram for celeritas::GeantTrackView< Ownership::reference >:
Inheritance graph
[legend]

Public Types

Type aliases
using Energy = typename Base::Energy
 
using Length = typename Base::Length
 
using Time = typename Base::Time
 
using Real3 = typename Base::Real3
 
using ClhepLength3 = typename Base::ClhepLength3
 
- Public Types inherited from celeritas::GeantTrackView< Ownership::const_reference >
using real_type = double
 
using Energy = units::ClhepEnergy
 
using Length = lengthunits::ClhepLength
 
using Time = units::ClhepTime
 
using Real3 = Array< double, 3 >
 
using ClhepLength3 = Array< Length, 3 >
 

Public Member Functions

 GeantTrackView (G4Track &track)
 
void pos (ClhepLength3 const &position)
 
void dir (Real3 const &direction)
 
void energy (Energy e)
 
void time (Time t)
 
void weight (real_type w)
 Set statistical weight.
 
G4Tracktrack ()
 Access mutable track reference (safe: constructed from non-const)
 
auto dir () const -> Real3
 
Energy energy () const
 
auto pos () const -> ClhepLength3
 
Time time () const
 
real_type weight () const
 Statistical weight.
 
G4Track constctrack () const
 Access the G4 track directly (const)
 
G4Track consttrack () const
 Access the G4 track directly.
 
- Public Member Functions inherited from celeritas::GeantTrackView< Ownership::const_reference >
 GeantTrackView (G4Track const &track)
 
GeantParticleView particle () const
 
auto pos () const -> ClhepLength3
 
auto dir () const -> Real3
 
Energy energy () const
 
Time time () const
 
real_type weight () const
 Statistical weight.
 
G4Track consttrack () const
 Access the G4 track directly.
 
G4Track constctrack () const
 Access the G4 track directly (const)
 

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