AliFMDGeometryBuilder Class Reference
[Simulation]

#include <AliFMDGeometryBuilder.h>

List of all members.


Detailed Description

Builder of FMD geometry. This class takes care of actually building the geometry using the TGeo classes. Various parameters are fecthed from the AliFMDGeometry manager.

Definition at line 33 of file AliFMDGeometryBuilder.h.

Public Member Functions

 AliFMDGeometryBuilder ()
 AliFMDGeometryBuilder (Bool_t detailed)
virtual ~AliFMDGeometryBuilder ()
virtual void Exec (Option_t *option="")
virtual void UseAssembly (Bool_t use=kTRUE)
virtual void SetDetailed (Bool_t use)
Int_t GetSectorOff () const
Int_t GetModuleOff () const
Int_t GetRingOff () const
Int_t GetDetectorOff () const

Protected Member Functions

virtual TGeoVolume * RingGeometry (AliFMDRing *r)
virtual TGeoVolume * DetectorGeometry (AliFMDDetector *d, TGeoVolume *motherTop, TGeoVolume *motherBot, Double_t zmother, TGeoVolume *innerTop, TGeoVolume *innerBot, TGeoVolume *outerTop=0, TGeoVolume *outerBot=0)
virtual TGeoVolume * FMD1Geometry (AliFMD1 *d, TGeoVolume *innerTop, TGeoVolume *innerBot)
virtual TGeoVolume * FMD2Geometry (AliFMD2 *d, TGeoVolume *innerTop, TGeoVolume *innerBot, TGeoVolume *outerTop, TGeoVolume *outerBot)
virtual TGeoVolume * FMD3Geometry (AliFMD3 *d, TGeoVolume *innerTop, TGeoVolume *innerBot, TGeoVolume *outerTop, TGeoVolume *outerBot)

Protected Attributes

TArrayI fActiveId
Bool_t fDetailed
Bool_t fUseAssembly
Int_t fSectorOff
Int_t fModuleOff
Int_t fRingOff
Int_t fDetectorOff
TGeoMedium * fSi
TGeoMedium * fC
TGeoMedium * fAl
TGeoMedium * fPCB
TGeoMedium * fChip
TGeoMedium * fAir
TGeoMedium * fPlastic
TGeoMedium * fCopper

Static Protected Attributes

static const Char_t * fgkActiveName
static const Char_t * fgkSectorName
static const Char_t * fgkStripName
static const Char_t * fgkSensorName
static const Char_t * fgkPCBName
static const Char_t * fgkCuName
static const Char_t * fgkChipName
static const Char_t * fgkLongLegName
static const Char_t * fgkShortLegName
static const Char_t * fgkFrontVName
static const Char_t * fgkBackVName
static const Char_t * fgkRingTopName
static const Char_t * fgkRingBotName
static const Char_t * fgkHCName
static const Char_t * fgkIHCName
static const Char_t * fgkNoseName
static const Char_t * fgkBackName
static const Char_t * fgkBeamName
static const Char_t * fgkFlangeName
static const Char_t * fgkFMDName


Constructor & Destructor Documentation

AliFMDGeometryBuilder::AliFMDGeometryBuilder  ) 
 

CTOR

AliFMDGeometryBuilder::AliFMDGeometryBuilder Bool_t  detailed  ) 
 

CTOR

Parameters:
detailed Whether to make a detailed geometry.

virtual AliFMDGeometryBuilder::~AliFMDGeometryBuilder  )  [inline, virtual]
 

Definition at line 41 of file AliFMDGeometryBuilder.h.


Member Function Documentation

virtual TGeoVolume* AliFMDGeometryBuilder::DetectorGeometry AliFMDDetector d,
TGeoVolume *  motherTop,
TGeoVolume *  motherBot,
Double_t  zmother,
TGeoVolume *  innerTop,
TGeoVolume *  innerBot,
TGeoVolume *  outerTop = 0,
TGeoVolume *  outerBot = 0
[protected, virtual]
 

Make a detector volume

Parameters:
d Detector geometry
motherTop Mother volume (detector volume)
motherBot Mother volume (detector volume)
zmother Z position of mother
innerTop Inner ring volume
innerBot Inner ring volume
outerTop Outer ring volume
outerBot Outer ring volume
Returns:
Detector volume

virtual void AliFMDGeometryBuilder::Exec Option_t *  option = ""  )  [virtual]
 

Register

virtual TGeoVolume* AliFMDGeometryBuilder::FMD1Geometry AliFMD1 d,
TGeoVolume *  innerTop,
TGeoVolume *  innerBot
[protected, virtual]
 

Make FMD1 volume

Parameters:
d Detector geometry
innerTop Inner ring volume
innerBot Inner ring volume
Returns:
FMD1 volume

virtual TGeoVolume* AliFMDGeometryBuilder::FMD2Geometry AliFMD2 d,
TGeoVolume *  innerTop,
TGeoVolume *  innerBot,
TGeoVolume *  outerTop,
TGeoVolume *  outerBot
[protected, virtual]
 

Make FMD2 volume

Parameters:
d Detector geometry
innerTop Inner ring volume
innerBot Inner ring volume
outerTop Outer ring volume
outerBot Outer ring volume
Returns:
FMD2 volume

virtual TGeoVolume* AliFMDGeometryBuilder::FMD3Geometry AliFMD3 d,
TGeoVolume *  innerTop,
TGeoVolume *  innerBot,
TGeoVolume *  outerTop,
TGeoVolume *  outerBot
[protected, virtual]
 

