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
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
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
ALIbool
bool ALIbool
Definition: CocoaGlobals.h:19
CocoaMaterialElementary::CocoaMaterialElementary
CocoaMaterialElementary(ALIstring name, float density, ALIstring symbol, float A, ALIint Z)
Definition: CocoaMaterialElementary.cc:13
CocoaMaterialElementary::theA
float theA
Definition: CocoaMaterialElementary.h:34
CocoaMaterialElementary::theName
ALIstring theName
Definition: CocoaMaterialElementary.h:31
CocoaMaterialElementary::getA
float getA() const
Definition: CocoaMaterialElementary.h:25
ALIstring
std::string ALIstring
Definition: CocoaGlobals.h:9
CocoaMaterialElementary::getZ
ALIint getZ() const
Definition: CocoaMaterialElementary.h:26
CocoaMaterialElementary::~CocoaMaterialElementary
~CocoaMaterialElementary()
Definition: CocoaMaterialElementary.h:20
CocoaMaterialElementary::theZ
ALIint theZ
Definition: CocoaMaterialElementary.h:35
CocoaMaterialElementary::getDensity
float getDensity() const
Definition: CocoaMaterialElementary.h:23
A
CocoaMaterialElementary::theSymbol
ALIstring theSymbol
Definition: CocoaMaterialElementary.h:33
DOFs::Z
Definition: AlignPCLThresholdsWriter.cc:37
CocoaMaterialElementary::theDensity
float theDensity
Definition: CocoaMaterialElementary.h:32
CocoaMaterialElementary::operator==
ALIbool operator==(const CocoaMaterialElementary &mate) const
Definition: CocoaMaterialElementary.cc:16
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
ALIint
int ALIint
Definition: CocoaGlobals.h:15
CocoaGlobals.h
CocoaMaterialElementary::getSymbol
ALIstring getSymbol() const
Definition: CocoaMaterialElementary.h:24
CocoaMaterialElementary
Definition: CocoaMaterialElementary.h:16
fastSimProducer_cff.density
density
Definition: fastSimProducer_cff.py:61
CocoaMaterialElementary::getName
ALIstring getName() const
Definition: CocoaMaterialElementary.h:22