library: libVMC
#include "TVirtualMCGeometry.h"

TVirtualMCGeometry


class description - header file - source file
viewCVS header - viewCVS source

class TVirtualMCGeometry: public TNamed

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TVirtualMCGeometry()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual Bool_tGetMaterial(const TString& volumeName, TString& name, Int_t& imat, Double_t& a, Double_t& z, Double_t& density, Double_t& radl, Double_t& inter, TArrayD& par)
virtual Bool_tGetMedium(const TString& volumeName, TString& name, Int_t& imed, Int_t& nmat, Int_t& isvol, Int_t& ifield, Double_t& fieldm, Double_t& tmaxfd, Double_t& stemax, Double_t& deemax, Double_t& epsil, Double_t& stmin, TArrayD& par)
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual Bool_tGetShape(const TString& volumePath, TString& shapeType, TArrayD& par)
virtual const char*TNamed::GetTitle() const
virtual Bool_tGetTransformation(const TString& volumePath, TGeoHMatrix& matrix)
virtual UInt_tTObject::GetUniqueID() const
virtual voidGsbool(const char* onlyVolName, const char* manyVolName)
virtual voidGsdvn(const char* name, const char* mother, Int_t ndiv, Int_t iaxis)
virtual voidGsdvn2(const char* name, const char* mother, Int_t ndiv, Int_t iaxis, Double_t c0i, Int_t numed)
virtual voidGsdvt(const char* name, const char* mother, Double_t step, Int_t iaxis, Int_t numed, Int_t ndvmx)
virtual voidGsdvt2(const char* name, const char* mother, Double_t step, Int_t iaxis, Double_t c0, Int_t numed, Int_t ndvmx)
virtual voidGsord(const char* name, Int_t iax)
virtual voidGspos(const char* name, Int_t nr, const char* mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char* konly = "ONLY")
virtual voidGsposp(const char* name, Int_t nr, const char* mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char* konly, Float_t* upar, Int_t np)
virtual voidGsposp(const char* name, Int_t nr, const char* mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char* konly, Double_t* upar, Int_t np)
virtual Int_tGsvolu(const char* name, const char* shape, Int_t nmed, Float_t* upar, Int_t np)
virtual Int_tGsvolu(const char* name, const char* shape, Int_t nmed, Double_t* upar, Int_t np)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual voidMaterial(Int_t& kmat, const char* name, Double_t a, Double_t z, Double_t dens, Double_t radl, Double_t absl, Float_t* buf, Int_t nwbuf)
virtual voidMaterial(Int_t& kmat, const char* name, Double_t a, Double_t z, Double_t dens, Double_t radl, Double_t absl, Double_t* buf, Int_t nwbuf)
virtual voidMatrix(Int_t& krot, Double_t thetaX, Double_t phiX, Double_t thetaY, Double_t phiY, Double_t thetaZ, Double_t phiZ)
voidTObject::MayNotUse(const char* method) const
virtual voidMedium(Int_t& kmed, const char* name, Int_t nmat, Int_t isvol, Int_t ifield, Double_t fieldm, Double_t tmaxfd, Double_t stemax, Double_t deemax, Double_t epsil, Double_t stmin, Float_t* ubuf, Int_t nbuf)
virtual voidMedium(Int_t& kmed, const char* name, Int_t nmat, Int_t isvol, Int_t ifield, Double_t fieldm, Double_t tmaxfd, Double_t stemax, Double_t deemax, Double_t epsil, Double_t stmin, Double_t* ubuf, Int_t nbuf)
virtual Int_tMediumId(const Text_t* mediumName) const
virtual voidMixture(Int_t& kmat, const char* name, Float_t* a, Float_t* z, Double_t dens, Int_t nlmat, Float_t* wmat)
virtual voidMixture(Int_t& kmat, const char* name, Double_t* a, Double_t* z, Double_t dens, Int_t nlmat, Double_t* wmat)
virtual Int_tNofVolDaughters(const char* volName) const
virtual Int_tNofVolumes() const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual Int_tVolDaughterCopyNo(const char* volName, Int_t i) const
virtual const char*VolDaughterName(const char* volName, Int_t i) const
virtual Int_tVolId(const Text_t* volName) const
virtual Int_tVolId2Mate(Int_t id) const
virtual const char*VolName(Int_t id) const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
TVirtualMCGeometry&operator=(const TVirtualMCGeometry&)

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title

