EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairGeoVolume Class Reference

#include <EicRoot/blob/master/geobase/FairGeoVolume.h>

+ Inheritance diagram for FairGeoVolume:
+ Collaboration diagram for FairGeoVolume:

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)
 

Protected Attributes

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

Private Member Functions

FairGeoVolumeoperator= (const FairGeoVolume &)
 

Detailed Description

basic geometry parameters of a volume

Author
Ilse koenig

Definition at line 15 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 15 of file FairGeoVolume.h

Constructor & Destructor Documentation

FairGeoVolume::FairGeoVolume ( )
inline

Volume Id given by MC

Definition at line 61 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 61 of file FairGeoVolume.h

FairGeoVolume::FairGeoVolume ( FairGeoVolume )
FairGeoVolume::~FairGeoVolume ( )
virtual

Definition at line 140 of file FairGeoVolume.cxx.

View newest version in sPHENIX GitHub at line 140 of file FairGeoVolume.cxx

References points.

Member Function Documentation

void FairGeoVolume::clear ( void  )
virtual

Reimplemented in FairGeoNode, and FairGeoCompositeVolume.

Definition at line 103 of file FairGeoVolume.cxx.

View newest version in sPHENIX GitHub at line 103 of file FairGeoVolume.cxx

References FairGeoTransform::clear(), mother, nPoints, points, shape, and transform.

Referenced by FairGeoCompositeVolume::clear(), and FairGeoNode::clear().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairGeoVolume::createPoints ( const Int_t  n)

Definition at line 59 of file FairGeoVolume.cxx.

View newest version in sPHENIX GitHub at line 59 of file FairGeoVolume.cxx

References n, nPoints, and points.

Referenced by FairGeoOldAsciiIo::calculateShapePoints(), FairGeoTorus::readPoints(), FairGeoTube::readPoints(), FairGeoTubs::readPoints(), FairGeoSphe::readPoints(), FairGeoPgon::readPoints(), FairGeoEltu::readPoints(), FairGeoCons::readPoints(), FairGeoPcon::readPoints(), FairGeoCone::readPoints(), FairGeoBasicShape::readPoints(), FairGeoSet::readVolumeParams(), setVolumePar(), and FairGeoNode::setVolumePar().

+ Here is the caller graph for this function:

FairGeoTransform& FairGeoVolume::getLabTransform ( )
inline

Definition at line 38 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 38 of file FairGeoVolume.h

References fLabTransform.

Int_t FairGeoVolume::getMCid ( )
inline

Definition at line 53 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 53 of file FairGeoVolume.h

References fgMCid.

Referenced by FairModule::ProcessNodes().

+ Here is the caller graph for this function:

FairGeoMedium& FairGeoVolume::getMedium ( )
inline

Definition at line 39 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 39 of file FairGeoVolume.h

References fMedium.

const TString& FairGeoVolume::getMother ( ) const
inline

Definition at line 36 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 36 of file FairGeoVolume.h

References mother.

Referenced by FairGeoNode::compare(), and setVolumePar().

+ Here is the caller graph for this function:

const TString& FairGeoVolume::getName ( ) const
inline

Definition at line 34 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 34 of file FairGeoVolume.h

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

Definition at line 76 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 76 of file FairGeoVolume.h

References nPoints, and points.

Referenced by FairGeoBrik::calcVoluParam(), FairGeoTube::calcVoluParam(), FairGeoTubs::calcVoluParam(), FairGeoTorus::calcVoluParam(), FairGeoTrd1::calcVoluParam(), FairGeoTrap::calcVoluParam(), FairGeoEltu::calcVoluParam(), FairGeoCone::calcVoluParam(), FairGeoPcon::calcVoluParam(), FairGeoPgon::calcVoluParam(), FairGeoCons::calcVoluParam(), FairGeoSphe::calcVoluParam(), FairGeoTube::calcVoluPosition(), FairGeoTubs::calcVoluPosition(), FairGeoBrik::calcVoluPosition(), FairGeoTrap::calcVoluPosition(), FairGeoTrd1::calcVoluPosition(), FairGeoEltu::calcVoluPosition(), FairGeoCone::calcVoluPosition(), FairGeoCons::calcVoluPosition(), FairGeoNode::compare(), FairGeoTorus::printPoints(), FairGeoAssembly::printPoints(), FairGeoTube::printPoints(), FairGeoTubs::printPoints(), FairGeoEltu::printPoints(), FairGeoPcon::printPoints(), FairGeoCone::printPoints(), FairGeoPgon::printPoints(), FairGeoCons::printPoints(), FairGeoSphe::printPoints(), FairGeoBasicShape::printPoints(), FairGeoSet::readVolumeParams(), setVolumePar(), FairGeoNode::setVolumePar(), FairGeoTubs::writePoints(), FairGeoTorus::writePoints(), FairGeoAssembly::writePoints(), FairGeoTube::writePoints(), FairGeoEltu::writePoints(), FairGeoPcon::writePoints(), FairGeoPgon::writePoints(), FairGeoCons::writePoints(), FairGeoSphe::writePoints(), FairGeoCone::writePoints(), and FairGeoBasicShape::writePoints().

+ Here is the caller graph for this function:

const TString& FairGeoVolume::getShape ( ) const
inline

Definition at line 35 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 35 of file FairGeoVolume.h

References shape.

Referenced by FairGeoNode::compare(), FairGeoRootBuilder::createNode(), FairGeoShapes::selectShape(), and setVolumePar().

+ Here is the caller graph for this function:

FairGeoTransform& FairGeoVolume::getTransform ( )
inline

Definition at line 37 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 37 of file FairGeoVolume.h

References transform.

