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

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

+ Inheritance diagram for FairGeoPgon:
+ Collaboration diagram for FairGeoPgon:

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from FairGeoBasicShape
void posInMother (const FairGeoTransform &, const FairGeoTransform &)
 
ClassDef(FairGeoBasicShape,
0) private FairGeoBasicShape
operator= (const FairGeoBasicShape &)
 
- Protected Attributes inherited from FairGeoBasicShape
Int_t nPoints
 
Int_t nParam
 
TArrayD * param
 
FairGeoTransformcenter
 
FairGeoTransformposition
 

Detailed Description

class for geometry shape PGON

Author
Ilse koenig

Definition at line 13 of file FairGeoPgon.h.

View newest version in sPHENIX GitHub at line 13 of file FairGeoPgon.h

Constructor & Destructor Documentation

FairGeoPgon::FairGeoPgon ( )
FairGeoPgon::~FairGeoPgon ( )

Definition at line 45 of file FairGeoPgon.cxx.

View newest version in sPHENIX GitHub at line 45 of file FairGeoPgon.cxx

References FairGeoBasicShape::center, FairGeoBasicShape::param, and FairGeoBasicShape::position.

Member Function Documentation

TArrayD * FairGeoPgon::calcVoluParam ( FairGeoVolume volu)
virtual

Reimplemented from FairGeoBasicShape.

Definition at line 114 of file FairGeoPgon.cxx.

View newest version in sPHENIX GitHub at line 114 of file FairGeoPgon.cxx

References FairGeoVolume::getNumPoints(), FairGeoVolume::getPoint(), k, FairGeoBasicShape::nParam, FairGeoBasicShape::nPoints, FairGeoBasicShape::param, v, and v1.

+ Here is the call graph for this function:

void FairGeoPgon::calcVoluPosition ( FairGeoVolume ,
const FairGeoTransform dTC,
const FairGeoTransform mTR 
)
virtual

Reimplemented from FairGeoBasicShape.

Definition at line 141 of file FairGeoPgon.cxx.

View newest version in sPHENIX GitHub at line 141 of file FairGeoPgon.cxx

References FairGeoBasicShape::center, FairGeoTransform::clear(), and FairGeoBasicShape::posInMother().

+ Here is the call graph for this function:

void FairGeoPgon::printPoints ( FairGeoVolume volu)
virtual

Reimplemented from FairGeoBasicShape.

Definition at line 103 of file FairGeoPgon.cxx.

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

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

+ Here is the call graph for this function:

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

Reimplemented from FairGeoBasicShape.

Definition at line 63 of file FairGeoPgon.cxx.

View newest version in sPHENIX GitHub at line 63 of file FairGeoPgon.cxx

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

+ Here is the call graph for this function:

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

Reimplemented from FairGeoBasicShape.

Definition at line 88 of file FairGeoPgon.cxx.

View newest version in sPHENIX GitHub at line 88 of file FairGeoPgon.cxx

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

+ Here is the call graph for this function:


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