CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CocoaMaterialElementary.h
Go to the documentation of this file.
1 // COCOA class header file
2 // Id: CocoaMaterialElementary.h
3 // CAT: Model
4 //
5 // Class to manage the sets of fitted entries (one set per each measurement
6 // data set)
7 //
8 // History: v1.0
9 // Pedro Arce
10 
11 #ifndef _CocoaMaterialElementary_HH
12 #define _CocoaMaterialElementary_HH
13 
15 
17 public:
18  //---------- Constructors / Destructor
19  CocoaMaterialElementary(ALIstring name, float density, ALIstring symbol, float A, ALIint Z);
21 
22  ALIstring getName() const { return theName; }
23  float getDensity() const { return theDensity; }
24  ALIstring getSymbol() const { return theSymbol; }
25  float getA() const { return theA; }
26  ALIint getZ() const { return theZ; }
27 
28  ALIbool operator==(const CocoaMaterialElementary &mate) const;
29 
30 private:
32  float theDensity;
34  float theA;
36 };
37 
38 #endif
int ALIint
Definition: CocoaGlobals.h:15
CocoaMaterialElementary(ALIstring name, float density, ALIstring symbol, float A, ALIint Z)
bool ALIbool
Definition: CocoaGlobals.h:19
ALIbool operator==(const CocoaMaterialElementary &mate) const
std::string ALIstring
Definition: CocoaGlobals.h:9