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

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

+ Inheritance diagram for EicGeoMedium:
+ Collaboration diagram for EicGeoMedium:

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
 

Detailed Description

Definition at line 13 of file EicGeoMedium.h.

View newest version in sPHENIX GitHub at line 13 of file EicGeoMedium.h

Constructor & Destructor Documentation

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.

Member Function Documentation

Int_t EicGeoMedium::getAutoFlag ( )
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().

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

Double_t EicGeoMedium::getDensity ( )
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().

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

Int_t EicGeoMedium::getNComponents ( )
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().

+ Here is the caller graph for this function:

Int_t EicGeoMedium::getWeightFac ( )
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().

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 128 of file EicGeoMedium.cxx.

View newest version in sPHENIX GitHub at line 128 of file EicGeoMedium.cxx

References epsil, fld, fldFlag, madfld, maxde, maxstep, minstep, precision, and sensFlag.

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Int_t EicGeoMedium::autoflag
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().

Double_t* EicGeoMedium::ca
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().

Double_t* EicGeoMedium::cw
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().

Double_t* EicGeoMedium::cz
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().

Double_t EicGeoMedium::density
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().

Double_t EicGeoMedium::epsil
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().

Double_t EicGeoMedium::fld
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().

Int_t EicGeoMedium::fldFlag
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().

Double_t EicGeoMedium::madfld
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().

Double_t EicGeoMedium::maxde
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().

Double_t EicGeoMedium::maxstep
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().

Double_t EicGeoMedium::minstep
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().

Int_t EicGeoMedium::nComponents
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().

Int_t EicGeoMedium::sensFlag
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().

Int_t EicGeoMedium::weightFac
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().


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