Class Description

   Virtual MCGeometry provides a virtual interface to Monte Carlo
   geometry construction.
______________________________________________________________________________
~TVirtualMCGeometry()
 Destructor

void Material(Int_t& kmat, const char* name, Double_t a, Double_t z, Double_t dens, Double_t radl, Double_t absl, Float_t* buf, Int_t nwbuf)
 Define a material
 kmat   number assigned to the material
 name   material name
 a      atomic mass in au
 z      atomic number
 dens   density in g/cm3
 absl   absorption length in cm;
               if >=0 it is ignored and the program
               calculates it, if <0. -absl is taken
 radl   radiation length in cm
               if >=0 it is ignored and the program
               calculates it, if <0. -radl is taken
 buf    pointer to an array of user words
 nwbuf  number of user words
 The same as previous but in double precision
void Mixture(Int_t& kmat, const char *name, Float_t *a, Float_t *z, Double_t dens, Int_t nlmat, Float_t *wmat)
 Define mixture or compound
 with a number kmat composed by the basic nlmat materials defined
 by arrays a, z and wmat

 If nlmat > 0 then wmat contains the proportion by
 weights of each basic material in the mixture.

 If nlmat < 0 then wmat contains the number of atoms
 of a given kind into the molecule of the compound.
 In this case, wmat in output is changed to relative
 weights.
 The same as previous but in double precision
void Medium(Int_t& kmed, const char *name, Int_t nmat, Int_t isvol, Int_t ifield, Double_t fieldm, Double_t tmaxfd, Double_t stemax, Double_t deemax, Double_t epsil, Double_t stmin, Float_t* ubuf, Int_t nbuf)
 Define a medium.
 kmed      tracking medium number assigned
 name      tracking medium name
 nmat      material number
 isvol     sensitive volume flag
 ifield    magnetic field:
                  - ifield = 0 if no magnetic field;
                  - ifield = -1 if user decision in guswim;
                  - ifield = 1 if tracking performed with g3rkuta;
                  - ifield = 2 if tracking
 fieldm    max. field value (kilogauss)
 tmaxfd    max. angle due to field (deg/step)
 stemax    max. step allowed
 deemax    max. fraction of energy lost in a step
 epsil     tracking precision (cm)
 stmin     min. step due to continuous processes (cm)
 ubuf      pointer to an array of user words
 nbuf      number of user words
  performed with g3helix; ifield = 3 if tracking performed with g3helx3.
 The same as previous but in double precision
void Matrix(Int_t& krot, Double_t thetaX, Double_t phiX, Double_t thetaY, Double_t phiY, Double_t thetaZ, Double_t phiZ)
 Define a rotation matrix
 krot     rotation matrix number assigned
 thetaX   polar angle for axis X
 phiX     azimuthal angle for axis X
 thetaY   polar angle for axis Y
 phiY     azimuthal angle for axis Y
 thetaZ   polar angle for axis Z
 phiZ     azimuthal angle for axis Z

 functions from GGEOM
 ------------------------------------------------

 Create a new volume
 name   Volume name
 shape  Volume type
 nmed   Tracking medium number
 np     Number of shape parameters
 upar   Vector containing shape parameters
Int_t Gsvolu(const char *name, const char *shape, Int_t nmed, Double_t *upar, Int_t np)
 The same as previous but in double precision
 Create a new volume by dividing an existing one.
 It divides a previously defined volume
 name   Volume name
 mother Mother volume name
 ndiv   Number of divisions
 iaxis  Axis value:
               X,Y,Z of CAXIS will be translated to 1,2,3 for IAXIS.
