EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicToyModel/blob/master/include/EicGeoMedia.h>
Public Member Functions | |
EicGeoMedia () | |
~EicGeoMedia () | |
void | addMedium (EicGeoMedium *m) |
EicGeoMedium * | getMedium (const char *) |
TList * | getListOfMedia () |
void | read (std::fstream &) |
void | print () |
Int_t | createMedium (EicGeoMedium *) |
Private Attributes | |
TList * | media |
Int_t | nMed |
Definition at line 15 of file EicGeoMedia.h.
View newest version in sPHENIX GitHub at line 15 of file EicGeoMedia.h
EicGeoMedia::EicGeoMedia | ( | ) |
Definition at line 20 of file EicGeoMedia.cxx.
View newest version in sPHENIX GitHub at line 20 of file EicGeoMedia.cxx
EicGeoMedia::~EicGeoMedia | ( | ) |
Definition at line 29 of file EicGeoMedia.cxx.
View newest version in sPHENIX GitHub at line 29 of file EicGeoMedia.cxx
References media.
void EicGeoMedia::addMedium | ( | EicGeoMedium * | m | ) |
Definition at line 48 of file EicGeoMedia.cxx.
View newest version in sPHENIX GitHub at line 48 of file EicGeoMedia.cxx
References media.
Int_t EicGeoMedia::createMedium | ( | EicGeoMedium * | med | ) |
Definition at line 104 of file EicGeoMedia.cxx.
View newest version in sPHENIX GitHub at line 104 of file EicGeoMedia.cxx
References EicGeoMedium::getComponent(), EicGeoMedium::getDensity(), EicGeoMedium::getMediumPar(), EicGeoMedium::getNComponents(), EicGeoMedium::getWeightFac(), material(), nMed, and p.
|
inline |
Definition at line 27 of file EicGeoMedia.h.
View newest version in sPHENIX GitHub at line 27 of file EicGeoMedia.h
References media.
EicGeoMedium * EicGeoMedia::getMedium | ( | const char * | mediumName | ) |
Definition at line 40 of file EicGeoMedia.cxx.
View newest version in sPHENIX GitHub at line 40 of file EicGeoMedia.cxx
References media.
void EicGeoMedia::print | ( | void | ) |
Definition at line 56 of file EicGeoMedia.cxx.
View newest version in sPHENIX GitHub at line 56 of file EicGeoMedia.cxx
References EicGeoMedium::getAutoFlag(), media, and EicGeoMedium::print().
void EicGeoMedia::read | ( | std::fstream & | fin | ) |
Definition at line 80 of file EicGeoMedia.cxx.
View newest version in sPHENIX GitHub at line 80 of file EicGeoMedia.cxx
References media, and EicGeoMedium::read().
Referenced by EicGeoParData::ImportMediaFile().
|
private |
Definition at line 18 of file EicGeoMedia.h.
View newest version in sPHENIX GitHub at line 18 of file EicGeoMedia.h
Referenced by addMedium(), getListOfMedia(), getMedium(), print(), read(), and ~EicGeoMedia().
|
private |
list of media
Definition at line 19 of file EicGeoMedia.h.
View newest version in sPHENIX GitHub at line 19 of file EicGeoMedia.h
Referenced by createMedium().