FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGeoVolume Class Reference

#include <FairGeoVolume.h>

Inheritance diagram for FairGeoVolume:
FairGeoCompositeVolume FairGeoNode

Public Member Functions

 FairGeoVolume ()
 
 FairGeoVolume (FairGeoVolume &)
 
virtual ~FairGeoVolume ()
 
const TString & getName () const
 
const TString & getShape () const
 
const TString & getMother () const
 
FairGeoTransformgetTransform ()
 
FairGeoTransformgetLabTransform ()
 
FairGeoMediumgetMedium ()
 
Int_t getNumPoints ()
 
FairGeoVectorgetPoint (const Int_t n)
 
void setName (const Text_t *s)
 
void setVolumePar (FairGeoVolume &)
 
void setShape (const Text_t *s)
 
void setMother (const Text_t *s)
 
void createPoints (const Int_t)
 
void setPoint (const Int_t, const Double_t, const Double_t, const Double_t)
 
void setPoint (const Int_t, const FairGeoVector &)
 
virtual void clear ()
 
virtual void print ()
 
virtual void setHadFormat (Int_t i)
 
Double_t getVolParameter (Int_t nPoint, Int_t pos)
 
Int_t getMCid ()
 
void setMCid (Int_t MCid)
 
 ClassDef (FairGeoVolume, 1)
 

Protected Attributes

TString shape
 
TString mother
 
TObjArray * points
 
FairGeoTransform transform
 
FairGeoTransform fLabTransform
 
FairGeoMedium fMedium
 
Int_t nPoints
 
Int_t fHadFormat
 
Int_t fgMCid
 

Detailed Description

basic geometry parameters of a volume

Author
Ilse koenig

Definition at line 25 of file FairGeoVolume.h.

Constructor & Destructor Documentation

FairGeoVolume::FairGeoVolume ( )
inline

Volume Id given by MC

Definition at line 72 of file FairGeoVolume.h.

FairGeoVolume::FairGeoVolume ( FairGeoVolume r)

Definition at line 38 of file FairGeoVolume.cxx.

FairGeoVolume::~FairGeoVolume ( )
virtual

Definition at line 157 of file FairGeoVolume.cxx.

Member Function Documentation

FairGeoVolume::ClassDef ( FairGeoVolume  ,
 
)
void FairGeoVolume::clear ( void  )
virtual

Reimplemented in FairGeoNode, and FairGeoCompositeVolume.

Definition at line 115 of file FairGeoVolume.cxx.

void FairGeoVolume::createPoints ( const Int_t  n)

Definition at line 68 of file FairGeoVolume.cxx.

FairGeoTransform& FairGeoVolume::getLabTransform ( )
inline

Definition at line 49 of file FairGeoVolume.h.

Int_t FairGeoVolume::getMCid ( )
inline

Definition at line 64 of file FairGeoVolume.h.

FairGeoMedium& FairGeoVolume::getMedium ( )
inline

Definition at line 50 of file FairGeoVolume.h.

const TString& FairGeoVolume::getMother ( ) const
inline

Definition at line 47 of file FairGeoVolume.h.

const TString& FairGeoVolume::getName ( ) const
inline

Definition at line 45 of file FairGeoVolume.h.

Int_t FairGeoVolume::getNumPoints ( )
inline

Definition at line 51 of file FairGeoVolume.h.

FairGeoVector * FairGeoVolume::getPoint ( const Int_t  n)
inline

Definition at line 85 of file FairGeoVolume.h.

const TString& FairGeoVolume::getShape ( ) const
inline

Definition at line 46 of file FairGeoVolume.h.

FairGeoTransform& FairGeoVolume::getTransform ( )
inline

Definition at line 48 of file FairGeoVolume.h.

Double_t FairGeoVolume::getVolParameter ( Int_t  nPoint,
Int_t  pos 
)

Definition at line 147 of file FairGeoVolume.cxx.

void FairGeoVolume::print ( )
virtual

Reimplemented in FairGeoNode, and FairGeoCompositeVolume.

Definition at line 130 of file FairGeoVolume.cxx.

virtual void FairGeoVolume::setHadFormat ( Int_t  i)
inlinevirtual

Definition at line 62 of file FairGeoVolume.h.

void FairGeoVolume::setMCid ( Int_t  MCid)
inline

Definition at line 65 of file FairGeoVolume.h.

void FairGeoVolume::setMother ( const Text_t *  s)
inline

Definition at line 106 of file FairGeoVolume.h.

void FairGeoVolume::setName ( const Text_t *  s)
inline

Definition at line 94 of file FairGeoVolume.h.

void FairGeoVolume::setPoint ( const Int_t  n,
const Double_t  x,
const Double_t  y,
const Double_t  z 
)

Definition at line 95 of file FairGeoVolume.cxx.

void FairGeoVolume::setPoint ( const Int_t  n,
const FairGeoVector p 
)

Definition at line 106 of file FairGeoVolume.cxx.

void FairGeoVolume::setShape ( const Text_t *  s)
inline

Definition at line 100 of file FairGeoVolume.h.

void FairGeoVolume::setVolumePar ( FairGeoVolume r)

Definition at line 55 of file FairGeoVolume.cxx.

Member Data Documentation

Int_t FairGeoVolume::fgMCid
protected

Definition at line 39 of file FairGeoVolume.h.

Int_t FairGeoVolume::fHadFormat
protected

number of points

Definition at line 38 of file FairGeoVolume.h.

FairGeoTransform FairGeoVolume::fLabTransform
protected

transformation relative to the mother system

Definition at line 35 of file FairGeoVolume.h.

FairGeoMedium FairGeoVolume::fMedium
protected

transformation to the LAB system;

Definition at line 36 of file FairGeoVolume.h.

TString FairGeoVolume::mother
protected

eant shape of the volume

Definition at line 32 of file FairGeoVolume.h.

Int_t FairGeoVolume::nPoints
protected

medium properties

Definition at line 37 of file FairGeoVolume.h.

TObjArray* FairGeoVolume::points
protected

Name of the mother volume

Definition at line 33 of file FairGeoVolume.h.

TString FairGeoVolume::shape
protected

Definition at line 31 of file FairGeoVolume.h.

FairGeoTransform FairGeoVolume::transform
protected

array of points (type FairGeoVector)

Definition at line 34 of file FairGeoVolume.h.


The documentation for this class was generated from the following files: