Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

RCParticle Class Reference

Subclass of GParticle used in Analysis and Reconstruction. More...

#include <RCParticle.h>

Inheritance diagram for RCParticle:

GParticle HepLorentzVector List of all members.

Public Types

typedef std::vector<StepStepList
typedef std::vector<Step>::const_iterator const_iterator
enum  Status {
  ALIVE, LEFT, LOST, STUCK,
  DONE
}
 Propagation status. More...


Public Methods

 RCParticle (Point x0, Vector t0, float dist)
 constructor. More...

 ~RCParticle ()
 destructor. More...

RCParticle::Status status () const
 return status. More...

void setStatus (RCParticle::Status)
 set status. More...

void setMaxArcLength (float dist)
 set max distance to project. More...

float increaseMaxArcLenBy (float dist)
 set max distance to project. More...

virtual void propagate ()
 propagate the trajectory to m_MaxArcLen. More...

bool propagate (const char * title)
 propagate the trajectory to Medium with title. More...

void printOn ( std::ostream& ) const
 print this one,. More...

int stepCount () const
 return properties associated with the propagation. More...

float stepLength () const
float arclength () const
float radlength () const
float currentTime () const
Point position (float s) const
Point position () const
Point getHit (int) const
Vector direction (float s) const
Vector direction () const
float mScat_Angle (float momentum, float s) const
float mScat_Angle (float momentum, int step_no) const
float mScat_Dist (float momentum, float s) const
float mScat_Dist (float momentum, int step_no) const
const Mediummedium () const
 Pointer to last Medium in which particle was propagated. More...

int findMedium (const char * name) const
 Step number for Medium named title. More...

const MediumgetCurrentMedium ()
 access to the current medium used in propagation. More...

const MediumgetMedium (int) const
 access to the ith medium found in propagation. More...

const StepListsteps () const
const_iterator begin () const
const_iterator end () const

Static Public Attributes

const Mediums_world = 0

Protected Methods

void stepBy (float, Ray&)
void ini ()

Protected Attributes

Status m_status
const Mediumm_lastMedium
StepList m_stepList
double m_startingEnergy
float m_arcLength
float m_radLength
float m_properTime
float m_step
float m_maxStep
float m_maxArcLen
int m_stepcount
const Mediumm_currentMedium

Detailed Description

Subclass of GParticle used in Analysis and Reconstruction.

Definition at line 20 of file RCParticle.h.


Member Typedef Documentation

typedef std::vector<Step> RCParticle::StepList
 

Definition at line 107 of file RCParticle.h.

typedef std::vector<Step>::const_iterator RCParticle::const_iterator
 

Definition at line 108 of file RCParticle.h.


Member Enumeration Documentation

enum RCParticle::Status
 

Propagation status.

Enumeration values:
ALIVE  
LEFT  
LOST  
STUCK  
DONE  

Definition at line 31 of file RCParticle.h.


Constructor & Destructor Documentation

RCParticle::RCParticle ( Point x0,
Vector t0,
float dist = 0 )
 

constructor.

Definition at line 33 of file RCParticle.cxx.

RCParticle::~RCParticle ( )
 

destructor.

Definition at line 47 of file RCParticle.cxx.


Member Function Documentation

float RCParticle::arclength ( ) const [inline]
 

Definition at line 148 of file RCParticle.h.

const_iterator RCParticle::begin ( ) const [inline]
 

Definition at line 111 of file RCParticle.h.

float RCParticle::currentTime ( ) const [inline]
 

Definition at line 150 of file RCParticle.h.

Vector RCParticle::direction ( ) const [inline]
 

Reimplemented from GParticle.

Definition at line 155 of file RCParticle.h.

Vector RCParticle::direction ( float s ) const [inline]
 

Definition at line 163 of file RCParticle.h.

const_iterator RCParticle::end ( ) const [inline]
 

Definition at line 112 of file RCParticle.h.

int RCParticle::findMedium ( const char * name ) const
 

Step number for Medium named title.

Definition at line 305 of file RCParticle.cxx.

const Medium * RCParticle::getCurrentMedium ( ) [inline]
 

access to the current medium used in propagation.

Definition at line 76 of file RCParticle.h.

Point RCParticle::getHit ( int ith ) const [inline]
 

Definition at line 173 of file RCParticle.h.

