00001 // COCOA class header file 00002 //Id: CocoaMaterialElementary.h 00003 //CAT: Model 00004 // 00005 // Class to manage the sets of fitted entries (one set per each measurement data set) 00006 // 00007 // History: v1.0 00008 // Pedro Arce 00009 00010 #ifndef _CocoaMaterialElementary_HH 00011 #define _CocoaMaterialElementary_HH 00012 00013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h" 00014 00015 00016 class CocoaMaterialElementary 00017 { 00018 00019 public: 00020 //---------- Constructors / Destructor 00021 CocoaMaterialElementary( ALIstring name, float density, ALIstring symbol, ALIint A, ALIint Z ); 00022 ~CocoaMaterialElementary(){ }; 00023 00024 ALIstring getName() const { 00025 return theName; } 00026 float getDensity() const { 00027 return theDensity; } 00028 ALIstring getSymbol() const { 00029 return theSymbol; } 00030 ALIint getA() const { 00031 return theA; } 00032 ALIint getZ() const { 00033 return theZ; } 00034 00035 ALIbool operator==(const CocoaMaterialElementary& mate ) const; 00036 00037 private: 00038 00039 ALIstring theName; 00040 float theDensity; 00041 ALIstring theSymbol; 00042 ALIint theA; 00043 ALIint theZ; 00044 00045 }; 00046 00047 #endif 00048