Referenced by FairGeoNode::calcModuleTransform(), FairGeoNode::calcRefPos(), FairGeoBasicShape::calcVoluPosition(), FairGeoNode::compare(), FairGeoOldAsciiIo::read(), FairGeoSet::readVolumeParams(), setVolumePar(), and FairGeoNode::setVolumePar().

+ Here is the caller graph for this function:

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

Definition at line 132 of file FairGeoVolume.cxx.

View newest version in sPHENIX GitHub at line 132 of file FairGeoVolume.cxx

References FairGeoVector::getValues(), and points.

+ Here is the call graph for this function:

FairGeoVolume& FairGeoVolume::operator= ( const FairGeoVolume )
private
void FairGeoVolume::print ( )
virtual

Reimplemented in FairGeoNode, and FairGeoCompositeVolume.

Definition at line 116 of file FairGeoVolume.cxx.

View newest version in sPHENIX GitHub at line 116 of file FairGeoVolume.cxx

References fLabTransform, mother, nPoints, points, FairGeoTransform::print(), and shape.

Referenced by FairGeoCompositeVolume::print(), and FairGeoNode::print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void FairGeoVolume::setHadFormat ( Int_t  i)
inlinevirtual

Definition at line 51 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 51 of file FairGeoVolume.h

References fHadFormat.

Referenced by FairGeoRootBuilder::createNode().

+ Here is the caller graph for this function:

void FairGeoVolume::setMCid ( Int_t  MCid)
inline

Definition at line 54 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 54 of file FairGeoVolume.h

References fgMCid.

Referenced by FairDetector::Initialize().

+ Here is the caller graph for this function:

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

Definition at line 94 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 94 of file FairGeoVolume.h

References mother, and Acts::UnitConstants::s.

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

Definition at line 82 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 82 of file FairGeoVolume.h

References Acts::UnitConstants::s.

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

Definition at line 82 of file FairGeoVolume.cxx.

View newest version in sPHENIX GitHub at line 82 of file FairGeoVolume.cxx

References nPoints, points, FairGeoVector::setX(), FairGeoVector::setY(), FairGeoVector::setZ(), and v.

Referenced by FairGeoOldAsciiIo::calculateShapePoints(), FairGeoTorus::readPoints(), FairGeoTube::readPoints(), FairGeoTubs::readPoints(), FairGeoSphe::readPoints(), FairGeoPgon::readPoints(), FairGeoEltu::readPoints(), FairGeoCons::readPoints(), FairGeoPcon::readPoints(), FairGeoCone::readPoints(), FairGeoBasicShape::readPoints(), FairGeoSet::readVolumeParams(), setVolumePar(), and FairGeoNode::setVolumePar().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 94 of file FairGeoVolume.cxx.

View newest version in sPHENIX GitHub at line 94 of file FairGeoVolume.cxx

References nPoints, p, points, and v.

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

Definition at line 88 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 88 of file FairGeoVolume.h

References Acts::UnitConstants::s, and shape.

void FairGeoVolume::setVolumePar ( FairGeoVolume r)

Definition at line 48 of file FairGeoVolume.cxx.

View newest version in sPHENIX GitHub at line 48 of file FairGeoVolume.cxx

References createPoints(), getMother(), getNumPoints(), getPoint(), getShape(), getTransform(), mother, n, nPoints, setPoint(), shape, and transform.

+ Here is the call graph for this function:

Member Data Documentation

Int_t FairGeoVolume::fgMCid
protected

Definition at line 28 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 28 of file FairGeoVolume.h

Referenced by getMCid(), and setMCid().

Int_t FairGeoVolume::fHadFormat
protected

number of points

Definition at line 27 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 27 of file FairGeoVolume.h

Referenced by FairGeoNode::getCopyNo(), and setHadFormat().

FairGeoTransform FairGeoVolume::fLabTransform
protected

transformation relative to the mother system

Definition at line 24 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 24 of file FairGeoVolume.h

Referenced by FairGeoNode::calcLabTransform(), getLabTransform(), and print().

FairGeoMedium FairGeoVolume::fMedium
protected

transformation to the LAB system;

Definition at line 25 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 25 of file FairGeoVolume.h

Referenced by FairGeoNode::calcLabTransform(), and getMedium().

TString FairGeoVolume::mother
protected

eant shape of the volume

Definition at line 21 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 21 of file FairGeoVolume.h

Referenced by clear(), FairGeoNode::compare(), getMother(), print(), FairGeoNode::print(), setMother(), FairGeoNode::setMother(), setVolumePar(), and FairGeoNode::write().

Int_t FairGeoVolume::nPoints
protected

medium properties

Definition at line 26 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 26 of file FairGeoVolume.h

Referenced by clear(), FairGeoNode::compare(), createPoints(), FairGeoNode::FairGeoNode(), getNumPoints(), getPoint(), print(), setPoint(), setVolumePar(), FairGeoNode::setVolumePar(), and FairGeoNode::~FairGeoNode().

TObjArray* FairGeoVolume::points
protected

Name of the mother volume

Definition at line 22 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 22 of file FairGeoVolume.h

Referenced by clear(), FairGeoNode::compare(), createPoints(), FairGeoNode::FairGeoNode(), getPoint(), getVolParameter(), print(), FairGeoNode::print(), setPoint(), FairGeoNode::write(), FairGeoNode::~FairGeoNode(), and ~FairGeoVolume().

TString FairGeoVolume::shape
protected

Definition at line 20 of file FairGeoVolume.h.

View newest version in sPHENIX GitHub at line 20 of file FairGeoVolume.h

Referenced by clear(), FairGeoNode::compare(), getShape(), print(), FairGeoNode::print(), setShape(), FairGeoNode::setShape(), setVolumePar(), and FairGeoNode::write().


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