Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

CalMatGeo Class Reference

#include <CalDetGeo.h>

Inheritance diagram for CalMatGeo::

CalGeo CalDetGeo List of all members.

Public Methods

 CalMatGeo ()
 CalMatGeo (Point p, Point s)
 CalMatGeo (std::string name, double d, Point p, Point s)
void setMaterial (std::string name, double d)
std::string material () const
double X0 () const
double radLen ()

Private Attributes

std::string m_material
double m_X0

Constructor & Destructor Documentation

CalMatGeo::CalMatGeo   [inline]
 

Definition at line 39 of file CalDetGeo.h.

00039 {}

CalMatGeo::CalMatGeo Point    p,
Point    s
[inline]
 

Definition at line 40 of file CalDetGeo.h.

References m_material, and m_X0.

00040 :m_material("vacuum"),m_X0(0), CalGeo(p,s){}

CalMatGeo::CalMatGeo std::string    name,
double    d,
Point    p,
Point    s
[inline]
 

Definition at line 41 of file CalDetGeo.h.

References m_material, and m_X0.

00041                                                              :m_material("vacuum"),
00042                 m_X0(0), CalGeo(p,s){}


Member Function Documentation

std::string CalMatGeo::material   const [inline]
 

Definition at line 46 of file CalDetGeo.h.

References m_material.

00046 {return m_material;}

double CalMatGeo::radLen  
 

Definition at line 18 of file CalDetGeo.cpp.

00020 {
00021         return 2.*size().z()/X0();
00022 }

void CalMatGeo::setMaterial std::string    name,
double    d
 

Definition at line 11 of file CalDetGeo.cpp.

00013 {
00014         m_material = name;
00015         m_X0 = d;
00016 }

double CalMatGeo::X0   const [inline]
 

Definition at line 47 of file CalDetGeo.h.

References m_X0.

00047 {return m_X0;}


Member Data Documentation

std::string CalMatGeo::m_material [private]
 

Definition at line 52 of file CalDetGeo.h.

Referenced by CalMatGeo(), and material().

double CalMatGeo::m_X0 [private]
 

Definition at line 53 of file CalDetGeo.h.

Referenced by CalMatGeo(), and X0().


The documentation for this class was generated from the following files:
Generated on Thu Nov 29 16:38:53 2001 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001