EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/geobase/FairGeoNode.h>
Protected Attributes | |
Bool_t | active |
FairGeoTransform | center |
EFairGeoNodeType | volumeType |
Bool_t | created |
FairGeoNode * | copyNode |
TGeoVolume * | rootVolume |
FairGeoBasicShape * | pShape |
FairGeoNode * | pMother |
FairGeoMedium * | medium |
/** pointer to the mother volume */ | |
FairGeoTransform * | labTransform |
TObjArray * | fDaughterList |
TString | fTruncName |
Protected Attributes inherited from FairGeoVolume | |
TString | shape |
TString | mother |
TObjArray * | points |
FairGeoTransform | transform |
FairGeoTransform | fLabTransform |
FairGeoMedium | fMedium |
Int_t | nPoints |
Int_t | fHadFormat |
Int_t | fgMCid |
Private Member Functions | |
FairGeoNode (const FairGeoNode &) | |
FairGeoNode & | operator= (const FairGeoNode &) |
basic geometry parameters of a volume
Definition at line 35 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 35 of file FairGeoNode.h
|
private |
FairGeoNode::FairGeoNode | ( | ) |
FairGeoNode::FairGeoNode | ( | FairGeoNode & | r | ) |
Definition at line 41 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 41 of file FairGeoNode.cxx
References active, created, isActive(), isCreated(), FairGeoVolume::nPoints, FairGeoVolume::points, and setVolumePar().
|
virtual |
Definition at line 66 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 66 of file FairGeoNode.cxx
References fDaughterList, labTransform, FairGeoVolume::nPoints, and FairGeoVolume::points.
|
inline |
Definition at line 58 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 58 of file FairGeoNode.h
References fDaughterList.
Referenced by setMother().
FairGeoTransform * FairGeoNode::calcLabTransform | ( | ) |
Definition at line 240 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 240 of file FairGeoNode.cxx
References FairGeoVolume::fLabTransform, FairGeoVolume::fMedium, getLabTransform(), isTopNode(), labTransform, medium, pMother, FairGeoVolume::transform, and FairGeoTransform::transFrom().
Referenced by getLabTransform(), and FairModule::ProcessNodes().
Bool_t FairGeoNode::calcModuleTransform | ( | FairGeoTransform & | modTransform | ) |
Definition at line 292 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 292 of file FairGeoNode.cxx
References getMotherNode(), FairGeoVolume::getTransform(), isModule(), isTopNode(), Acts::UnitConstants::pm, FairGeoVolume::transform, and FairGeoTransform::transFrom().
Bool_t FairGeoNode::calcRefPos | ( | FairGeoVector & | refPos | ) |
Definition at line 310 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 310 of file FairGeoNode.cxx
References center, getMotherNode(), FairGeoVolume::getTransform(), FairGeoTransform::getTransVector(), isModule(), isTopNode(), and FairGeoTransform::transFrom().
|
virtual |
Reimplemented from FairGeoVolume.
Definition at line 96 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 96 of file FairGeoNode.cxx
References FairGeoVolume::clear(), and labTransform.
Int_t FairGeoNode::compare | ( | FairGeoNode & | rn | ) |
Definition at line 327 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 327 of file FairGeoNode.cxx
References Acts::UnitConstants::e, getMedium(), FairGeoVolume::getMother(), FairGeoVolume::getNumPoints(), FairGeoVolume::getPoint(), FairGeoTransform::getRotMatrix(), FairGeoVolume::getShape(), FairGeoVolume::getTransform(), FairGeoTransform::getTransVector(), medium, FairGeoVolume::mother, n, FairGeoVolume::nPoints, FairGeoVolume::points, r1, r2, FairGeoVolume::shape, FairGeoVolume::transform, v1, and v2.
Referenced by FairGeoSet::compare().
|
inline |
Definition at line 70 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 70 of file FairGeoNode.h
References center.
Referenced by FairGeoSet::create(), getPosition(), CbmRichProjectionProducer::Init(), CbmRichHitProducer::Init(), CbmRichTestHits::Init(), CbmRichTestSim::Init(), and CbmRichGeoTest::Init().
Int_t FairGeoNode::getCopyNo | ( | ) |
Definition at line 115 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 115 of file FairGeoNode.cxx
References FairGeoVolume::fHadFormat, n, and Acts::UnitConstants::s.
Referenced by FairGeoRootBuilder::createNode(), and FairModule::ProcessNodes().
|
inline |
Definition at line 74 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 74 of file FairGeoNode.h
References copyNode.
Referenced by FairGeoRootBuilder::createNode().
FairGeoTransform * FairGeoNode::getLabTransform | ( | ) |
Definition at line 233 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 233 of file FairGeoNode.cxx
References calcLabTransform(), and labTransform.
Referenced by calcLabTransform(), CbmRichProjectionProducer::Init(), CbmRichHitProducer::Init(), CbmRichTestHits::Init(), CbmRichTestSim::Init(), CbmRichGeoTest::Init(), and setLabTransform().
|
inline |
Definition at line 59 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 59 of file FairGeoNode.h
References fDaughterList.
|
inline |
Definition at line 68 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 68 of file FairGeoNode.h
References medium.
Referenced by compare(), FairGeoRootBuilder::createNode(), CbmRichHitProducer::Init(), PndGeoCave::print(), FairGeoSet::readVolumeParams(), setVolumePar(), and PndGeoCave::write().
|
inline |
Definition at line 67 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 67 of file FairGeoNode.h
References pMother.
Referenced by calcModuleTransform(), calcRefPos(), FairGeoRootBuilder::createNode(), getTree(), FairModule::ProcessNodes(), and setVolumePar().
TArrayD * FairGeoNode::getParameters | ( | ) |
Definition at line 140 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 140 of file FairGeoNode.cxx
References FairGeoBasicShape::calcVoluParam(), and pShape.
Referenced by FairGeoRootBuilder::createNode(), CbmRichProjectionProducer::Init(), and CbmRichHitProducer::Init().
FairGeoTransform * FairGeoNode::getPosition | ( | ) |
Definition at line 147 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 147 of file FairGeoNode.cxx
References FairGeoBasicShape::calcVoluPosition(), center, FairGeoBasicShape::getCenterPosition(), getCenterPosition(), FairGeoBasicShape::getVoluPosition(), pMother, pShape, and FairGeoTransform::setTransform().
Referenced by FairGeoRootBuilder::createNode().
|
inline |
Definition at line 75 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 75 of file FairGeoNode.h
References rootVolume.
Referenced by FairGeoSet::create(), and FairGeoRootBuilder::createNode().
|
inline |
Definition at line 66 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 66 of file FairGeoNode.h
References pShape.
Referenced by FairGeoOldAsciiIo::calculateShapePoints(), PndGeoCave::print(), FairGeoSet::readVolumeParams(), setVolumePar(), and PndGeoCave::write().
TList * FairGeoNode::getTree | ( | ) |
Definition at line 219 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 219 of file FairGeoNode.cxx
References getMotherNode(), isTopNode(), and v.
|
inline |
Definition at line 101 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 101 of file FairGeoNode.h
References fTruncName.
Referenced by FairModule::ProcessNodes().
|
inline |
Definition at line 60 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 60 of file FairGeoNode.h
References volumeType.
|
inline |
Definition at line 69 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 69 of file FairGeoNode.h
References active.
Referenced by FairGeoSet::create(), FairGeoNode(), and FairGeoSet::readVolumeParams().
|
inline |
Definition at line 78 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 78 of file FairGeoNode.h
References created.
Referenced by FairGeoNode().
|
inline |
Definition at line 63 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 63 of file FairGeoNode.h
References kFairGeoKeepin, and volumeType.
Referenced by FairGeoSet::readVolumeParams().
|
inline |
Definition at line 64 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 64 of file FairGeoNode.h
References kFairGeoModule, and volumeType.
Referenced by calcModuleTransform(), calcRefPos(), FairGeoRootBuilder::createNode(), and FairGeoSet::readVolumeParams().
|
inline |
Definition at line 62 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 62 of file FairGeoNode.h
References kFairGeoRefNode, and volumeType.
Referenced by FairGeoSet::create().
|
inline |
Definition at line 137 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 137 of file FairGeoNode.h
References FairGeoMedium::isSensitive(), and medium.
Referenced by ClassImp(), PndMagnet::ConstructASCIIGeometry(), CbmRich::ConstructAsciiGeometry(), PndTarget::ConstructGeometry(), EicDetector::ConstructGeometry(), and FairModule::ProcessNodes().
|
inline |
Definition at line 61 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 61 of file FairGeoNode.h
References kFairGeoTopNode, and volumeType.
Referenced by calcLabTransform(), calcModuleTransform(), calcRefPos(), FairGeoSet::create(), FairGeoRootBuilder::createNode(), getTree(), and setLabTransform().
|
private |
|
virtual |
Reimplemented from FairGeoVolume.
Definition at line 158 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 158 of file FairGeoNode.cxx
References copyNode, FairGeoTransform::getRotMatrix(), FairGeoTransform::getTransVector(), medium, FairGeoVolume::mother, pMother, FairGeoVolume::points, FairGeoRotation::print(), FairGeoVolume::print(), FairGeoVector::print(), FairGeoBasicShape::printPoints(), pShape, FairGeoVolume::shape, and FairGeoVolume::transform.
Referenced by FairGeoSet::print(), and FairGeoOldAsciiIo::read().
|
inline |
Definition at line 86 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 86 of file FairGeoNode.h
References active.
Referenced by PndGeoCave::read(), FairGeoSet::readModule(), and FairGeoSet::readVolumeParams().
|
inline |
Definition at line 87 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 87 of file FairGeoNode.h
Referenced by FairGeoSet::create().
|
inline |
Definition at line 88 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 88 of file FairGeoNode.h
Referenced by FairGeoSet::readVolumeParams().
|
inline |
Definition at line 79 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 79 of file FairGeoNode.h
References created.
Referenced by FairGeoRootBuilder::createNode().
void FairGeoNode::setLabTransform | ( | FairGeoTransform & | t | ) |
Definition at line 268 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 268 of file FairGeoNode.cxx
References getLabTransform(), isTopNode(), labTransform, pMother, FairGeoTransform::setTransform(), t, FairGeoVolume::transform, and FairGeoTransform::transTo().
|
inline |
Definition at line 85 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 85 of file FairGeoNode.h
References medium.
Referenced by PndGeoCave::read(), FairGeoOldAsciiIo::read(), and FairGeoSet::readVolumeParams().
|
inline |
Definition at line 127 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 127 of file FairGeoNode.h
References AddDaughter(), FairGeoVolume::mother, and pMother.
Referenced by FairGeoOldAsciiIo::read(), FairGeoSet::readVolumeParams(), and setVolumePar().
|
inline |
Definition at line 111 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 111 of file FairGeoNode.h
References Acts::UnitConstants::s.
|
inline |
Definition at line 89 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 89 of file FairGeoNode.h
References p, and rootVolume.
Referenced by FairGeoSet::create(), and FairGeoRootBuilder::createNode().
|
inline |
Definition at line 118 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 118 of file FairGeoNode.h
References pShape, Acts::UnitConstants::s, and FairGeoVolume::shape.
Referenced by PndGeoCave::read(), FairGeoOldAsciiIo::read(), FairGeoSet::readVolumeParams(), and setVolumePar().
|
inline |
Definition at line 100 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 100 of file FairGeoNode.h
References fTruncName.
void FairGeoNode::setVolumePar | ( | FairGeoNode & | r | ) |
Definition at line 84 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 84 of file FairGeoNode.cxx
References FairGeoVolume::createPoints(), getMedium(), getMotherNode(), FairGeoVolume::getNumPoints(), FairGeoVolume::getPoint(), getShapePointer(), FairGeoVolume::getTransform(), medium, n, FairGeoVolume::nPoints, setMother(), FairGeoVolume::setPoint(), setShape(), and FairGeoVolume::transform.
Referenced by FairGeoNode().
|
inline |
Definition at line 81 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 81 of file FairGeoNode.h
References t, and volumeType.
Referenced by PndGeoCave::read(), FairGeoSet::readKeepIn(), and FairGeoSet::readModule().
Bool_t FairGeoNode::write | ( | std::fstream & | fout | ) |
Definition at line 182 of file FairGeoNode.cxx.
View newest version in sPHENIX GitHub at line 182 of file FairGeoNode.cxx
References copyNode, FairGeoTransform::getRotMatrix(), FairGeoTransform::getTransVector(), medium, FairGeoVolume::mother, pMother, FairGeoVolume::points, pShape, FairGeoVolume::shape, FairGeoVolume::transform, v, and FairGeoBasicShape::writePoints().
Referenced by FairGeoSet::write().
|
protected |
Definition at line 41 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 41 of file FairGeoNode.h
Referenced by FairGeoNode(), isActive(), and setActive().
|
protected |
in/out flag for creation
Definition at line 42 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 42 of file FairGeoNode.h
Referenced by calcRefPos(), getCenterPosition(), getPosition(), and setCenterPosition().
|
protected |
Flag set kTRUE after creation of volume
Definition at line 45 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 45 of file FairGeoNode.h
Referenced by getCopyNode(), print(), setCopyNode(), and write().
|
protected |
type of volume
Definition at line 44 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 44 of file FairGeoNode.h
Referenced by FairGeoNode(), isCreated(), and setCreated().
|
protected |
Transformation to the LAB system
Definition at line 51 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 51 of file FairGeoNode.h
Referenced by AddDaughter(), GetListOfDaughters(), and ~FairGeoNode().
|
protected |
List of daughter Nodes
Definition at line 53 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 53 of file FairGeoNode.h
Referenced by getTruncName(), and setTruncName().
|
protected |
pointer to medium
Definition at line 50 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 50 of file FairGeoNode.h
Referenced by calcLabTransform(), clear(), getLabTransform(), setLabTransform(), and ~FairGeoNode().
|
protected |
/** pointer to the mother volume */
Definition at line 49 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 49 of file FairGeoNode.h
Referenced by calcLabTransform(), compare(), getMedium(), isSensitive(), print(), setMedium(), setVolumePar(), and write().
|
protected |
pointer to the shape
Definition at line 48 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 48 of file FairGeoNode.h
Referenced by calcLabTransform(), getMotherNode(), getPosition(), print(), setLabTransform(), setMother(), and write().
|
protected |
pointer to the ROOT node
Definition at line 47 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 47 of file FairGeoNode.h
Referenced by getParameters(), getPosition(), getShapePointer(), print(), setShape(), and write().
|
protected |
pointer to the reference volume for a copy
Definition at line 46 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 46 of file FairGeoNode.h
Referenced by getRootVolume(), and setRootVolume().
|
protected |
position of the GEANT/ROOT center
Definition at line 43 of file FairGeoNode.h.
View newest version in sPHENIX GitHub at line 43 of file FairGeoNode.h
Referenced by getVolumeType(), isKeepin(), isModule(), isRefNode(), isTopNode(), and setVolumeType().