FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGeoNode Class Reference

#include <FairGeoNode.h>

Inheritance diagram for FairGeoNode:
FairGeoVolume

Public Member Functions

 FairGeoNode ()
 
 FairGeoNode (FairGeoNode &)
 
virtual ~FairGeoNode ()
 
void AddDaughter (FairGeoNode *fNode)
 
TObjArray * GetListOfDaughters ()
 
EFairGeoNodeType getVolumeType ()
 
Bool_t isTopNode ()
 
Bool_t isRefNode ()
 
Bool_t isKeepin ()
 
Bool_t isModule ()
 
Int_t getCopyNo ()
 
FairGeoBasicShapegetShapePointer ()
 
FairGeoNodegetMotherNode ()
 
FairGeoMediumgetMedium ()
 
Bool_t isActive ()
 
FairGeoTransformgetCenterPosition ()
 
TArrayD * getParameters ()
 
FairGeoTransformgetPosition ()
 
FairGeoTransformgetLabTransform ()
 
FairGeoNodegetCopyNode ()
 
TGeoVolume * getRootVolume ()
 
TList * getTree ()
 
Bool_t isSensitive ()
 
Bool_t isCreated ()
 
void setCreated ()
 
void setName (const Text_t *s)
 
void setVolumeType (EFairGeoNodeType t)
 
void setVolumePar (FairGeoNode &)
 
void setShape (FairGeoBasicShape *s)
 
void setMother (FairGeoNode *s)
 
void setMedium (FairGeoMedium *med)
 
void setActive (Bool_t a=kTRUE)
 
void setCenterPosition (const FairGeoTransform &t)
 
void setCopyNode (FairGeoNode *p)
 
void setRootVolume (TGeoVolume *p)
 
FairGeoTransformcalcLabTransform ()
 
void setLabTransform (FairGeoTransform &)
 
Bool_t calcModuleTransform (FairGeoTransform &)
 
Bool_t calcRefPos (FairGeoVector &)
 
void clear ()
 
void print ()
 
Bool_t write (std::fstream &)
 
Int_t compare (FairGeoNode &)
 
void setTruncName (const char *aName)
 
const char * getTruncName ()
 
 ClassDef (FairGeoNode, 1)
 
- 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)
 
 ClassDef (FairGeoVolume, 1)
 

Protected Attributes

Bool_t active
 
FairGeoTransform center
 
EFairGeoNodeType volumeType
 
Bool_t created
 
FairGeoNodecopyNode
 
TGeoVolume * rootVolume
 
FairGeoBasicShapepShape
 
FairGeoNodepMother
 
FairGeoMediummedium
 /** pointer to the mother volume */ More...
 
FairGeoTransformlabTransform
 
TObjArray * fDaughterList
 
TString fTruncName
 
- 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 parameters of a volume

Author
Ilse koenig

Definition at line 39 of file FairGeoNode.h.

Constructor & Destructor Documentation

FairGeoNode::FairGeoNode ( )

Definition at line 35 of file FairGeoNode.cxx.

FairGeoNode::FairGeoNode ( FairGeoNode r)

Definition at line 54 of file FairGeoNode.cxx.

FairGeoNode::~FairGeoNode ( )
virtual

Definition at line 82 of file FairGeoNode.cxx.

Member Function Documentation

void FairGeoNode::AddDaughter ( FairGeoNode fNode)
inline

Definition at line 64 of file FairGeoNode.h.

FairGeoTransform * FairGeoNode::calcLabTransform ( )

Definition at line 274 of file FairGeoNode.cxx.

Bool_t FairGeoNode::calcModuleTransform ( FairGeoTransform modTransform)

Definition at line 327 of file FairGeoNode.cxx.

Bool_t FairGeoNode::calcRefPos ( FairGeoVector refPos)

Definition at line 348 of file FairGeoNode.cxx.

FairGeoNode::ClassDef ( FairGeoNode  ,
 
)
void FairGeoNode::clear ( void  )
virtual

Reimplemented from FairGeoVolume.

Definition at line 116 of file FairGeoNode.cxx.

Int_t FairGeoNode::compare ( FairGeoNode rn)

Definition at line 368 of file FairGeoNode.cxx.

FairGeoTransform& FairGeoNode::getCenterPosition ( )
inline

Definition at line 76 of file FairGeoNode.h.

Int_t FairGeoNode::getCopyNo ( )

Definition at line 135 of file FairGeoNode.cxx.

FairGeoNode* FairGeoNode::getCopyNode ( )
inline

Definition at line 80 of file FairGeoNode.h.

FairGeoTransform * FairGeoNode::getLabTransform ( )

Definition at line 264 of file FairGeoNode.cxx.

TObjArray* FairGeoNode::GetListOfDaughters ( )
inline

Definition at line 65 of file FairGeoNode.h.

FairGeoMedium* FairGeoNode::getMedium ( )
inline

Definition at line 74 of file FairGeoNode.h.

FairGeoNode* FairGeoNode::getMotherNode ( )
inline

Definition at line 73 of file FairGeoNode.h.

TArrayD * FairGeoNode::getParameters ( )

