EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/geobase/FairGeoInterface.h>
Public Member Functions | |
FairGeoInterface () | |
~FairGeoInterface () | |
void | setOracleInput (FairGeoIo *p) |
void | setOutput (FairGeoIo *p) |
void | setGeomBuilder (FairGeoBuilder *p) |
FairGeoIo * | getFileInput () |
FairGeoIo * | getOraInput () |
FairGeoIo * | getOutput () |
FairGeoShapes * | getShapes () |
FairGeoMedia * | getMedia () |
TList * | getMasterNodes () |
void | addInputFile (const char *) |
void | addGeoModule (FairGeoSet *) |
void | setMediaFile (const char *file) |
FairGeoSet * | findSet (const char *) |
Bool_t | readSet (FairGeoSet *) |
Bool_t | writeSet (FairGeoSet *) |
Bool_t | writeSet (FairGeoSet *, const char *) |
Bool_t | createSet (FairGeoSet *) |
void | deleteSet (FairGeoSet *pSet) |
Bool_t | readMedia () |
Bool_t | writeMedia () |
Bool_t | writeMedia (const char *) |
Bool_t | readAll () |
Bool_t | writeAll () |
Bool_t | createAll (Bool_t withCleanup=kFALSE) |
Bool_t | createGeometry (Bool_t withCleanup=kFALSE) |
Bool_t | readGeomConfig (const char *) |
void | addSetupFile (const char *f) |
Bool_t | readSetupFile () |
void | print () |
void | SetNoOfSets (Int_t n) |
Private Member Functions | |
FairGeoInterface (const FairGeoInterface &) | |
FairGeoInterface & | operator= (const FairGeoInterface &) |
FairGeoIo * | connectInput (const char *) |
Bool_t | connectOutput (const char *) |
Private Attributes | |
FairGeoIo * | fileInput |
FairGeoIo * | oraInput |
FairGeoIo * | output |
Int_t | nSets |
Int_t | nActualSets |
TObjArray * | sets |
FairGeoMedia * | media |
FairGeoShapes * | shapes |
TList * | masterNodes |
TString | setupFile |
FairGeoBuilder * | geoBuilder |
Class to manage geometry for simulations
Definition at line 35 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 35 of file FairGeoInterface.h
FairGeoInterface::FairGeoInterface | ( | ) |
actually used geometry builder
FairGeoInterface::~FairGeoInterface | ( | ) |
Definition at line 57 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 57 of file FairGeoInterface.cxx
References fileInput, masterNodes, media, oraInput, output, sets, and shapes.
|
private |
void FairGeoInterface::addGeoModule | ( | FairGeoSet * | pSet | ) |
Definition at line 96 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 96 of file FairGeoInterface.cxx
References masterNodes, nActualSets, FairGeoSet::setMasterNodes(), sets, FairGeoSet::setShapes(), and shapes.
Referenced by ClassImp(), PndMagnet::ConstructASCIIGeometry(), CbmRich::ConstructAsciiGeometry(), PndTarget::ConstructGeometry(), and EicDetector::ConstructGeometry().
void FairGeoInterface::addInputFile | ( | const char * | file | ) |
Definition at line 109 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 109 of file FairGeoInterface.cxx
Referenced by createGeometry(), readAll(), and FairGeoAsciiIo::readGeomConfig().
|
inline |
Definition at line 77 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 77 of file FairGeoInterface.h
References setupFile.
Referenced by FairGeoAsciiIo::readGeomConfig().
|
private |
Definition at line 376 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 376 of file FairGeoInterface.cxx
References fileInput, FairGeoIo::isOpen(), FairGeoIo::open(), oraInput, and Acts::UnitConstants::s.
Referenced by readGeomConfig(), readMedia(), readSet(), and readSetupFile().
|
private |
Definition at line 393 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 393 of file FairGeoInterface.cxx
References FairGeoIo::isOpen(), FairGeoIo::isWritable(), FairGeoIo::open(), output, t, Acts::Test::time, and y.
Referenced by writeMedia(), and writeSet().
Bool_t FairGeoInterface::createAll | ( | Bool_t | withCleanup = kFALSE | ) |
Definition at line 317 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 317 of file FairGeoInterface.cxx
References FairGeoSet::create(), FairGeoBuilder::finalize(), geoBuilder, n, nSets, and sets.
Bool_t FairGeoInterface::createGeometry | ( | Bool_t | withCleanup = kFALSE | ) |
Definition at line 342 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 342 of file FairGeoInterface.cxx
References addInputFile(), FairGeoSet::create(), FairGeoBuilder::finalize(), geoBuilder, n, nActualSets, nSets, oraInput, FairGeoIo::readGeomConfig(), readMedia(), readSet(), readSetupFile(), and sets.
Bool_t FairGeoInterface::createSet | ( | FairGeoSet * | pSet | ) |
Definition at line 432 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 432 of file FairGeoInterface.cxx
References FairGeoSet::create(), and geoBuilder.
void FairGeoInterface::deleteSet | ( | FairGeoSet * | pSet | ) |
Definition at line 244 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 244 of file FairGeoInterface.cxx
References sets.
FairGeoSet * FairGeoInterface::findSet | ( | const char * | name | ) |
Definition at line 182 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 182 of file FairGeoInterface.cxx
Referenced by FairGeoAsciiIo::readDetectorSetup().
|
inline |
Definition at line 54 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 54 of file FairGeoInterface.h
References fileInput.
|
inline |
Definition at line 59 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 59 of file FairGeoInterface.h
References masterNodes.
Referenced by PndGeoPipe::create().
|
inline |
Definition at line 58 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 58 of file FairGeoInterface.h
References media.
Referenced by FairModule::AssignMediumAtImport(), CbmRich::ConstructGdmlGeometry(), PndPipe::ConstructGeometry(), EicDetector::ConstructGeometry(), FairMCApplication::ConstructOpGeometry(), EicGeoParData::EicGeoParData(), CbmRich::ExpandNodeForGdml(), and EicMediaHub::Init().
|
inline |
Definition at line 55 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 55 of file FairGeoInterface.h
References oraInput.
Referenced by FairGeoAsciiIo::readGeomConfig().
|
inline |
Definition at line 56 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 56 of file FairGeoInterface.h
References output.
|
inline |
Definition at line 57 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 57 of file FairGeoInterface.h
References shapes.
|
private |
void FairGeoInterface::print | ( | ) |
Definition at line 439 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 439 of file FairGeoInterface.cxx
References FairGeoSet::getGeomFile(), FairGeoMedia::list(), media, nSets, and sets.
Bool_t FairGeoInterface::readAll | ( | ) |
Definition at line 282 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 282 of file FairGeoInterface.cxx
References addInputFile(), nActualSets, nSets, oraInput, FairGeoIo::readGeomConfig(), readMedia(), readSet(), readSetupFile(), and sets.
Bool_t FairGeoInterface::readGeomConfig | ( | const char * | configFile | ) |
Definition at line 453 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 453 of file FairGeoInterface.cxx
References connectInput(), and FairGeoIo::readGeomConfig().
Bool_t FairGeoInterface::readMedia | ( | ) |
Definition at line 254 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 254 of file FairGeoInterface.cxx
References connectInput(), FairGeoMedia::getInputFile(), media, and FairGeoIo::read().
Referenced by createGeometry(), EicGeoParData::EicGeoParData(), and readAll().
Bool_t FairGeoInterface::readSet | ( | FairGeoSet * | pSet | ) |
Definition at line 215 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 215 of file FairGeoInterface.cxx
References connectInput(), FairGeoSet::getGeomFile(), media, and FairGeoIo::read().
Referenced by ClassImp(), PndMagnet::ConstructASCIIGeometry(), CbmRich::ConstructAsciiGeometry(), PndTarget::ConstructGeometry(), EicDetector::ConstructGeometry(), createGeometry(), and readAll().
Bool_t FairGeoInterface::readSetupFile | ( | ) |
Definition at line 465 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 465 of file FairGeoInterface.cxx
References connectInput(), FairGeoAsciiIo::readDetectorSetup(), and setupFile.
Referenced by createGeometry(), and readAll().
|
inline |
Definition at line 53 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 53 of file FairGeoInterface.h
References geoBuilder, and p.
Referenced by FairGeoLoader::FairGeoLoader().
void FairGeoInterface::setMediaFile | ( | const char * | file | ) |
Definition at line 104 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 104 of file FairGeoInterface.cxx
References media, and FairGeoMedia::setInputFile().
Referenced by EicGeoParData::EicGeoParData().
|
inline |
Definition at line 80 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 80 of file FairGeoInterface.h
Referenced by FairRunSim::Init().
|
inline |
Definition at line 51 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 51 of file FairGeoInterface.h
|
inline |
Definition at line 52 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 52 of file FairGeoInterface.h
Bool_t FairGeoInterface::writeAll | ( | ) |
Definition at line 304 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 304 of file FairGeoInterface.cxx
References nSets, sets, writeMedia(), and writeSet().
Bool_t FairGeoInterface::writeMedia | ( | ) |
Definition at line 265 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 265 of file FairGeoInterface.cxx
References connectOutput(), media, output, and FairGeoIo::write().
Referenced by writeAll().
Bool_t FairGeoInterface::writeMedia | ( | const char * | filename | ) |
Definition at line 272 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 272 of file FairGeoInterface.cxx
References FairGeoIo::isOpen(), media, FairGeoIo::open(), output, and FairGeoIo::write().
Bool_t FairGeoInterface::writeSet | ( | FairGeoSet * | pSet | ) |
Definition at line 227 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 227 of file FairGeoInterface.cxx
References connectOutput(), output, and FairGeoIo::write().
Referenced by writeAll().
Bool_t FairGeoInterface::writeSet | ( | FairGeoSet * | pSet, |
const char * | filename | ||
) |
Definition at line 234 of file FairGeoInterface.cxx.
View newest version in sPHENIX GitHub at line 234 of file FairGeoInterface.cxx
References FairGeoIo::isOpen(), FairGeoIo::open(), output, and FairGeoIo::write().
|
private |
Definition at line 37 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 37 of file FairGeoInterface.h
Referenced by connectInput(), getFileInput(), and ~FairGeoInterface().
|
private |
file with detector setups (subsets)
Definition at line 47 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 47 of file FairGeoInterface.h
Referenced by createAll(), createGeometry(), createSet(), and setGeomBuilder().
|
private |
list of shapes
Definition at line 45 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 45 of file FairGeoInterface.h
Referenced by addGeoModule(), getMasterNodes(), and ~FairGeoInterface().
|
private |
array of geometry sets
Definition at line 43 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 43 of file FairGeoInterface.h
Referenced by getMedia(), print(), readMedia(), readSet(), setMediaFile(), writeMedia(), and ~FairGeoInterface().
|
private |
number of geometry sets (detector parts)
Definition at line 41 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 41 of file FairGeoInterface.h
Referenced by addGeoModule(), createGeometry(), and readAll().
|
private |
Oracle output
Definition at line 40 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 40 of file FairGeoInterface.h
Referenced by createAll(), createGeometry(), findSet(), print(), readAll(), SetNoOfSets(), and writeAll().
|
private |
ASCII file I/O
Definition at line 38 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 38 of file FairGeoInterface.h
Referenced by connectInput(), createGeometry(), getOraInput(), readAll(), setOracleInput(), and ~FairGeoInterface().
|
private |
Oracle input
Definition at line 39 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 39 of file FairGeoInterface.h
Referenced by connectOutput(), getOutput(), setOutput(), writeMedia(), writeSet(), and ~FairGeoInterface().
|
private |
number of set in actual geometry
Definition at line 42 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 42 of file FairGeoInterface.h
Referenced by addGeoModule(), createAll(), createGeometry(), deleteSet(), findSet(), print(), readAll(), writeAll(), and ~FairGeoInterface().
|
private |
list of mother nodes used by several sets
Definition at line 46 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 46 of file FairGeoInterface.h
Referenced by addSetupFile(), and readSetupFile().
|
private |
list of media
Definition at line 44 of file FairGeoInterface.h.
View newest version in sPHENIX GitHub at line 44 of file FairGeoInterface.h
Referenced by addGeoModule(), getShapes(), and ~FairGeoInterface().