void Gsdvn2(const char *name, const char *mother, Int_t ndiv, Int_t iaxis, Double_t c0i, Int_t numed)
 Create a new volume by dividing an existing one.
 Divide mother into ndiv divisions called name
 along axis iaxis starting at coordinate value c0i.
 The new volume created will be medium number numed.
 Create a new volume by dividing an existing one
 Divide mother into divisions called name along
 axis iaxis in steps of step. If not exactly divisible
 will make as many as possible and will center them
 with respect to the mother. Divisions will have medium
 number numed. If numed is 0, numed of mother is taken.
 ndvmx is the expected maximum number of divisions
 (If 0, no protection tests are performed in Geant3)
void Gsdvt2(const char *name, const char *mother, Double_t step, Int_t iaxis, Double_t c0, Int_t numed, Int_t ndvmx)
 Create a new volume by dividing an existing one
 Divides mother into divisions called name along
 axis iaxis starting at coordinate value c0 with step
 size step.
 The new volume created will have medium number numed.
 If numed is 0, numed of mother is taken.
 ndvmx is the expected maximum number of divisions
 (If 0, no protection tests are performed in Geant3)
 Flag volume name whose contents will have to be ordered
 along axis iax, by setting the search flag to -iax
 (Geant3 only)
void Gspos(const char *name, Int_t nr, const char *mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char *konly="ONLY")
 Position a volume into an existing one.
 It positions a previously defined volume in the mother.
   name   Volume name
   nr     Copy number of the volume
   mother Mother volume name
   x      X coord. of the volume in mother ref. sys.
   y      Y coord. of the volume in mother ref. sys.
   z      Z coord. of the volume in mother ref. sys.
   irot   Rotation matrix number w.r.t. mother ref. sys.
   konly  ONLY/MANY flag
 Place a copy of generic volume name with user number
  nr inside mother, with its parameters upar(1..np)
void Gsposp(const char *name, Int_t nr, const char *mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char *konly, Double_t *upar, Int_t np)
 The same as previous but in double precision
 Helper function for resolving MANY.
 Specify the ONLY volume that overlaps with the
 specified MANY and has to be substracted.
 (Geant4 only)
Bool_t GetTransformation(const TString& volumePath, TGeoHMatrix& matrix)
 Return the transformation matrix between the volume specified by
 the path volumePath and the top or master volume.
 Return the name of the shape (shapeType)  and its parameters par
 for the volume specified by the path volumePath .
Bool_t GetMaterial(const TString& volumeName, TString& name, Int_t& imat, Double_t& a, Double_t& z, Double_t& density, Double_t& radl, Double_t& inter, TArrayD& par)
 Return the material parameters for the volume specified by
 the volumeName.
 Return the medium parameters for the volume specified by the
 volumeName.
Int_t VolId(const Text_t* volName)
 Return the unique numeric identifier for volume name volName
const char* VolName(Int_t id)
 Return the volume name for a given volume identifier id
Int_t MediumId(const Text_t* mediumName)
 Return the unique numeric identifier for medium name mediumName
Int_t NofVolumes()
 Return total number of volumes in the geometry
Int_t NofVolDaughters(const char* volName)
 Return number of daughters of the volume specified by volName
const char* VolDaughterName(const char* volName, Int_t i)
 Return the name of i-th daughter of the volume specified by volName
Int_t VolDaughterCopyNo(const char* volName, Int_t i)
 Return the copyNo of i-th daughter of the volume specified by volName
Int_t VolId2Mate(Int_t id)
 Return material number for a given volume id
TVirtualMCGeometry & operator=(const TVirtualMCGeometry& /*rhs*/)

Last update: root/vmc:$Name: $:$Id: TVirtualMCGeometry.cxx,v 1.4 2006/12/12 16:12:55 brun Exp $
Copyright (C) 2006, Rene Brun and Fons Rademakers. *


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.