library: libGeom #include "TGeoVolume.h" |
TGeoVolumeMulti
class description - source file - inheritance tree (.pdf)
public:
TGeoVolumeMulti()
TGeoVolumeMulti(const char* name, const TGeoMedium* med = 0)
TGeoVolumeMulti(const TGeoVolumeMulti&)
virtual ~TGeoVolumeMulti()
virtual void AddNode(const TGeoVolume* vol, Int_t copy_no, TGeoMatrix* mat, Option_t* option)
virtual void AddNodeOverlap(const TGeoVolume* vol, Int_t copy_no, TGeoMatrix* mat, Option_t* option)
void AddVolume(TGeoVolume* vol)
static TClass* Class()
virtual TGeoVolume* Divide(const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step, Int_t numed = 0, Option_t* option)
Int_t GetAxis() const
TGeoShape* GetLastShape() const
Int_t GetNdiv() const
Int_t GetNvolumes() const
Double_t GetStart() const
Double_t GetStep() const
TGeoVolume* GetVolume(Int_t id) const
virtual TClass* IsA() const
virtual Bool_t IsVolumeMulti() const
virtual TGeoVolume* MakeCopyVolume(TGeoShape* newshape)
TGeoVolumeMulti& operator=(const TGeoVolumeMulti&)
virtual void SetLineColor(Color_t lcolor)
virtual void SetLineStyle(Style_t lstyle)
virtual void SetLineWidth(Width_t lwidth)
virtual void SetMedium(const TGeoMedium* medium)
virtual void SetVisibility(Bool_t vis = kTRUE)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TObjArray* fVolumes list of volumes
TGeoVolumeMulti* fDivision division of this volume
Int_t fNumed medium number for divisions
Int_t fNdiv number of divisions
Int_t fAxis axis of division
Double_t fStart division start offset
Double_t fStep division step
Bool_t fAttSet flag attributes set
TGeoVolumeMulti()
dummy constructor
TGeoVolumeMulti(const char *name, const TGeoMedium *med)
default constructor
~TGeoVolumeMulti()
Destructor
void AddVolume(TGeoVolume *vol)
Add a volume with valid shape to the list of volumes. Copy all existing nodes
to this volume
void AddNode(const TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat, Option_t *option)
Add a new node to the list of nodes. This is the usual method for adding
daughters inside the container volume.
void AddNodeOverlap(const TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat, Option_t *option)
TGeoVolume* Divide(const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step, Int_t numed, const char *option)
division of multiple volumes
TGeoVolume* MakeCopyVolume(TGeoShape *newshape)
make a copy of this volume
printf(" Making a copy of %s\n", GetName());
void SetLineColor(Color_t lcolor)
void SetLineStyle(Style_t lstyle)
void SetLineWidth(Width_t lwidth)
void SetMedium(const TGeoMedium *med)
Set medium for a multiple volume.
void SetVisibility(Bool_t vis)
Inline Functions
TGeoVolume* GetVolume(Int_t id) const
TGeoShape* GetLastShape() const
Int_t GetNvolumes() const
Int_t GetAxis() const
Int_t GetNdiv() const
Double_t GetStart() const
Double_t GetStep() const
Bool_t IsVolumeMulti() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGeoVolumeMulti TGeoVolumeMulti(const TGeoVolumeMulti&)
TGeoVolumeMulti& operator=(const TGeoVolumeMulti&)
Author: Andrei Gheata 30/05/02
Last update: root/geom:$Name: $:$Id: TGeoVolume.cxx,v 1.58 2005/04/25 10:05:54 brun Exp $
Copyright (C) 1995-2000, 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.