CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MediumProperties.h
Go to the documentation of this file.
1 #ifndef _Surface_MEDIUMPROPERTIES_H_
2 #define _Surface_MEDIUMPROPERTIES_H_
3 
13 public:
15  MediumProperties(float aRadLen, float aXi) : theRadLen(aRadLen), theXi(aXi) {}
17 
20  float radLen() const { return theRadLen; }
24  float xi() const { return theXi; }
25 
26  bool isValid() const { return theRadLen != 0 || theXi != 0; }
27 
28 private:
29  float theRadLen;
30  float theXi;
31 };
32 #endif
float radLen() const
MediumProperties(float aRadLen, float aXi)
float xi() const
bool isValid() const