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

#include <EicToyModel/blob/master/include/EicGeoMedia.h>

+ Inheritance diagram for EicGeoMedia:
+ Collaboration diagram for EicGeoMedia:

Public Member Functions

 EicGeoMedia ()
 
 ~EicGeoMedia ()
 
void addMedium (EicGeoMedium *m)
 
EicGeoMediumgetMedium (const char *)
 
TList * getListOfMedia ()
 
void read (std::fstream &)
 
void print ()
 
Int_t createMedium (EicGeoMedium *)
 

Private Attributes

TList * media
 
Int_t nMed
 

Detailed Description

Definition at line 15 of file EicGeoMedia.h.

View newest version in sPHENIX GitHub at line 15 of file EicGeoMedia.h

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

+ Here is the call graph for this function:

TList* EicGeoMedia::getListOfMedia ( )
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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

TList* EicGeoMedia::media
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().

Int_t EicGeoMedia::nMed
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().


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