Definition at line 159 of file FairGeoNode.cxx.

FairGeoTransform * FairGeoNode::getPosition ( )

Definition at line 168 of file FairGeoNode.cxx.

TGeoVolume* FairGeoNode::getRootVolume ( )
inline

Definition at line 81 of file FairGeoNode.h.

FairGeoBasicShape* FairGeoNode::getShapePointer ( )
inline

Definition at line 72 of file FairGeoNode.h.

TList * FairGeoNode::getTree ( )

Definition at line 248 of file FairGeoNode.cxx.

const char* FairGeoNode::getTruncName ( )
inline

Definition at line 106 of file FairGeoNode.h.

EFairGeoNodeType FairGeoNode::getVolumeType ( )
inline

Definition at line 66 of file FairGeoNode.h.

Bool_t FairGeoNode::isActive ( )
inline

Definition at line 75 of file FairGeoNode.h.

Bool_t FairGeoNode::isCreated ( )
inline

Definition at line 84 of file FairGeoNode.h.

Bool_t FairGeoNode::isKeepin ( )
inline

Definition at line 69 of file FairGeoNode.h.

Bool_t FairGeoNode::isModule ( )
inline

Definition at line 70 of file FairGeoNode.h.

Bool_t FairGeoNode::isRefNode ( )
inline

Definition at line 68 of file FairGeoNode.h.

Bool_t FairGeoNode::isSensitive ( )
inline

Definition at line 146 of file FairGeoNode.h.

Bool_t FairGeoNode::isTopNode ( )
inline

Definition at line 67 of file FairGeoNode.h.

void FairGeoNode::print ( )
virtual

Reimplemented from FairGeoVolume.

Definition at line 179 of file FairGeoNode.cxx.

void FairGeoNode::setActive ( Bool_t  a = kTRUE)
inline

Definition at line 92 of file FairGeoNode.h.

void FairGeoNode::setCenterPosition ( const FairGeoTransform t)
inline

Definition at line 93 of file FairGeoNode.h.

void FairGeoNode::setCopyNode ( FairGeoNode p)
inline

Definition at line 94 of file FairGeoNode.h.

void FairGeoNode::setCreated ( )
inline

Definition at line 85 of file FairGeoNode.h.

void FairGeoNode::setLabTransform ( FairGeoTransform t)

Definition at line 301 of file FairGeoNode.cxx.

void FairGeoNode::setMedium ( FairGeoMedium med)
inline

Definition at line 91 of file FairGeoNode.h.

void FairGeoNode::setMother ( FairGeoNode s)
inline

Definition at line 136 of file FairGeoNode.h.

void FairGeoNode::setName ( const Text_t *  s)
inline

Definition at line 120 of file FairGeoNode.h.

void FairGeoNode::setRootVolume ( TGeoVolume *  p)
inline

Definition at line 95 of file FairGeoNode.h.

void FairGeoNode::setShape ( FairGeoBasicShape s)
inline

Definition at line 127 of file FairGeoNode.h.

void FairGeoNode::setTruncName ( const char *  aName)
inline

Definition at line 105 of file FairGeoNode.h.

void FairGeoNode::setVolumePar ( FairGeoNode r)

Definition at line 102 of file FairGeoNode.cxx.

void FairGeoNode::setVolumeType ( EFairGeoNodeType  t)
inline

Definition at line 87 of file FairGeoNode.h.

Bool_t FairGeoNode::write ( std::fstream &  fout)

Definition at line 205 of file FairGeoNode.cxx.

Member Data Documentation

Bool_t FairGeoNode::active
protected

Definition at line 46 of file FairGeoNode.h.

FairGeoTransform FairGeoNode::center
protected

in/out flag for creation

Definition at line 47 of file FairGeoNode.h.

FairGeoNode* FairGeoNode::copyNode
protected

Flag set kTRUE after creation of volume

Definition at line 50 of file FairGeoNode.h.

Bool_t FairGeoNode::created
protected

type of volume

Definition at line 49 of file FairGeoNode.h.

TObjArray* FairGeoNode::fDaughterList
protected

Transformation to the LAB system

Definition at line 56 of file FairGeoNode.h.

TString FairGeoNode::fTruncName
protected

List of daughter Nodes

Definition at line 58 of file FairGeoNode.h.

FairGeoTransform* FairGeoNode::labTransform
protected

pointer to medium

Definition at line 55 of file FairGeoNode.h.

FairGeoMedium* FairGeoNode::medium
protected

/** pointer to the mother volume */

Definition at line 54 of file FairGeoNode.h.

FairGeoNode* FairGeoNode::pMother
protected

pointer to the shape

Definition at line 53 of file FairGeoNode.h.

FairGeoBasicShape* FairGeoNode::pShape
protected

pointer to the ROOT node

Definition at line 52 of file FairGeoNode.h.

TGeoVolume* FairGeoNode::rootVolume
protected

pointer to the reference volume for a copy

Definition at line 51 of file FairGeoNode.h.

EFairGeoNodeType FairGeoNode::volumeType
protected

position of the GEANT/ROOT center

Definition at line 48 of file FairGeoNode.h.


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