EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/geobase/FairGeoVolume.h>
Public Member Functions | |
FairGeoVolume () | |
FairGeoVolume (FairGeoVolume &) | |
virtual | ~FairGeoVolume () |
const TString & | getName () const |
const TString & | getShape () const |
const TString & | getMother () const |
FairGeoTransform & | getTransform () |
FairGeoTransform & | getLabTransform () |
FairGeoMedium & | getMedium () |
Int_t | getNumPoints () |
FairGeoVector * | getPoint (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 | |
FairGeoVolume & | operator= (const FairGeoVolume &) |
basic geometry parameters of a volume
Definition at line 15 of file FairGeoVolume.h.
View newest version in sPHENIX GitHub at line 15 of file FairGeoVolume.h
|
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 & | ) |
|
virtual |
Definition at line 140 of file FairGeoVolume.cxx.
View newest version in sPHENIX GitHub at line 140 of file FairGeoVolume.cxx
References points.
|
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().
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().
|
inline |
Definition at line 38 of file FairGeoVolume.h.
View newest version in sPHENIX GitHub at line 38 of file FairGeoVolume.h
References fLabTransform.
|
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().
|
inline |
Definition at line 39 of file FairGeoVolume.h.
View newest version in sPHENIX GitHub at line 39 of file FairGeoVolume.h
References fMedium.
|
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().
|
inline |
Definition at line 34 of file FairGeoVolume.h.
View newest version in sPHENIX GitHub at line 34 of file FairGeoVolume.h
|
inline |
Definition at line 40 of file FairGeoVolume.h.
View newest version in sPHENIX GitHub at line 40 of file FairGeoVolume.h
References nPoints.
Referenced by FairGeoPcon::calcVoluParam(), FairGeoPgon::calcVoluParam(), FairGeoNode::compare(), FairGeoPcon::printPoints(), FairGeoPgon::printPoints(), FairGeoBasicShape::printPoints(), FairGeoTorus::readPoints(), FairGeoTube::readPoints(), FairGeoTubs::readPoints(), FairGeoCone::readPoints(), FairGeoSphe::readPoints(), FairGeoCons::readPoints(), FairGeoEltu::readPoints(), FairGeoPgon::readPoints(), FairGeoPcon::readPoints(), FairGeoBasicShape::readPoints(), FairGeoSet::readVolumeParams(), setVolumePar(), FairGeoNode::setVolumePar(), FairGeoPgon::writePoints(), FairGeoPcon::writePoints(), and FairGeoBasicShape::writePoints().
|
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().
|
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().
|
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().
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.
|
private |
|
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().
|
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().
|
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().
|
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.
|
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().
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
|
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.
|
protected |
Definition at line 28 of file FairGeoVolume.h.
View newest version in sPHENIX GitHub at line 28 of file FairGeoVolume.h
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
protected |
array of points (type FairGeoVector)
Definition at line 23 of file FairGeoVolume.h.
View newest version in sPHENIX GitHub at line 23 of file FairGeoVolume.h
Referenced by FairGeoNode::calcLabTransform(), FairGeoNode::calcModuleTransform(), clear(), FairGeoNode::compare(), getTransform(), FairGeoNode::print(), FairGeoNode::setLabTransform(), setVolumePar(), FairGeoNode::setVolumePar(), and FairGeoNode::write().