All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
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  {}
pdgs p
Definition: selectors.fcl:22
TLorentzVector _position
Definition: MCStep.h:52
tuple m
now if test mode generate materials, CRT shell, world, gdml header else just generate CRT shell for u...
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.

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

Definition at line 38 of file MCStep.h.

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

Definition at line 40 of file MCStep.h.

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

Definition at line 46 of file MCStep.h.

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

Definition at line 47 of file MCStep.h.

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

Definition at line 48 of file MCStep.h.

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.

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.

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

Definition at line 45 of file MCStep.h.

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

Definition at line 42 of file MCStep.h.

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

Definition at line 43 of file MCStep.h.

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

Definition at line 44 of file MCStep.h.

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.

TLorentzVector sim::MCStep::_position
protected

Definition at line 52 of file MCStep.h.


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