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_GEARMGR_H 00008 #define GEAR_GEARMGR_H 1 00009 00010 // -*- Java -*- 00011 00012 #include <string> 00013 #include <vector> 00014 00015 #include "GEAR.h" 00016 #include "gear/GearParameters.h" 00017 00018 namespace gear { 00019 00020 class CalorimeterParameters; 00021 class GearDistanceProperties; 00022 class GearPointProperties; 00023 class TPCParameters; 00024 00032 class GearMgr { 00033 00034 public: 00036 virtual ~GearMgr() { /* nop */; } 00037 00043 virtual const GearParameters & getGearParameters(const std::string & key) const throw (UnknownParameterException, std::exception ) = 0; 00044 00049 virtual const TPCParameters & getTPCParameters() const throw (UnknownParameterException, std::exception ) = 0; 00050 00055 virtual const CalorimeterParameters & getEcalBarrelParameters() const throw (UnknownParameterException, std::exception ) = 0; 00056 00061 virtual const CalorimeterParameters & getEcalEndcapParameters() const throw (UnknownParameterException, std::exception ) = 0; 00062 00067 virtual const CalorimeterParameters & getHcalBarrelParameters() const throw (UnknownParameterException, std::exception ) = 0; 00068 00073 virtual const CalorimeterParameters & getHcalEndcapParameters() const throw (UnknownParameterException, std::exception ) = 0; 00074 00079 virtual const GearPointProperties & getPointProperties() const throw (NotImplementedException, std::exception ) = 0; 00080 00085 virtual const GearDistanceProperties & getDistanceProperties() const throw (NotImplementedException, std::exception ) = 0; 00086 00089 virtual const std::vector<std::string> & getGearParameterKeys() const = 0; 00090 00094 virtual void setGearParameters(const std::string & key, GearParameters * gearParameters) = 0; 00095 00098 virtual void setTPCParameters(TPCParameters * tpcParameters) = 0; 00099 00102 virtual void setEcalBarrelParameters(CalorimeterParameters * ecalBarrelParameters) = 0; 00103 00106 virtual void setEcalEndcapParameters(CalorimeterParameters * ecalEndcapParameters) = 0; 00107 00110 virtual void setHcalBarrelParameters(CalorimeterParameters * hcalBarrelParameters) = 0; 00111 00114 virtual void setHcalEndcapParameters(CalorimeterParameters * hcalEndcapParameters) = 0; 00115 00118 virtual void setPointProperties(GearPointProperties * pointProperties) = 0; 00119 00122 virtual void setDistanceProperties(GearDistanceProperties * distanceProperties) = 0; 00123 }; // class 00124 } // namespace gear 00125 #endif /* ifndef GEAR_GEARMGR_H */