/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Mdc/MdcGeomSvc/MdcGeomSvc-00-01-37/MdcGeomSvc/MdcGeoSuper.h

Go to the documentation of this file.
00001 // $Id: MdcGeoSuper.h,v 1.1.1.1 2005/02/25 09:13:20 codeman Exp $ // -*-c++-*-
00002 // header file for a class called "MdcGeoSuper"
00003 #ifndef MDC_GEO_SUPER_H
00004 #define MDC_GEO_SUPER_H
00005 
00006 #include <iostream>
00007 
00008 class MdcGeoSuper {
00009 
00010   public:
00011     // Constructor.
00012      MdcGeoSuper():fId(0),fUpperR(0),fLowerR(0),fType(-1){};
00013 
00014     // Copy and Assignment
00015      MdcGeoSuper(const MdcGeoSuper& e):fId(e.Id()),fUpperR(e.UpperR()),fLowerR(e.LowerR()),fType(e.Type()){};
00016 
00017      MdcGeoSuper& operator=(const MdcGeoSuper& e) {
00018        if(this!=&e)
00019         {
00020         fId=e.Id();
00021         fUpperR=e.UpperR();
00022         fLowerR=e.LowerR();
00023         fType=e.Type();
00024         }
00025        return *this;
00026      }
00027 
00028     // Destructor
00029     ~MdcGeoSuper(){};
00030 
00031   public: // Extractors
00032     int Id(void) const {return fId; };
00033     double UpperR(void) const { return fUpperR; };
00034     double LowerR(void) const { return fLowerR; };
00035     int Type(void) const { return fType; };
00036 
00037   public: // Modifiers
00038     int Id(int i) { return fId=i; };
00039     double UpperR(double i) { return fUpperR=i; };
00040     double LowerR(double i) { return fLowerR=i; };
00041     int Type(int i) { return fType=i; };
00042 
00043   private:
00044     int fId;
00045     double fUpperR;
00046     double fLowerR;
00047     int fType;
00048 };
00049 
00050 #endif /* MdcGeoSuper_CLASS */
00051 

Generated on Tue Nov 29 23:12:53 2016 for BOSS_7.0.2 by  doxygen 1.4.7