Make FMD3 volume

Parameters:
d Detector geometry
innerTop Inner ring volume
innerBot Inner ring volume
outerTop Outer ring volume
outerBot Outer ring volume
Returns:
FMD3 volume

Int_t AliFMDGeometryBuilder::GetDetectorOff  )  const [inline]
 

Returns:
Detector offfset in the volume tree

Definition at line 56 of file AliFMDGeometryBuilder.h.

Int_t AliFMDGeometryBuilder::GetModuleOff  )  const [inline]
 

Returns:
Module offset in volume tree

Definition at line 52 of file AliFMDGeometryBuilder.h.

Int_t AliFMDGeometryBuilder::GetRingOff  )  const [inline]
 

Returns:
Ring offset in the volume tree

Definition at line 54 of file AliFMDGeometryBuilder.h.

Int_t AliFMDGeometryBuilder::GetSectorOff  )  const [inline]
 

Returns:
Sector offset in volume tree

Definition at line 50 of file AliFMDGeometryBuilder.h.

virtual TGeoVolume* AliFMDGeometryBuilder::RingGeometry AliFMDRing r  )  [protected, virtual]
 

Make a ring volume

Parameters:
r Ring geometry
Returns:
Ring volume

virtual void AliFMDGeometryBuilder::SetDetailed Bool_t  use  )  [inline, virtual]
 

Whether to make a detailed geometry or not.

Parameters:
use If true, make a detailed geometry

Definition at line 48 of file AliFMDGeometryBuilder.h.

virtual void AliFMDGeometryBuilder::UseAssembly Bool_t  use = kTRUE  )  [inline, virtual]
 

Parameters:
use Wheher to assemblies in the geometry definition

Definition at line 45 of file AliFMDGeometryBuilder.h.


Member Data Documentation

TArrayI AliFMDGeometryBuilder::fActiveId [protected]
 

Definition at line 114 of file AliFMDGeometryBuilder.h.

TGeoMedium* AliFMDGeometryBuilder::fAir [protected]
 

Chip Medium.

Definition at line 127 of file AliFMDGeometryBuilder.h.

TGeoMedium* AliFMDGeometryBuilder::fAl [protected]
 

C Medium.

Definition at line 124 of file AliFMDGeometryBuilder.h.

TGeoMedium* AliFMDGeometryBuilder::fC [protected]
 

Si Medium.

Definition at line 123 of file AliFMDGeometryBuilder.h.

TGeoMedium* AliFMDGeometryBuilder::fChip [protected]
 

PCB Medium.

Definition at line 126 of file AliFMDGeometryBuilder.h.

TGeoMedium* AliFMDGeometryBuilder::fCopper [protected]
 

Plastic Medium.

Definition at line 129 of file AliFMDGeometryBuilder.h.

Bool_t AliFMDGeometryBuilder::fDetailed [protected]
 

Active volume ID's.

Definition at line 115 of file AliFMDGeometryBuilder.h.

Int_t AliFMDGeometryBuilder::fDetectorOff [protected]
 

Definition at line 120 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkActiveName [static, protected]
 

Copper Medium.

Definition at line 131 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkBackName [static, protected]
 

Definition at line 147 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkBackVName [static, protected]
 

Definition at line 141 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkBeamName [static, protected]
 

Definition at line 148 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkChipName [static, protected]
 

Definition at line 137 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkCuName [static, protected]
 

Definition at line 136 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkFlangeName [static, protected]
 

Definition at line 149 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkFMDName [static, protected]
 

Definition at line 150 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkFrontVName [static, protected]
 

Definition at line 140 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkHCName [static, protected]
 

Definition at line 144 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkIHCName [static, protected]
 

Definition at line 145 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkLongLegName [static, protected]
 

Definition at line 138 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkNoseName [static, protected]
 

Definition at line 146 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkPCBName [static, protected]
 

Definition at line 135 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkRingBotName [static, protected]
 

Definition at line 143 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkRingTopName [static, protected]
 

Definition at line 142 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkSectorName [static, protected]
 

Definition at line 132 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkSensorName [static, protected]
 

Definition at line 134 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkShortLegName [static, protected]
 

Definition at line 139 of file AliFMDGeometryBuilder.h.

const Char_t* AliFMDGeometryBuilder::fgkStripName [static, protected]
 

Definition at line 133 of file AliFMDGeometryBuilder.h.

Int_t AliFMDGeometryBuilder::fModuleOff [protected]
 

Definition at line 118 of file AliFMDGeometryBuilder.h.

TGeoMedium* AliFMDGeometryBuilder::fPCB [protected]
 

Al Medium.

Definition at line 125 of file AliFMDGeometryBuilder.h.

TGeoMedium* AliFMDGeometryBuilder::fPlastic [protected]
 

Air Medium.

Definition at line 128 of file AliFMDGeometryBuilder.h.

Int_t AliFMDGeometryBuilder::fRingOff [protected]
 

Definition at line 119 of file AliFMDGeometryBuilder.h.

Int_t AliFMDGeometryBuilder::fSectorOff [protected]
 

Definition at line 117 of file AliFMDGeometryBuilder.h.

TGeoMedium* AliFMDGeometryBuilder::fSi [protected]
 

Definition at line 122 of file AliFMDGeometryBuilder.h.

Bool_t AliFMDGeometryBuilder::fUseAssembly [protected]
 

Definition at line 116 of file AliFMDGeometryBuilder.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 24 17:11:22 2006 for ALICE FMD Off-line by  doxygen 1.4.6