Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:34:25

0001 //   COCOA class header file
0002 // Id:  CocoaMaterialElementary.h
0003 // CAT: Model
0004 //
0005 //   Class to manage the sets of fitted entries (one set per each measurement
0006 //   data set)
0007 //
0008 //   History: v1.0
0009 //   Pedro Arce
0010 
0011 #ifndef _CocoaMaterialElementary_HH
0012 #define _CocoaMaterialElementary_HH
0013 
0014 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0015 
0016 class CocoaMaterialElementary {
0017 public:
0018   //---------- Constructors / Destructor
0019   CocoaMaterialElementary(ALIstring name, float density, ALIstring symbol, float A, ALIint Z);
0020   ~CocoaMaterialElementary() {}
0021 
0022   ALIstring getName() const { return theName; }
0023   float getDensity() const { return theDensity; }
0024   ALIstring getSymbol() const { return theSymbol; }
0025   float getA() const { return theA; }
0026   ALIint getZ() const { return theZ; }
0027 
0028   ALIbool operator==(const CocoaMaterialElementary &mate) const;
0029 
0030 private:
0031   ALIstring theName;
0032   float theDensity;
0033   ALIstring theSymbol;
0034   float theA;
0035   ALIint theZ;
0036 };
0037 
0038 #endif