LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
sim::MCStep Class Reference

#include "MCStep.h"

Public Member Functions

 MCStep ()
 
 MCStep (const TLorentzVector &p, const TLorentzVector &m)
 
virtual ~MCStep ()
 
const TLorentzVector & Momentum () const
 
const TLorentzVector & Position () const
 
double X () const
 
double Y () const
 
double Z () const
 
double T () const
 
double Px () const
 
double Py () const
 
double Pz () const
 
double E () const
 
void SetPosition (const TLorentzVector &v)
 
void SetMomentum (const TLorentzVector &v)
 

Protected Attributes

TLorentzVector _position
 
TLorentzVector _momentum
 

Detailed Description

Definition at line 25 of file MCStep.h.

Constructor & Destructor Documentation

sim::MCStep::MCStep ( )
inline

Definition at line 29 of file MCStep.h.

29 {};
sim::MCStep::MCStep ( const TLorentzVector &  p,
const TLorentzVector &  m 
)
inline

Definition at line 31 of file MCStep.h.

32  : _position(p),
33  _momentum(m)
34  {}
TLorentzVector _position
Definition: MCStep.h:52
TLorentzVector _momentum
Definition: MCStep.h:58
virtual sim::MCStep::~MCStep ( )
inlinevirtual

Definition at line 36 of file MCStep.h.

36 {}

Member Function Documentation

double sim::MCStep::E ( ) const
inline

Definition at line 49 of file MCStep.h.

References _momentum.

Referenced by trkf::SeedAna::analyze(), and trkf::TrackAna::analyze().

49 {return _momentum.E(); }
TLorentzVector _momentum
Definition: MCStep.h:58
const TLorentzVector& sim::MCStep::Momentum ( ) const
inline
const TLorentzVector& sim::MCStep::Position ( ) const
inline

Definition at line 40 of file MCStep.h.

References _position.

40 {return _position;}
TLorentzVector _position
Definition: MCStep.h:52
double sim::MCStep::Px ( ) const
inline

Definition at line 46 of file MCStep.h.

References _momentum.

46 {return _momentum.Px(); }
TLorentzVector _momentum
Definition: MCStep.h:58
double sim::MCStep::Py ( ) const
inline

Definition at line 47 of file MCStep.h.

References _momentum.

47 {return _momentum.Py(); }
TLorentzVector _momentum
Definition: MCStep.h:58
double sim::MCStep::Pz ( ) const
inline

Definition at line 48 of file MCStep.h.

References _momentum.

48 {return _momentum.Pz(); }
TLorentzVector _momentum
Definition: MCStep.h:58
void sim::MCStep::SetMomentum ( const TLorentzVector &  v)
inline

Definition at line 52 of file MCStep.h.

References _momentum, and _position.

52 { _momentum=v; };
TLorentzVector _momentum
Definition: MCStep.h:58
void sim::MCStep::SetPosition ( const TLorentzVector &  v)
inline

Definition at line 51 of file MCStep.h.

References _position.

51 { _position=v; };
TLorentzVector _position
Definition: MCStep.h:52
double sim::MCStep::T ( ) const
inline

Definition at line 45 of file MCStep.h.

References _position.

Referenced by trkf::SeedAna::analyze(), and trkf::TrackAna::analyze().

45 {return _position.T(); }
TLorentzVector _position
Definition: MCStep.h:52
double sim::MCStep::X ( ) const
inline

Definition at line 42 of file MCStep.h.

References _position.

42 {return _position.X(); }
TLorentzVector _position
Definition: MCStep.h:52
double sim::MCStep::Y ( ) const
inline

Definition at line 43 of file MCStep.h.

References _position.

43 {return _position.Y(); }
TLorentzVector _position
Definition: MCStep.h:52
double sim::MCStep::Z ( ) const
inline

Definition at line 44 of file MCStep.h.

References _position.

44 {return _position.Z(); }
TLorentzVector _position
Definition: MCStep.h:52

Member Data Documentation

TLorentzVector sim::MCStep::_momentum
protected

Definition at line 58 of file MCStep.h.

Referenced by E(), Momentum(), Px(), Py(), Pz(), and SetMomentum().

TLorentzVector sim::MCStep::_position
protected

Definition at line 52 of file MCStep.h.

Referenced by Position(), SetMomentum(), SetPosition(), T(), X(), Y(), and Z().


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