CMS 3D CMS Logo

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 data set)
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef _CocoaMaterialElementary_HH
11 #define _CocoaMaterialElementary_HH
12 
14 
15 
17 {
18 
19 public:
20  //---------- Constructors / Destructor
21  CocoaMaterialElementary( ALIstring name, float density, ALIstring symbol, float A, ALIint Z );
23 
24  ALIstring getName() const {
25  return theName; }
26  float getDensity() const {
27  return theDensity; }
28  ALIstring getSymbol() const {
29  return theSymbol; }
30  float getA() const {
31  return theA; }
32  ALIint getZ() const {
33  return theZ; }
34 
35  ALIbool operator==(const CocoaMaterialElementary& mate ) const;
36 
37 private:
38 
40  float theDensity;
42  float theA;
44 
45 };
46 
47 #endif
48 
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