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 
00017 class Point3D;
00018 
00027 class GearPointProperties {
00028 
00029 public: 
00031     virtual ~GearPointProperties() { /* nop */; }
00032 
00033     //vec getPosition returns the current position (if ID is known)
00036     virtual int getCellID(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00037 
00038     //  bool getMaterial  (true if defined material, false if problem)
00041     virtual const std::string & getMaterialName(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00042 
00045     virtual double getDensity(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00046 
00047 //     /** Name of material at pos.  
00048 //      */
00049 //     public double getState( const Point3D& pos) const throws NotImplementedException ;
00052     virtual double getTemperature(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00053 
00056     virtual double getPressure(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00057 
00060     virtual double getRadlen(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00061 
00064     virtual double getIntlen(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00065 
00068     virtual Point3D getLocalPosition(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00069 
00072     virtual double getB(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00073 
00076     virtual double getE(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00077 
00080     virtual std::vector<std::string>  getListOfLogicalVolumes(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00081 
00084     virtual std::vector<std::string>  getListOfPhysicalVolumes(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00085 
00088     virtual std::string getRegion(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00089 
00092     virtual bool isTracker(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00093 
00096     virtual bool isCalorimeter(const Point3D & pos) const throw (NotImplementedException, std::exception )  = 0;
00097 }; // class
00098 } // namespace gear
00099 #endif /* ifndef GEAR_GEARPOINTPROPERTIES_H */

Generated on Tue Sep 13 17:28:48 2005 for Gear by doxygen 1.3.5