G3Medium Class Reference

#include <G3Medium.h>

List of all members.

Public Member Functions

 G3Medium ()
 G3Medium (Int_t imed, Int_t imat, const char *name, Int_t isvol, Int_t ifield, Float_t fieldm, Float_t tmaxfd, Float_t stemax, Float_t deemax, Float_t epsil, Float_t stmin)
virtual ~G3Medium ()
virtual Int_t Id ()
virtual Int_t IdMat ()
virtual Int_t Isvol ()
virtual Int_t Ifield ()
virtual Float_t Fieldm ()
virtual Float_t Tmaxfd ()
virtual Float_t Stemax ()
virtual Float_t Deemax ()
virtual Float_t Epsil ()
virtual Float_t Stmin ()
virtual void SetPar (Int_t ipar, Float_t par)
virtual Float_t GetPar (Int_t ipar)
virtual Int_t ItemId ()
virtual void SetItemId (Int_t id)

Private Member Functions

 G3Medium (const G3Medium &med)
G3Mediumoperator= (const G3Medium &)

Private Attributes

Float_t fPars [kNPars]
Int_t fId
Int_t fIdMat
Int_t fIsvol
Int_t fIfield
Float_t fFieldm
Float_t fTmaxfd
Float_t fStemax
Float_t fDeemax
Float_t fEpsil
Float_t fStmin
Int_t fItem

Detailed Description

Definition at line 12 of file G3Medium.h.


Constructor & Destructor Documentation

G3Medium::G3Medium (  ) 

Definition at line 35 of file G3Medium.cxx.

00036 {
00037 // constructor
00038     fId=-1;
00039 }

G3Medium::G3Medium ( Int_t  imed,
Int_t  imat,
const char *  name,
Int_t  isvol,
Int_t  ifield,
Float_t  fieldm,
Float_t  tmaxfd,
Float_t  stemax,
Float_t  deemax,
Float_t  epsil,
Float_t  stmin 
)

Definition at line 41 of file G3Medium.cxx.

References fDeemax, fEpsil, fFieldm, fId, fIdMat, fIfield, fIsvol, fStemax, fStmin, and fTmaxfd.

00046     : TNamed(name, "Medium")
00047 {
00048 // constructor
00049     fId=imed;
00050     fIdMat=imat;
00051     fIsvol=isvol;
00052     fIfield=ifield;
00053     fFieldm=fieldm;
00054     fTmaxfd=tmaxfd;
00055     fStemax=stemax;
00056     fDeemax=deemax;
00057     fEpsil=epsil;
00058     fStmin=stmin;
00059 }

virtual G3Medium::~G3Medium (  )  [inline, virtual]

Definition at line 21 of file G3Medium.h.

00021 {;}

G3Medium::G3Medium ( const G3Medium med  )  [inline, private]

Definition at line 57 of file G3Medium.h.

00057 : TNamed(med) {}


Member Function Documentation

virtual Float_t G3Medium::Deemax (  )  [inline, virtual]

Definition at line 33 of file G3Medium.h.

References fDeemax.

00033 {return fDeemax;}

virtual Float_t G3Medium::Epsil (  )  [inline, virtual]

Definition at line 34 of file G3Medium.h.

References fEpsil.

00034 {return fEpsil;}

virtual Float_t G3Medium::Fieldm (  )  [inline, virtual]

Definition at line 30 of file G3Medium.h.

References fFieldm.

00030 {return fFieldm;}

Float_t G3Medium::GetPar ( Int_t  ipar  )  [virtual]

Definition at line 68 of file G3Medium.cxx.

References fPars.

00069 {
00070 // Get parameter number ipar
00071     Float_t p;
00072     if (ipar < 23) {
00073         p= fPars[ipar-1];
00074     } else if(ipar >=23 && ipar <27) {
00075         p= fPars[ipar-1+3];
00076     } else {
00077         p= fPars[ipar-1+4];
00078     }
00079 
00080     return p;
00081 }

Int_t G3Medium::Id (  )  [virtual]

Definition at line 61 of file G3Medium.cxx.

References fId.

00062 {
00063 // return medium id
00064     return fId;
00065 }

virtual Int_t G3Medium::IdMat (  )  [inline, virtual]

Definition at line 27 of file G3Medium.h.

References fIdMat.

00027 {return fIdMat;}

virtual Int_t G3Medium::Ifield (  )  [inline, virtual]

Definition at line 29 of file G3Medium.h.

References fIfield.

00029 {return fIfield;}

virtual Int_t G3Medium::Isvol (  )  [inline, virtual]

Definition at line 28 of file G3Medium.h.

References fIsvol.

00028 {return fIsvol;}

virtual Int_t G3Medium::ItemId (  )  [inline, virtual]

Definition at line 39 of file G3Medium.h.

References fItem.

00039 {return fItem;}

G3Medium& G3Medium::operator= ( const G3Medium  )  [inline, private]

Definition at line 58 of file G3Medium.h.

00058 {return *this;}

virtual void G3Medium::SetItemId ( Int_t  id  )  [inline, virtual]

Definition at line 40 of file G3Medium.h.

References fItem.

00040 {fItem=id;}

virtual void G3Medium::SetPar ( Int_t  ipar,
Float_t  par 
) [inline, virtual]

Definition at line 36 of file G3Medium.h.

References fPars.

00036 {fPars[ipar-1]=par;}

virtual Float_t G3Medium::Stemax (  )  [inline, virtual]

Definition at line 32 of file G3Medium.h.

References fStemax.

00032 {return fStemax;}

virtual Float_t G3Medium::Stmin (  )  [inline, virtual]

Definition at line 35 of file G3Medium.h.

References fStmin.

00035 {return fStmin;}

virtual Float_t G3Medium::Tmaxfd (  )  [inline, virtual]

Definition at line 31 of file G3Medium.h.

References fTmaxfd.

00031 {return fTmaxfd;}


Member Data Documentation

Float_t G3Medium::fDeemax [private]

Definition at line 51 of file G3Medium.h.

Referenced by Deemax(), and G3Medium().

Float_t G3Medium::fEpsil [private]

Definition at line 52 of file G3Medium.h.

Referenced by Epsil(), and G3Medium().

Float_t G3Medium::fFieldm [private]

Definition at line 48 of file G3Medium.h.

Referenced by Fieldm(), and G3Medium().

Int_t G3Medium::fId [private]

Definition at line 44 of file G3Medium.h.

Referenced by G3Medium(), and Id().

Int_t G3Medium::fIdMat [private]

Definition at line 45 of file G3Medium.h.

Referenced by G3Medium(), and IdMat().

Int_t G3Medium::fIfield [private]

Definition at line 47 of file G3Medium.h.

Referenced by G3Medium(), and Ifield().

Int_t G3Medium::fIsvol [private]

Definition at line 46 of file G3Medium.h.

Referenced by G3Medium(), and Isvol().

Int_t G3Medium::fItem [private]

Definition at line 55 of file G3Medium.h.

Referenced by ItemId(), and SetItemId().

Float_t G3Medium::fPars[kNPars] [private]

Definition at line 43 of file G3Medium.h.

Referenced by GetPar(), and SetPar().

Float_t G3Medium::fStemax [private]

Definition at line 50 of file G3Medium.h.

Referenced by G3Medium(), and Stemax().

Float_t G3Medium::fStmin [private]

Definition at line 53 of file G3Medium.h.

Referenced by G3Medium(), and Stmin().

Float_t G3Medium::fTmaxfd [private]

Definition at line 49 of file G3Medium.h.

Referenced by G3Medium(), and Tmaxfd().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1