Main Page | Class Hierarchy | Class List | File List | Class Members

GearPointProperties.h

00001 // -*- C++ -*-
00002 // AID-GENERATED
00003 // =========================================================================
00004 // This class was generated by AID - Abstract Interface Definition          
00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 
00006 // =========================================================================
00007 #ifndef GEAR_GEARPOINTPROPERTIES_H
00008 #define GEAR_GEARPOINTPROPERTIES_H 1
00009 
00010 #include <string>
00011 #include <vector>
00012 
00013 #include "GEAR.h"
00014 
00015 namespace gear {
00016 
00025 class GearPointProperties {
00026 
00027 public: 
00029     virtual ~GearPointProperties() { /* nop */; }
00030 
00031     //vec getPosition returns the current position (if ID is known)
00034     virtual long64 getCellID(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00035 
00036     //  bool getMaterial  (true if defined material, false if problem)
00039     virtual const std::string & getMaterialName(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00040 
00043     virtual double getDensity(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00044 
00045 //     /** Name of material at pos.  
00046 //      */
00047 //     public double getState( const Point3D& pos) const throws NotImplementedException ;
00050     virtual double getTemperature(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00051 
00054     virtual double getPressure(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00055 
00058     virtual double getRadlen(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00059 
00062     virtual double getIntlen(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00063 
00066     virtual Point3D getLocalPosition(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00067 
00070     virtual Vector3D getB(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00071 
00074     virtual Vector3D getE(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00075 
00078     virtual std::vector<std::string>  getListOfLogicalVolumes(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00079 
00082     virtual std::vector<std::string>  getListOfPhysicalVolumes(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00083 
00086     virtual std::string getRegion(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00087 
00090     virtual bool isTracker(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00091 
00094     virtual bool isCalorimeter(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00095 }; // class
00096 } // namespace gear
00097 #endif /* ifndef GEAR_GEARPOINTPROPERTIES_H */

Generated on Tue Sep 5 11:36:29 2006 for Gear by doxygen 1.3.5