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

#include <EicRoot/blob/master/geobase/FairGeoCompositeVolume.h>

+ Inheritance diagram for FairGeoCompositeVolume:
+ Collaboration diagram for FairGeoCompositeVolume:

Public Member Functions

 FairGeoCompositeVolume (Int_t nComp=0)
 
 ~FairGeoCompositeVolume ()
 
Int_t getNumComponents ()
 
FairGeoVolumegetComponent (const Int_t)
 
void createComponents (const Int_t)
 
void setComponent (FairGeoVolume *, const Int_t)
 
void clear ()
 
void print ()
 
ClassDef(FairGeoCompositeVolume,
1) private
FairGeoCompositeVolume
operator= (const FairGeoCompositeVolume &)
 
- Public Member Functions inherited from FairGeoVolume
 FairGeoVolume ()
 
 FairGeoVolume (FairGeoVolume &)
 
virtual ~FairGeoVolume ()
 
const TString & getName () const
 
const TString & getShape () const
 
const TString & getMother () const
 
FairGeoTransformgetTransform ()
 
FairGeoTransformgetLabTransform ()
 
FairGeoMediumgetMedium ()
 
Int_t getNumPoints ()
 
FairGeoVectorgetPoint (const Int_t n)
 
void setName (const Text_t *s)
 
void setVolumePar (FairGeoVolume &)
 
void setShape (const Text_t *s)
 
void setMother (const Text_t *s)
 
void createPoints (const Int_t)
 
void setPoint (const Int_t, const Double_t, const Double_t, const Double_t)
 
void setPoint (const Int_t, const FairGeoVector &)
 
virtual void setHadFormat (Int_t i)
 
Double_t getVolParameter (Int_t nPoint, Int_t pos)
 
Int_t getMCid ()
 
void setMCid (Int_t MCid)
 

Protected Attributes

TObjArray * components
 
- Protected Attributes inherited from FairGeoVolume
TString shape
 
TString mother
 
TObjArray * points
 
FairGeoTransform transform
 
FairGeoTransform fLabTransform
 
FairGeoMedium fMedium
 
Int_t nPoints
 
Int_t fHadFormat
 
Int_t fgMCid
 

Detailed Description

basic geometry of a volume with components

Author
Ilse koenig

Definition at line 11 of file FairGeoCompositeVolume.h.

View newest version in sPHENIX GitHub at line 11 of file FairGeoCompositeVolume.h

Constructor & Destructor Documentation

FairGeoCompositeVolume::FairGeoCompositeVolume ( Int_t  nComp = 0)
FairGeoCompositeVolume::~FairGeoCompositeVolume ( )

Definition at line 25 of file FairGeoCompositeVolume.cxx.

View newest version in sPHENIX GitHub at line 25 of file FairGeoCompositeVolume.cxx

References components.

Member Function Documentation

void FairGeoCompositeVolume::clear ( void  )
virtual

Reimplemented from FairGeoVolume.

Definition at line 54 of file FairGeoCompositeVolume.cxx.

View newest version in sPHENIX GitHub at line 54 of file FairGeoCompositeVolume.cxx

References FairGeoVolume::clear(), components, getNumComponents(), and n.

+ Here is the call graph for this function:

void FairGeoCompositeVolume::createComponents ( const Int_t  n)

Definition at line 42 of file FairGeoCompositeVolume.cxx.

View newest version in sPHENIX GitHub at line 42 of file FairGeoCompositeVolume.cxx

References components.

FairGeoVolume * FairGeoCompositeVolume::getComponent ( const Int_t  n)

Definition at line 37 of file FairGeoCompositeVolume.cxx.

View newest version in sPHENIX GitHub at line 37 of file FairGeoCompositeVolume.cxx

References components.

Int_t FairGeoCompositeVolume::getNumComponents ( )

Definition at line 31 of file FairGeoCompositeVolume.cxx.

View newest version in sPHENIX GitHub at line 31 of file FairGeoCompositeVolume.cxx

References components.

Referenced by clear().

+ Here is the caller graph for this function:

ClassDef (FairGeoCompositeVolume,1) private FairGeoCompositeVolume& FairGeoCompositeVolume::operator= ( const FairGeoCompositeVolume )
void FairGeoCompositeVolume::print ( )
virtual

Reimplemented from FairGeoVolume.

Definition at line 61 of file FairGeoCompositeVolume.cxx.

View newest version in sPHENIX GitHub at line 61 of file FairGeoCompositeVolume.cxx

References components, FairGeoVolume::print(), and v.

+ Here is the call graph for this function:

void FairGeoCompositeVolume::setComponent ( FairGeoVolume v,
const Int_t  n 
)

Definition at line 48 of file FairGeoCompositeVolume.cxx.

View newest version in sPHENIX GitHub at line 48 of file FairGeoCompositeVolume.cxx

References components.

Member Data Documentation

TObjArray* FairGeoCompositeVolume::components
protected

Definition at line 14 of file FairGeoCompositeVolume.h.

View newest version in sPHENIX GitHub at line 14 of file FairGeoCompositeVolume.h

Referenced by clear(), createComponents(), getComponent(), getNumComponents(), print(), setComponent(), and ~FairGeoCompositeVolume().


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