EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/geobase/FairGeoMedium.h>
Public Member Functions | |
FairGeoMedium (const char *name="") | |
FairGeoMedium & | operator= (const FairGeoMedium &) |
~FairGeoMedium () | |
void | setMediumIndex (Int_t i) |
Int_t | getMediumIndex () |
void | setAutoFlag (Int_t i) |
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 () |
void | setDensity (Double_t d) |
Double_t | getDensity () |
void | setRadiationLength (Double_t l) |
Double_t | getRadiationLength () |
void | setNpckov (Int_t) |
Int_t | getNpckov () |
Bool_t | setCerenkovPar (Int_t, Double_t, Double_t, Double_t, Double_t) |
void | getCerenkovPar (Int_t, Double_t *) |
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 *) |
Bool_t | isSensitive () |
Int_t | getSensitivityFlag () |
Int_t | getFieldFlag () |
Double_t | getField () |
Double_t | getEpsil () |
void | read (std::fstream &, Int_t autoflag) |
void | print () |
void | write (std::fstream &) |
Bool_t | calcRadiationLength () |
Private Member Functions | |
FairGeoMedium (const FairGeoMedium &) | |
Private Attributes | |
Int_t | medId |
Int_t | autoflag |
Int_t | nComponents |
Int_t | weightFac |
Double_t * | ca |
Double_t * | cz |
Double_t * | cw |
Double_t | density |
Double_t | radLen |
Int_t | sensFlag |
Int_t | fldFlag |
Double_t | fld |
Double_t | epsil |
Double_t | madfld |
Double_t | maxstep |
Double_t | maxde |
Double_t | minstep |
Int_t | npckov |
Double_t * | ppckov |
Double_t * | absco |
Double_t * | effic |
Double_t * | rindex |
Friends | |
class | FairModule |
Class for tracking medium
Definition at line 13 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 13 of file FairGeoMedium.h
FairGeoMedium::FairGeoMedium | ( | const char * | name = "" | ) |
FairGeoMedium::~FairGeoMedium | ( | ) |
Definition at line 49 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 49 of file FairGeoMedium.cxx
References absco, ca, cw, cz, effic, nComponents, npckov, ppckov, and rindex.
|
private |
Bool_t FairGeoMedium::calcRadiationLength | ( | ) |
Definition at line 280 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 280 of file FairGeoMedium.cxx
References starlightConstants::alpha, ca, cw, cz, density, Acts::UnitConstants::e, F, nComponents, radLen, weightFac, y, and z.
Referenced by FairModule::AssignMediumAtImport(), and read().
|
inline |
Definition at line 48 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 48 of file FairGeoMedium.h
References autoflag.
Referenced by FairGeoMedia::print(), and FairGeoMedia::write().
void FairGeoMedium::getCerenkovPar | ( | Int_t | i, |
Double_t * | p | ||
) |
Definition at line 150 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 150 of file FairGeoMedium.cxx
References absco, effic, npckov, ppckov, and rindex.
Referenced by FairMCApplication::ConstructOpGeometry(), and CbmRichHitProducer::Init().
void FairGeoMedium::getComponent | ( | Int_t | i, |
Double_t * | p | ||
) |
Definition at line 107 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 107 of file FairGeoMedium.cxx
References ca, cw, cz, and nComponents.
Referenced by FairGeoRootBuilder::createMedium().
|
inline |
Definition at line 55 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 55 of file FairGeoMedium.h
References density.
Referenced by FairGeoRootBuilder::createMedium().
|
inline |
Definition at line 70 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 70 of file FairGeoMedium.h
References epsil.
|
inline |
Definition at line 69 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 69 of file FairGeoMedium.h
References fld.
|
inline |
Definition at line 68 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 68 of file FairGeoMedium.h
References fldFlag.
|
inline |
Definition at line 46 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 46 of file FairGeoMedium.h
References medId.
Referenced by FairMCApplication::ConstructOpGeometry(), and FairGeoRootBuilder::createNode().
void FairGeoMedium::getMediumPar | ( | Double_t * | params | ) |
Definition at line 176 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 176 of file FairGeoMedium.cxx
References epsil, fld, fldFlag, madfld, maxde, maxstep, minstep, and sensFlag.
Referenced by EicDetector::ConstructGeometry(), and FairGeoRootBuilder::createMedium().
|
inline |
Definition at line 50 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 50 of file FairGeoMedium.h
References nComponents.
Referenced by FairGeoRootBuilder::createMedium().
|
inline |
Definition at line 59 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 59 of file FairGeoMedium.h
References npckov.
Referenced by FairMCApplication::ConstructOpGeometry(), and CbmRichHitProducer::Init().
|
inline |
Definition at line 57 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 57 of file FairGeoMedium.h
References radLen.
Referenced by FairGeoRootBuilder::createMedium().
|
inline |
Definition at line 67 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 67 of file FairGeoMedium.h
References sensFlag.
Referenced by CbmRich::ExpandNodeForGdml().
|
inline |
Definition at line 53 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 53 of file FairGeoMedium.h
References weightFac.
Referenced by FairGeoRootBuilder::createMedium().
|
inline |
Definition at line 83 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 83 of file FairGeoMedium.h
References sensFlag.
Referenced by FairGeoNode::isSensitive().
|
inline |
Definition at line 43 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 43 of file FairGeoMedium.h
void FairGeoMedium::print | ( | ) |
Definition at line 234 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 234 of file FairGeoMedium.cxx
References absco, autoflag, ca, cw, cz, density, effic, epsil, fld, fldFlag, madfld, maxde, maxstep, minstep, nComponents, npckov, ppckov, radLen, rindex, sensFlag, and weightFac.
Referenced by FairGeoMedia::print().
void FairGeoMedium::read | ( | std::fstream & | fin, |
Int_t | autoflag | ||
) |
Definition at line 191 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 191 of file FairGeoMedium.cxx
References absco, autoflag, ca, calcRadiationLength(), cw, cz, density, effic, epsil, fld, fldFlag, madfld, maxde, maxstep, minstep, n, nComponents, ppckov, rindex, sensFlag, setNComponents(), and setNpckov().
Referenced by FairGeoMedia::read().
|
inline |
Definition at line 47 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 47 of file FairGeoMedium.h
References autoflag.
Bool_t FairGeoMedium::setCerenkovPar | ( | Int_t | i, |
Double_t | p, | ||
Double_t | a, | ||
Double_t | e, | ||
Double_t | r | ||
) |
Definition at line 136 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 136 of file FairGeoMedium.cxx
References absco, Acts::UnitConstants::e, effic, npckov, p, ppckov, and rindex.
Bool_t FairGeoMedium::setComponent | ( | Int_t | i, |
Double_t | a, | ||
Double_t | z, | ||
Double_t | w = 1. |
||
) |
Definition at line 94 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 94 of file FairGeoMedium.cxx
References ca, cw, cz, nComponents, and z.
Referenced by FairModule::AssignMediumAtImport().
|
inline |
Definition at line 54 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 54 of file FairGeoMedium.h
Referenced by FairModule::AssignMediumAtImport().
|
inline |
Definition at line 45 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 45 of file FairGeoMedium.h
References medId.
Referenced by FairGeoRootBuilder::createMedium().
void FairGeoMedium::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 FairGeoMedium::setNComponents | ( | Int_t | n | ) |
Definition at line 74 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 74 of file FairGeoMedium.cxx
References kdfinder::abs(), ca, cw, cz, k, nComponents, and weightFac.
Referenced by FairModule::AssignMediumAtImport(), and read().
void FairGeoMedium::setNpckov | ( | Int_t | n | ) |
|
inline |
Definition at line 56 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 56 of file FairGeoMedium.h
References radLen.
void FairGeoMedium::write | ( | std::fstream & | fout | ) |
Definition at line 257 of file FairGeoMedium.cxx.
View newest version in sPHENIX GitHub at line 257 of file FairGeoMedium.cxx
References absco, autoflag, ca, cw, cz, density, effic, epsil, fld, fldFlag, madfld, maxde, maxstep, minstep, nComponents, npckov, ppckov, radLen, rindex, sensFlag, and weightFac.
Referenced by FairGeoMedia::write().
|
friend |
Definition at line 16 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 16 of file FairGeoMedium.h
|
private |
Definition at line 38 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 38 of file FairGeoMedium.h
Referenced by getCerenkovPar(), print(), read(), setCerenkovPar(), setNpckov(), write(), and ~FairGeoMedium().
|
private |
Unique number for the material and the medium
Definition at line 20 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 20 of file FairGeoMedium.h
Referenced by getAutoFlag(), print(), read(), setAutoFlag(), and write().
|
private |
Factor for weights (1: relative w., -1: w. by number of atoms)
Definition at line 23 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 23 of file FairGeoMedium.h
Referenced by calcRadiationLength(), getComponent(), print(), read(), setComponent(), setNComponents(), write(), and ~FairGeoMedium().
|
private |
Definition at line 25 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 25 of file FairGeoMedium.h
Referenced by calcRadiationLength(), getComponent(), print(), read(), setComponent(), setNComponents(), write(), and ~FairGeoMedium().
|
private |
Definition at line 24 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 24 of file FairGeoMedium.h
Referenced by calcRadiationLength(), getComponent(), print(), read(), setComponent(), setNComponents(), write(), and ~FairGeoMedium().
|
private |
Definition at line 26 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 26 of file FairGeoMedium.h
Referenced by calcRadiationLength(), getDensity(), print(), read(), setDensity(), and write().
|
private |
Definition at line 39 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 39 of file FairGeoMedium.h
Referenced by getCerenkovPar(), print(), read(), setCerenkovPar(), setNpckov(), write(), and ~FairGeoMedium().
|
private |
Maximum field value in kilogauss
Definition at line 31 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 31 of file FairGeoMedium.h
Referenced by FairModule::AssignMediumAtImport(), getEpsil(), getMediumPar(), print(), read(), setMediumPar(), and write().
|
private |
Field flag
Definition at line 30 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 30 of file FairGeoMedium.h
Referenced by FairModule::AssignMediumAtImport(), getField(), getMediumPar(), print(), read(), setMediumPar(), and write().
|
private |
Sensitivity flag
Definition at line 29 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 29 of file FairGeoMedium.h
Referenced by FairModule::AssignMediumAtImport(), getFieldFlag(), getMediumPar(), print(), read(), setMediumPar(), and write().
|
private |
Boundary crossing precision
Definition at line 32 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 32 of file FairGeoMedium.h
Referenced by FairModule::AssignMediumAtImport(), getMediumPar(), print(), read(), setMediumPar(), and write().
|
private |
Maximum step permitted
Definition at line 34 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 34 of file FairGeoMedium.h
Referenced by FairModule::AssignMediumAtImport(), getMediumPar(), print(), read(), setMediumPar(), and write().
|
private |
Maximum angular deviation due to field
Definition at line 33 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 33 of file FairGeoMedium.h
Referenced by FairModule::AssignMediumAtImport(), getMediumPar(), print(), read(), setMediumPar(), and write().
|
private |
Definition at line 19 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 19 of file FairGeoMedium.h
Referenced by getMediumIndex(), and setMediumIndex().
|
private |
Maximum fractional energy loss
Definition at line 35 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 35 of file FairGeoMedium.h
Referenced by FairModule::AssignMediumAtImport(), getMediumPar(), print(), read(), setMediumPar(), and write().
|
private |
Flag for default values of madfld .. minstep
Definition at line 21 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 21 of file FairGeoMedium.h
Referenced by calcRadiationLength(), getComponent(), getNComponents(), print(), read(), setComponent(), setNComponents(), write(), and ~FairGeoMedium().
|
private |
Minimum value for step
Definition at line 36 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 36 of file FairGeoMedium.h
Referenced by getCerenkovPar(), getNpckov(), print(), setCerenkovPar(), setNpckov(), write(), and ~FairGeoMedium().
|
private |
Number of optical parameters for Cerenkov
Definition at line 37 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 37 of file FairGeoMedium.h
Referenced by getCerenkovPar(), print(), read(), setCerenkovPar(), setNpckov(), write(), and ~FairGeoMedium().
|
private |
Density in g cm(**-3)
Definition at line 27 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 27 of file FairGeoMedium.h
Referenced by calcRadiationLength(), getRadiationLength(), print(), setRadiationLength(), and write().
|
private |
Definition at line 40 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 40 of file FairGeoMedium.h
Referenced by getCerenkovPar(), print(), read(), setCerenkovPar(), setNpckov(), write(), and ~FairGeoMedium().
|
private |
Radiation lenght
Definition at line 28 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 28 of file FairGeoMedium.h
Referenced by FairModule::AssignMediumAtImport(), getMediumPar(), getSensitivityFlag(), isSensitive(), print(), read(), setMediumPar(), and write().
|
private |
Number of material components
Definition at line 22 of file FairGeoMedium.h.
View newest version in sPHENIX GitHub at line 22 of file FairGeoMedium.h
Referenced by calcRadiationLength(), getWeightFac(), print(), setNComponents(), and write().