EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicToyModel/blob/master/include/EicGeoMedium.h>
Public Member Functions | |
EicGeoMedium (const char *name="") | |
~EicGeoMedium () | |
Int_t | getAutoFlag () |
void | setNComponents (Int_t) |
Int_t | getNComponents () |
Bool_t | setComponent (Int_t, Double_t, Double_t, Double_t w=1.) |
void | getComponent (Int_t, Double_t *) |
Int_t | getWeightFac () |
Double_t | getDensity () |
void | setMediumPar (Int_t, Int_t, Double_t, Double_t, Double_t maxDeviation=-1., Double_t maxStep=-1., Double_t maxDE=-1., Double_t minStepDouble_t=-1.) |
void | getMediumPar (Double_t *) |
void | read (std::fstream &, Int_t autoflag) |
void | print () |
Private Attributes | |
Int_t | autoflag |
Int_t | nComponents |
Int_t | weightFac |
Double_t * | ca |
Double_t * | cz |
Double_t * | cw |
Double_t | density |
Int_t | sensFlag |
Int_t | fldFlag |
Double_t | fld |
Double_t | epsil |
Double_t | madfld |
Double_t | maxstep |
Double_t | maxde |
Double_t | minstep |
Definition at line 13 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 13 of file EicGeoMedium.h
EicGeoMedium::EicGeoMedium | ( | const char * | name = "" | ) |
Minimum value for step
Definition at line 18 of file EicGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 18 of file EicGeoMedium.cxx
EicGeoMedium::~EicGeoMedium | ( | ) |
Definition at line 49 of file EicGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 49 of file EicGeoMedium.cxx
References ca, cw, cz, and nComponents.
|
inline |
Definition at line 36 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 36 of file EicGeoMedium.h
References autoflag.
Referenced by EicGeoMedia::print().
void EicGeoMedium::getComponent | ( | Int_t | i, |
Double_t * | p | ||
) |
Definition at line 115 of file EicGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 115 of file EicGeoMedium.cxx
References ca, cw, cz, and nComponents.
Referenced by EicGeoMedia::createMedium().
|
inline |
Definition at line 42 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 42 of file EicGeoMedium.h
References density.
Referenced by EicGeoMedia::createMedium().
void EicGeoMedium::getMediumPar | ( | Double_t * | params | ) |
Definition at line 145 of file EicGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 145 of file EicGeoMedium.cxx
References epsil, fld, fldFlag, madfld, maxde, maxstep, minstep, and sensFlag.
Referenced by EicGeoMedia::createMedium().
|
inline |
Definition at line 38 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 38 of file EicGeoMedium.h
References nComponents.
Referenced by EicGeoMedia::createMedium().
|
inline |
Definition at line 41 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 41 of file EicGeoMedium.h
References weightFac.
Referenced by EicGeoMedia::createMedium().
void EicGeoMedium::print | ( | void | ) |
Definition at line 209 of file EicGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 209 of file EicGeoMedium.cxx
References autoflag, ca, cw, cz, density, epsil, fld, fldFlag, madfld, maxde, maxstep, minstep, nComponents, sensFlag, and weightFac.
Referenced by EicGeoMedia::print().
void EicGeoMedium::read | ( | std::fstream & | fin, |
Int_t | autoflag | ||
) |
Definition at line 162 of file EicGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 162 of file EicGeoMedium.cxx
References autoflag, ca, cw, cz, density, epsil, fld, fldFlag, madfld, maxde, maxstep, minstep, n, nComponents, sensFlag, and setNComponents().
Referenced by EicGeoMedia::read().
Bool_t EicGeoMedium::setComponent | ( | Int_t | i, |
Double_t | a, | ||
Double_t | z, | ||
Double_t | w = 1. |
||
) |
Definition at line 100 of file EicGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 100 of file EicGeoMedium.cxx
References ca, cw, cz, nComponents, and z.
void EicGeoMedium::setMediumPar | ( | Int_t | sensitivityFlag, |
Int_t | fieldFlag, | ||
Double_t | maxField, | ||
Double_t | precision, | ||
Double_t | maxDeviation = -1. , |
||
Double_t | maxStep = -1. , |
||
Double_t | maxDE = -1. , |
||
Double_t | minStepDouble_t = -1. |
||
) |
void EicGeoMedium::setNComponents | ( | Int_t | n | ) |
Definition at line 78 of file EicGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 78 of file EicGeoMedium.cxx
References kdfinder::abs(), ca, cw, cz, k, nComponents, and weightFac.
Referenced by read().
|
private |
Definition at line 16 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 16 of file EicGeoMedium.h
Referenced by getAutoFlag(), print(), and read().
|
private |
Factor for weights (1: relative w., -1: w. by number of atoms)
Definition at line 19 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 19 of file EicGeoMedium.h
Referenced by getComponent(), print(), read(), setComponent(), setNComponents(), and ~EicGeoMedium().
|
private |
Definition at line 21 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 21 of file EicGeoMedium.h
Referenced by getComponent(), print(), read(), setComponent(), setNComponents(), and ~EicGeoMedium().
|
private |
Definition at line 20 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 20 of file EicGeoMedium.h
Referenced by getComponent(), print(), read(), setComponent(), setNComponents(), and ~EicGeoMedium().
|
private |
Definition at line 22 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 22 of file EicGeoMedium.h
Referenced by getDensity(), print(), and read().
|
private |
Maximum field value in kilogauss
Definition at line 26 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 26 of file EicGeoMedium.h
Referenced by getMediumPar(), print(), read(), and setMediumPar().
|
private |
Field flag
Definition at line 25 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 25 of file EicGeoMedium.h
Referenced by getMediumPar(), print(), read(), and setMediumPar().
|
private |
Sensitivity flag
Definition at line 24 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 24 of file EicGeoMedium.h
Referenced by getMediumPar(), print(), read(), and setMediumPar().
|
private |
Boundary crossing precision
Definition at line 27 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 27 of file EicGeoMedium.h
Referenced by getMediumPar(), print(), read(), and setMediumPar().
|
private |
Maximum step permitted
Definition at line 29 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 29 of file EicGeoMedium.h
Referenced by getMediumPar(), print(), read(), and setMediumPar().
|
private |
Maximum angular deviation due to field
Definition at line 28 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 28 of file EicGeoMedium.h
Referenced by getMediumPar(), print(), read(), and setMediumPar().
|
private |
Maximum fractional energy loss
Definition at line 30 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 30 of file EicGeoMedium.h
Referenced by getMediumPar(), print(), read(), and setMediumPar().
|
private |
Flag for default values of madfld .. minstep
Definition at line 17 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 17 of file EicGeoMedium.h
Referenced by getComponent(), getNComponents(), print(), read(), setComponent(), setNComponents(), and ~EicGeoMedium().
|
private |
Density in g cm(**-3)
Definition at line 23 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 23 of file EicGeoMedium.h
Referenced by getMediumPar(), print(), read(), and setMediumPar().
|
private |
Number of material components
Definition at line 18 of file EicGeoMedium.h.
View newest version in sPHENIX GitHub at line 18 of file EicGeoMedium.h
Referenced by getWeightFac(), print(), and setNComponents().