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

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

+ Inheritance diagram for FairGeoBasicShape:
+ Collaboration diagram for FairGeoBasicShape:

Public Member Functions

 FairGeoBasicShape ()
 
virtual ~FairGeoBasicShape ()
 
Int_t getNumPoints ()
 
Int_t getNumParam ()
 
TArrayD * getParam ()
 
FairGeoTransformgetCenterPosition ()
 
FairGeoTransformgetVoluPosition ()
 
virtual Int_t readPoints (std::fstream *, FairGeoVolume *)
 
virtual Bool_t writePoints (std::fstream *, FairGeoVolume *)
 
virtual void printPoints (FairGeoVolume *volu)
 
virtual TArrayD * calcVoluParam (FairGeoVolume *)
 
virtual void calcVoluPosition (FairGeoVolume *, const FairGeoTransform &)
 
virtual void calcVoluPosition (FairGeoVolume *, const FairGeoTransform &, const FairGeoTransform &)
 
void printParam ()
 

Protected Member Functions

void posInMother (const FairGeoTransform &, const FairGeoTransform &)
 
ClassDef(FairGeoBasicShape,
0) private FairGeoBasicShape
operator= (const FairGeoBasicShape &)
 

Protected Attributes

Int_t nPoints
 
Int_t nParam
 
TArrayD * param
 
FairGeoTransformcenter
 
FairGeoTransformposition
 

Detailed Description

base class for all shapes

Author
Ilse koenig

Definition at line 20 of file FairGeoBasicShape.h.

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

Constructor & Destructor Documentation

FairGeoBasicShape::FairGeoBasicShape ( )
FairGeoBasicShape::~FairGeoBasicShape ( )
virtual

Definition at line 38 of file FairGeoBasicShape.cxx.

View newest version in sPHENIX GitHub at line 38 of file FairGeoBasicShape.cxx

References center, param, and position.

Member Function Documentation

virtual TArrayD* FairGeoBasicShape::calcVoluParam ( FairGeoVolume )
inlinevirtual

Reimplemented in FairGeoCone, FairGeoCons, FairGeoEltu, FairGeoPcon, FairGeoPgon, FairGeoSphe, FairGeoTrap, FairGeoTrd1, FairGeoAssembly, FairGeoBrik, FairGeoTorus, FairGeoTube, and FairGeoTubs.

Definition at line 39 of file FairGeoBasicShape.h.

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

Referenced by FairGeoNode::getParameters().

+ Here is the caller graph for this function:

void FairGeoBasicShape::calcVoluPosition ( FairGeoVolume volu,
const FairGeoTransform mTR 
)
virtual

Definition at line 100 of file FairGeoBasicShape.cxx.

View newest version in sPHENIX GitHub at line 100 of file FairGeoBasicShape.cxx

References FairGeoVolume::getTransform().

Referenced by FairGeoNode::getPosition().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void FairGeoBasicShape::calcVoluPosition ( FairGeoVolume ,
const FairGeoTransform ,
const FairGeoTransform  
)
inlinevirtual

Reimplemented in FairGeoCone, FairGeoCons, FairGeoEltu, FairGeoPcon, FairGeoPgon, FairGeoSphe, FairGeoTrap, FairGeoTrd1, FairGeoAssembly, FairGeoBrik, FairGeoTorus, FairGeoTube, and FairGeoTubs.

Definition at line 41 of file FairGeoBasicShape.h.

View newest version in sPHENIX GitHub at line 41 of file FairGeoBasicShape.h

FairGeoTransform* FairGeoBasicShape::getCenterPosition ( )
inline

Definition at line 34 of file FairGeoBasicShape.h.

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

References center.

Referenced by FairGeoNode::getPosition().

+ Here is the caller graph for this function:

Int_t FairGeoBasicShape::getNumParam ( )
inline

Definition at line 32 of file FairGeoBasicShape.h.

View newest version in sPHENIX GitHub at line 32 of file FairGeoBasicShape.h

References nParam.

Referenced by FairGeoOldAsciiIo::read().

+ Here is the caller graph for this function:

Int_t FairGeoBasicShape::getNumPoints ( )
inline

Definition at line 31 of file FairGeoBasicShape.h.

View newest version in sPHENIX GitHub at line 31 of file FairGeoBasicShape.h

References nPoints.

Referenced by FairGeoOldAsciiIo::calculateShapePoints().

+ Here is the caller graph for this function:

TArrayD* FairGeoBasicShape::getParam ( )
inline

