00001 // $Id: TrackTransportStep.h,v 1.1 2005/03/16 14:10:05 hernando Exp $ 00002 #ifndef TRACKTRANSPORTSTEP_H 00003 #define TRACKTRANSPORTSTEP_H 1 00004 00005 // Forward declaration 00006 #include "Tools/ITrackExtrapolator.h" 00007 00016 class TrackTransportStep{ 00017 00018 public: 00019 00021 TrackTransportStep( ITrackExtrapolator* extrapolator, double zStop) 00022 : m_extrapolator( extrapolator ) 00023 , m_Z( zStop ) 00024 { 00025 }; 00026 00028 ~TrackTransportStep(){}; 00029 00031 ITrackExtrapolator* extrapolator() const; 00032 00034 double z() const; 00035 00036 private: 00037 00038 ITrackExtrapolator* m_extrapolator; 00039 double m_Z; 00040 00041 }; 00042 00043 inline ITrackExtrapolator* TrackTransportStep::extrapolator() const{ 00044 return m_extrapolator; 00045 } 00046 00047 inline double TrackTransportStep::z() const{ 00048 return m_Z; 00049 } 00050 00051 #endif // TRACKTRANSPORTSTEP_H 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062