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

ITrExtrapolator.h File Reference

#include "GaudiKernel/IAlgTool.h"
#include "Kernel/ParticleID.h"
#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Geometry/Point3D.h"
#include "CLHEP/Geometry/Vector3D.h"
#include "CLHEP/Geometry/Plane3D.h"

Go to the source code of this file.

Compounds

class  ITrExtrapolator

Defines

#define TRKERNEL_ITREXTRAPOLATOR_H   1

Functions

const InterfaceID IID_ITrExtrapolator ("ITrExtrapolator", 1, 0)
StatusCode propagate (const TrTrack *track, double z, TrState *state, ParticleID &pid=ParticleID(211))


Define Documentation

#define TRKERNEL_ITREXTRAPOLATOR_H   1
 

Definition at line 3 of file ITrExtrapolator.h.


Function Documentation

const InterfaceID IID_ITrExtrapolator "ITrExtrapolator  ,
 ,
 
[static]
 

Referenced by ITrExtrapolator::interfaceID.

StatusCode propagate const TrTrack   track,
double    z,
TrState   state,
ParticleID &    pid = ParticleID(211)
[inline]
 

Definition at line 151 of file ITrExtrapolator.h.

References TrState::clone.

00155 {
00156   // check the track
00157   if ( !track ) {
00158      return Error( "propagate() should be called with a pointer to a TrTrack !",
00159                    StatusCode::FAILURE);
00160   }
00161 
00162   // get state closest to z
00163   const TrState* closest = track -> closestState( z );
00164   state = closest->clone();
00165 
00166   // propagate the closest state
00167   StatusCode sc = propagate( state, z, pid );
00168 
00169   return sc;
00170 }


Generated on Tue Dec 7 10:30:19 2004 for New Track Event Model by doxygen 1.2.14 written by Dimitri van Heesch, © 1997-2002