GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | List of all members
gear::GearDistanceProperties Class Referenceabstract

Abstract interface for a class that returns the (material) properties along a given distance between two points in in world coordinates. More...

#include <GearDistanceProperties.h>

Inheritance diagram for gear::GearDistanceProperties:
gear::CGAGearDistanceProperties gear::TGeoGearDistanceProperties

Public Member Functions

virtual ~GearDistanceProperties ()
 Destructor.
 
virtual const std::vector
< std::string > & 
getMaterialNames (const Vector3D &p0, const Vector3D &p1) const =0
 List of material names along the distance between [p0,p1] - WARNING: this method returns a reference to a vector that will change after the next call to this method with different arguments or if the GearDistanceProperties object goes out of scope. More...
 
virtual const std::vector
< double > & 
getMaterialThicknesses (const Vector3D &p0, const Vector3D &p1) const =0
 List of matrial thicknesses in mm along the distance between [p0,p1] - runs parallel to the array returned by getMaterialNames() - WARNING: this method returns a reference to a vector that will change after the next call to this method with different arguments or if the GearDistanceProperties object goes out of scope. More...
 
virtual double getNRadlen (const Vector3D &p0, const Vector3D &p1) const =0
 The number of radiation lengths along the distance between [p0,p1] .
 
virtual double getNIntlen (const Vector3D &p0, const Vector3D &p1) const =0
 The number of interaction lengths along the distance between [p0,p1] .
 
virtual double getBdL (const Vector3D &p0, const Vector3D &p1) const =0
 The integrated magnetic field along the distance between [p0,p1] in Tesla*mm.
 
virtual double getEdL (const Vector3D &p0, const Vector3D &p1) const =0
 The integrated electric field along the distance between [p0,p1] in mVolt.
 

Detailed Description

Abstract interface for a class that returns the (material) properties along a given distance between two points in in world coordinates.

No assumption is made on the tool used to implement the functionality.

Based on ideas discussed at the 2004 Argonne Simulation Workshop as summarized by T.Behnke.

Author
F. Gaede, DESY
Version
$Id$

Definition at line 21 of file GearDistanceProperties.h.

Member Function Documentation

virtual const std::vector<std::string>& gear::GearDistanceProperties::getMaterialNames ( const Vector3D p0,
const Vector3D p1 
) const
pure virtual

List of material names along the distance between [p0,p1] - WARNING: this method returns a reference to a vector that will change after the next call to this method with different arguments or if the GearDistanceProperties object goes out of scope.

It is the users responsibility to make a copy of that vector if needed.

Implemented in gear::TGeoGearDistanceProperties, and gear::CGAGearDistanceProperties.

virtual const std::vector<double>& gear::GearDistanceProperties::getMaterialThicknesses ( const Vector3D p0,
const Vector3D p1 
) const
pure virtual

List of matrial thicknesses in mm along the distance between [p0,p1] - runs parallel to the array returned by getMaterialNames() - WARNING: this method returns a reference to a vector that will change after the next call to this method with different arguments or if the GearDistanceProperties object goes out of scope.

It is the users responsibility to make a copy of that vector if needed.

Implemented in gear::TGeoGearDistanceProperties, and gear::CGAGearDistanceProperties.


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