DataFormats
GeometrySurface
interface
MediumProperties.h
Go to the documentation of this file.
1
#ifndef _Surface_MEDIUMPROPERTIES_H_
2
#define _Surface_MEDIUMPROPERTIES_H_
3
12
class
MediumProperties
{
13
public
:
14
MediumProperties
() :
theRadLen
(0),
theXi
(0) {}
15
MediumProperties
(
float
aRadLen,
float
aXi) :
theRadLen
(aRadLen),
theXi
(aXi) {}
16
~MediumProperties
() {}
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
MediumProperties
Definition:
MediumProperties.h:12
MediumProperties::theRadLen
float theRadLen
Definition:
MediumProperties.h:29
MediumProperties::~MediumProperties
~MediumProperties()
Definition:
MediumProperties.h:16
MediumProperties::MediumProperties
MediumProperties()
Definition:
MediumProperties.h:14
MediumProperties::radLen
float radLen() const
Definition:
MediumProperties.h:20
MediumProperties::MediumProperties
MediumProperties(float aRadLen, float aXi)
Definition:
MediumProperties.h:15
MediumProperties::theXi
float theXi
Definition:
MediumProperties.h:30
MediumProperties::xi
float xi() const
Definition:
MediumProperties.h:24
MediumProperties::isValid
bool isValid() const
Definition:
MediumProperties.h:26
Generated for CMSSW Reference Manual by
1.8.14