const Medium * RCParticle::getMedium ( int ith ) const [inline]
 

access to the ith medium found in propagation.

Definition at line 169 of file RCParticle.h.

float RCParticle::increaseMaxArcLenBy ( float dist ) [inline]
 

set max distance to project.

Definition at line 143 of file RCParticle.h.

void RCParticle::ini ( ) [protected]
 

Definition at line 52 of file RCParticle.cxx.

Referenced by RCParticle().

float RCParticle::mScat_Angle ( float momentum,
int step_no ) const
 

Definition at line 235 of file RCParticle.cxx.

float RCParticle::mScat_Angle ( float momentum,
float s ) const
 

Definition at line 212 of file RCParticle.cxx.

float RCParticle::mScat_Dist ( float momentum,
int step_no ) const
 

Definition at line 279 of file RCParticle.cxx.

float RCParticle::mScat_Dist ( float momentum,
float s ) const
 

Definition at line 252 of file RCParticle.cxx.

const Medium * RCParticle::medium ( ) const [inline]
 

Pointer to last Medium in which particle was propagated.

Definition at line 168 of file RCParticle.h.

Point RCParticle::position ( ) const [inline]
 

Reimplemented from GParticle.

Definition at line 151 of file RCParticle.h.

Referenced by propagate().

Point RCParticle::position ( float s ) const [inline]
 

Definition at line 159 of file RCParticle.h.

void RCParticle::printOn ( std::ostream & str ) const [virtual]
 

print this one,.

Reimplemented from GParticle.

Definition at line 319 of file RCParticle.cxx.

bool RCParticle::propagate ( const char * stop_med_title )
 

propagate the trajectory to Medium with title.

Definition at line 127 of file RCParticle.cxx.

void RCParticle::propagate ( ) [virtual]
 

propagate the trajectory to m_MaxArcLen.

Definition at line 66 of file RCParticle.cxx.

Referenced by RCParticle().

float RCParticle::radlength ( ) const [inline]
 

Definition at line 149 of file RCParticle.h.

void RCParticle::setMaxArcLength ( float dist ) [inline]
 

set max distance to project.

Definition at line 142 of file RCParticle.h.

void RCParticle::setStatus ( RCParticle::Status s ) [inline]
 

set status.

Definition at line 139 of file RCParticle.h.

Referenced by propagate().

RCParticle::Status RCParticle::status ( ) const [inline]
 

return status.

Definition at line 138 of file RCParticle.h.

Referenced by propagate().

void RCParticle::stepBy ( float step,
Ray & path ) [protected]
 

Definition at line 191 of file RCParticle.cxx.

Referenced by propagate().

int RCParticle::stepCount ( ) const [inline]
 

return properties associated with the propagation.

Definition at line 140 of file RCParticle.h.

float RCParticle::stepLength ( ) const [inline]
 

Definition at line 147 of file RCParticle.h.

const StepList & RCParticle::steps ( ) const [inline]
 

Definition at line 110 of file RCParticle.h.


Member Data Documentation

float RCParticle::m_arcLength [protected]
 

Definition at line 127 of file RCParticle.h.

const Medium * RCParticle::m_currentMedium [protected]
 

Definition at line 134 of file RCParticle.h.

const Medium * RCParticle::m_lastMedium [protected]
 

Definition at line 120 of file RCParticle.h.

float RCParticle::m_maxArcLen [protected]
 

Definition at line 132 of file RCParticle.h.

float RCParticle::m_maxStep [protected]
 

Definition at line 131 of file RCParticle.h.

float RCParticle::m_properTime [protected]
 

Definition at line 129 of file RCParticle.h.

float RCParticle::m_radLength [protected]
 

Definition at line 128 of file RCParticle.h.

double RCParticle::m_startingEnergy [protected]
 

Definition at line 126 of file RCParticle.h.

Status RCParticle::m_status [protected]
 

Definition at line 119 of file RCParticle.h.

float RCParticle::m_step [protected]
 

Definition at line 130 of file RCParticle.h.

StepList RCParticle::m_stepList [protected]
 

Definition at line 124 of file RCParticle.h.

int RCParticle::m_stepcount [protected]
 

Definition at line 133 of file RCParticle.h.

const Medium * RCParticle::s_world = 0 [static]
 

Definition at line 31 of file RCParticle.cxx.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:30 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000