HGeomMedium
class description - source file - inheritance tree (.pdf)
public:
HGeomMedium(const char* name)
HGeomMedium(const HGeomMedium&)
~HGeomMedium()
Bool_t calcRadiationLength()
static TClass* Class()
Int_t getAutoFlag()
void getCerenkovPar(Int_t, Double_t*)
void getComponent(Int_t, Double_t*)
Double_t getDensity()
Double_t getEpsil()
Double_t getField()
Int_t getFieldFlag()
Int_t getMediumIndex()
void getMediumPar(Double_t*)
Int_t getNComponents()
Int_t getNpckov()
Double_t getRadiationLength()
Int_t getSensitivityFlag()
Int_t getWeightFac()
virtual TClass* IsA() const
Bool_t isSensitive()
HGeomMedium& operator=(const HGeomMedium&)
void print()
void read(fstream&, Int_t autoflag)
void setAutoFlag(Int_t i)
Bool_t setCerenkovPar(Int_t, Double_t, Double_t, Double_t, Double_t)
Bool_t setComponent(Int_t, Double_t, Double_t, Double_t w = 1.)
void setDensity(Double_t d)
void setMediumIndex(Int_t i)
void setMediumPar(Int_t, Int_t, Double_t, Double_t, Double_t maxDeviation = 0., Double_t maxStep = 0., Double_t maxDE = 0., Double_t minStepDouble_t = 0.)
void setNComponents(Int_t)
void setNpckov(Int_t)
void setRadiationLength(Double_t l)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void write(fstream&)
private:
Int_t medId Unique number for the material and the medium
Int_t autoflag Flag for default values of madfld .. minstep
Int_t nComponents Number of material components
Int_t weightFac Factor for weights (1: relative w., -1: w. by number of atoms)
Double_t* ca Atomic weights for the components
Double_t* cz Atomic numbers for the components
Double_t* cw Weights of the components in a mixture
Double_t density Density in g cm(**-3)
Double_t radLen Radiation lenght
Int_t sensFlag Sensitivity flag
Int_t fldFlag Field flag
Double_t fld Maximum field value in kilogauss
Double_t epsil Boundary crossing precision
Double_t madfld Maximum angular deviation due to field
Double_t maxstep Maximum step permitted
Double_t maxde Maximum fractional energy loss
Double_t minstep Minimum value for step
Int_t npckov Number of optical parameters for Cerenkov
Double_t* ppckov Photon momentum
Double_t* absco Absoption length
Double_t* effic Detection efficiency
Double_t* rindex Refraction index
Class for tracking medium ( includes also material )
HGeomMedium(const char* name) : TNamed()
Constructor for a medium with name and index id
~HGeomMedium()
Destructor
void setNComponents(Int_t n)
Sets the number of components in the material
Bool_t setComponent (Int_t i,Double_t a,Double_t z,Double_t weight)
Defines the ith material component
void getComponent(Int_t i,Double_t* p)
Returns the ith material component
void setNpckov (Int_t n)
Sets the number of optical parameters for the tracking of Cerenkov light
Bool_t setCerenkovPar(Int_t i,Double_t p,Double_t a,Double_t e ,Double_t r)
Defines the ith parameter set of the optical parameters
void getCerenkovPar(Int_t i,Double_t* p)
returns the ith parameter set of the optical parameters
void setMediumPar(Int_t sensitivityFlag,Int_t fieldFlag,
Double_t maxField,Double_t precision,Double_t maxDeviation,
Double_t maxStep,Double_t maxDE,Double_t minStep )
Sets the medium parameters
void getMediumPar(Double_t* params)
Returns the medium parameters
void read(fstream& fin, Int_t aflag )
Reads the parameters from file
void print()
Prints the medium definition
void write (fstream& fout)
Writes the medium definition into stream
Bool_t calcRadiationLength()
calculates radiation length
formula in GEANT manual CONS110
Inline Functions
void setMediumIndex(Int_t i)
Int_t getMediumIndex()
void setAutoFlag(Int_t i)
Int_t getAutoFlag()
Int_t getNComponents()
Int_t getWeightFac()
void setDensity(Double_t d)
Double_t getDensity()
void setRadiationLength(Double_t l)
Double_t getRadiationLength()
Int_t getNpckov()
Bool_t isSensitive()
Int_t getSensitivityFlag()
Int_t getFieldFlag()
Double_t getField()
Double_t getEpsil()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HGeomMedium HGeomMedium(const HGeomMedium&)
HGeomMedium& operator=(const HGeomMedium&)
Author: Ilse Koenig
Last update: 10/11/2003 by Ilse Koenig
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.