CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MediumProperties.h
Go to the documentation of this file.
1 #ifndef _Surface_MEDIUMPROPERTIES_H_
2 #define _Surface_MEDIUMPROPERTIES_H_
3 
4 
14 public:
16  MediumProperties(float aRadLen, float aXi) :
17  theRadLen(aRadLen), theXi(aXi) {}
19 
22  float radLen() const {
23  return theRadLen;
24  }
28  float xi() const {
29  return theXi;
30  }
31 
32  bool isValid() const { return theRadLen!=0 || theXi!=0;}
33 
34 private:
35  float theRadLen;
36  float theXi;
37 
38 };
39 #endif
float radLen() const
MediumProperties(float aRadLen, float aXi)
float xi() const
bool isValid() const