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

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

+ Inheritance diagram for FairGeoMedia:
+ Collaboration diagram for FairGeoMedia:

Public Member Functions

 FairGeoMedia ()
 
 ~FairGeoMedia ()
 
void setInputFile (const char *file)
 
const char * getInputFile ()
 
void addMedium (FairGeoMedium *m)
 
FairGeoMediumgetMedium (const char *)
 
TList * getListOfMedia ()
 
void read (std::fstream &)
 
void print ()
 
void list ()
 
void write (std::fstream &)
 
void setAuthor (TString &s)
 
void setDescription (TString &s)
 
TString & getAuthor ()
 
TString & getDescription ()
 

Private Member Functions

 FairGeoMedia (const FairGeoMedia &)
 
FairGeoMediaoperator= (const FairGeoMedia &)
 

Private Attributes

TList * media
 
TString inputFile
 
TString author
 
TString description
 

Detailed Description

Class for materials and media

Author
Ilse koenig

Definition at line 17 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 17 of file FairGeoMedia.h

Constructor & Destructor Documentation

FairGeoMedia::FairGeoMedia ( )

description of the version

FairGeoMedia::~FairGeoMedia ( )

Definition at line 33 of file FairGeoMedia.cxx.

View newest version in sPHENIX GitHub at line 33 of file FairGeoMedia.cxx

References media.

FairGeoMedia::FairGeoMedia ( const FairGeoMedia )
private

Member Function Documentation

void FairGeoMedia::addMedium ( FairGeoMedium m)

Definition at line 49 of file FairGeoMedia.cxx.

View newest version in sPHENIX GitHub at line 49 of file FairGeoMedia.cxx

References media.

Referenced by PndGeoCave::read(), and FairGeoOldAsciiIo::read().

+ Here is the caller graph for this function:

TString& FairGeoMedia::getAuthor ( )
inline

Definition at line 38 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 38 of file FairGeoMedia.h

References author.

TString& FairGeoMedia::getDescription ( )
inline

Definition at line 39 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 39 of file FairGeoMedia.h

References description.

const char* FairGeoMedia::getInputFile ( )
inline

Definition at line 28 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 28 of file FairGeoMedia.h

References inputFile.

Referenced by FairGeoInterface::readMedia().

+ Here is the caller graph for this function:

TList* FairGeoMedia::getListOfMedia ( )
inline

Definition at line 31 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 31 of file FairGeoMedia.h

References media.

Referenced by FairMCApplication::ConstructOpGeometry().

+ Here is the caller graph for this function:

FairGeoMedium * FairGeoMedia::getMedium ( const char *  mediumName)

Definition at line 43 of file FairGeoMedia.cxx.

View newest version in sPHENIX GitHub at line 43 of file FairGeoMedia.cxx

References media.

Referenced by FairModule::AssignMediumAtImport(), CbmRich::ConstructGdmlGeometry(), PndPipe::ConstructGeometry(), EicDetector::ConstructGeometry(), CbmRich::ExpandNodeForGdml(), EicMediaHub::GetMedium(), EicGeoParData::GetMedium(), PndGeoCave::read(), FairGeoOldAsciiIo::read(), and FairGeoSet::readVolumeParams().

+ Here is the caller graph for this function:

void FairGeoMedia::list ( )

Definition at line 55 of file FairGeoMedia.cxx.

View newest version in sPHENIX GitHub at line 55 of file FairGeoMedia.cxx

References media.

Referenced by FairGeoInterface::print().

+ Here is the caller graph for this function:

FairGeoMedia& FairGeoMedia::operator= ( const FairGeoMedia )
private
void FairGeoMedia::print ( )

Definition at line 67 of file FairGeoMedia.cxx.

View newest version in sPHENIX GitHub at line 67 of file FairGeoMedia.cxx

References author, description, FairGeoMedium::getAutoFlag(), media, and FairGeoMedium::print().

+ Here is the call graph for this function:

void FairGeoMedia::read ( std::fstream &  fin)

Definition at line 93 of file FairGeoMedia.cxx.

View newest version in sPHENIX GitHub at line 93 of file FairGeoMedia.cxx

References media, and FairGeoMedium::read().

Referenced by FairGeoAsciiIo::read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairGeoMedia::setAuthor ( TString &  s)
inline

Definition at line 36 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 36 of file FairGeoMedia.h

References author, and Acts::UnitConstants::s.

void FairGeoMedia::setDescription ( TString &  s)
inline

Definition at line 37 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 37 of file FairGeoMedia.h

References description, and Acts::UnitConstants::s.

void FairGeoMedia::setInputFile ( const char *  file)
inline

Definition at line 27 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 27 of file FairGeoMedia.h

References eicpy.qaplots::file, and inputFile.

Referenced by FairGeoInterface::setMediaFile().

+ Here is the caller graph for this function:

void FairGeoMedia::write ( std::fstream &  fout)

Definition at line 115 of file FairGeoMedia.cxx.

View newest version in sPHENIX GitHub at line 115 of file FairGeoMedia.cxx

References author, description, FairGeoMedium::getAutoFlag(), media, and FairGeoMedium::write().

Referenced by FairGeoAsciiIo::write().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

TString FairGeoMedia::author
private

name of input file or Oracle

Definition at line 22 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 22 of file FairGeoMedia.h

Referenced by getAuthor(), print(), setAuthor(), and write().

TString FairGeoMedia::description
private

author of the media version

Definition at line 23 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 23 of file FairGeoMedia.h

Referenced by getDescription(), print(), setDescription(), and write().

TString FairGeoMedia::inputFile
private

list of media

Definition at line 21 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 21 of file FairGeoMedia.h

Referenced by getInputFile(), and setInputFile().

TList* FairGeoMedia::media
private

Definition at line 20 of file FairGeoMedia.h.

View newest version in sPHENIX GitHub at line 20 of file FairGeoMedia.h

Referenced by addMedium(), getListOfMedia(), getMedium(), list(), print(), read(), write(), and ~FairGeoMedia().


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