Definition at line 33 of file FairGeoBasicShape.h.

View newest version in sPHENIX GitHub at line 33 of file FairGeoBasicShape.h

References param.

FairGeoTransform* FairGeoBasicShape::getVoluPosition ( )
inline

Definition at line 35 of file FairGeoBasicShape.h.

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

References position.

Referenced by FairGeoNode::getPosition().

+ Here is the caller graph for this function:

ClassDef (FairGeoBasicShape,0) private FairGeoBasicShape& FairGeoBasicShape::operator= ( const FairGeoBasicShape )
protected
void FairGeoBasicShape::posInMother ( const FairGeoTransform dTC,
const FairGeoTransform mTR 
)
protected

Definition at line 113 of file FairGeoBasicShape.cxx.

View newest version in sPHENIX GitHub at line 113 of file FairGeoBasicShape.cxx

References center, FairGeoTransform::getRotMatrix(), FairGeoTransform::getTransVector(), position, FairGeoTransform::setRotMatrix(), FairGeoTransform::setTransVector(), t, FairGeoTransform::transFrom(), and FairGeoTransform::transTo().

Referenced by FairGeoAssembly::calcVoluPosition(), FairGeoBrik::calcVoluPosition(), FairGeoTorus::calcVoluPosition(), FairGeoTube::calcVoluPosition(), FairGeoTubs::calcVoluPosition(), FairGeoTrap::calcVoluPosition(), FairGeoTrd1::calcVoluPosition(), FairGeoPgon::calcVoluPosition(), FairGeoPcon::calcVoluPosition(), FairGeoCons::calcVoluPosition(), FairGeoCone::calcVoluPosition(), FairGeoEltu::calcVoluPosition(), and FairGeoSphe::calcVoluPosition().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairGeoBasicShape::printParam ( )

Definition at line 130 of file FairGeoBasicShape.cxx.

View newest version in sPHENIX GitHub at line 130 of file FairGeoBasicShape.cxx

References nParam, and param.

void FairGeoBasicShape::printPoints ( FairGeoVolume volu)
virtual

Reimplemented in FairGeoCone, FairGeoCons, FairGeoEltu, FairGeoPcon, FairGeoPgon, FairGeoSphe, FairGeoAssembly, FairGeoTorus, FairGeoTube, and FairGeoTubs.

Definition at line 90 of file FairGeoBasicShape.cxx.

View newest version in sPHENIX GitHub at line 90 of file FairGeoBasicShape.cxx

References FairGeoVolume::getNumPoints(), FairGeoVolume::getPoint(), printf(), and v.

Referenced by PndGeoCave::print(), FairGeoNode::print(), and FairGeoShapes::printPoints().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Int_t FairGeoBasicShape::readPoints ( std::fstream *  pFile,
FairGeoVolume volu 
)
virtual

Reimplemented in FairGeoCone, FairGeoCons, FairGeoEltu, FairGeoPcon, FairGeoPgon, FairGeoSphe, FairGeoAssembly, FairGeoTorus, FairGeoTube, and FairGeoTubs.

Definition at line 56 of file FairGeoBasicShape.cxx.

View newest version in sPHENIX GitHub at line 56 of file FairGeoBasicShape.cxx

References FairGeoVolume::createPoints(), FairGeoVolume::getNumPoints(), nPoints, FairGeoVolume::setPoint(), x, y, and z.

Referenced by PndGeoCave::read(), FairGeoShapes::readPoints(), and FairGeoSet::readVolumeParams().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool_t FairGeoBasicShape::writePoints ( std::fstream *  pFile,
FairGeoVolume volu 
)
virtual

Reimplemented in FairGeoCone, FairGeoCons, FairGeoEltu, FairGeoPcon, FairGeoPgon, FairGeoSphe, FairGeoAssembly, FairGeoTorus, FairGeoTube, and FairGeoTubs.

Definition at line 76 of file FairGeoBasicShape.cxx.

View newest version in sPHENIX GitHub at line 76 of file FairGeoBasicShape.cxx

References FairGeoVolume::getNumPoints(), FairGeoVolume::getPoint(), and v.

Referenced by PndGeoCave::write(), FairGeoNode::write(), and FairGeoShapes::writePoints().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Int_t FairGeoBasicShape::nParam
protected

Definition at line 24 of file FairGeoBasicShape.h.

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

Referenced by FairGeoBrik::calcVoluParam(), FairGeoPgon::calcVoluParam(), FairGeoPcon::calcVoluParam(), getNumParam(), and printParam().


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