AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Geometry Class Reference

Simple geometry. More...

Public Member Functions

 Geometry ()
 
virtual ~Geometry ()
 
virtual void Initialize ()
 
virtual void Register ()
 
virtual void Exec ()
 
virtual void Align ()
 
virtual void Detector2XYZ (UInt_t sector, UInt_t strip, TVector3 &xyz)
 

Static Public Member Functions

static void Debug (Int_t lvl, const char *where, const char *format,...)
 

Static Public Attributes

static Int_t fgDebug = 10
 

Protected Member Functions

void MakeDetailed (TGeoVolume *mother)
 

Protected Attributes

TObjArrayfMatricies
 
TVector2 fA
 
TVector2 fB
 
TVector2 fC
 
Double_t fSpacer
 
Double_t fAlThickness
 
Double_t fBondingWidth
 
Double_t fChipThickness
 
Double_t fCopperThickness
 
Double_t fHighR
 
Double_t fHoneycombThickness
 
Double_t fInnerHoneyHighR
 
Double_t fInnerHoneyLowR
 
Double_t fInnerZ
 
Double_t fLegLength
 
Double_t fLegOffset
 
Double_t fLegRadius
 
Double_t fLowR
 
Double_t fModuleSpacing
 
Int_t fNStrips
 
Double_t fOuterHoneyHighR
 
Double_t fOuterHoneyLowR
 
Double_t fOuterZ
 
Double_t fPrintboardThickness
 
Double_t fRingDepth
 
Double_t fSiThickness
 
Double_t fSpacerHeight
 
Double_t fTheta
 
Double_t fWaferRadius
 
TGeoMedium * fAir
 
TGeoMedium * fAl
 
TGeoMedium * fCarbon
 
TGeoMedium * fChip
 
TGeoMedium * fCopper
 
TGeoMedium * fKapton
 
TGeoMedium * fPCB
 
TGeoMedium * fPlastic
 
TGeoMedium * fSi
 
TGeoMedium * fVacuum
 
Bool_t fDoubleAssembly
 

Detailed Description

Simple geometry.

gSystem->Load("libPhysics");
gSystem->Load("libGeom");
gROOT->LoadMacro("GeoGeometry.C+");
g.Exec();

Definition at line 74 of file GeoGeometry.C.

Constructor & Destructor Documentation

Geometry::Geometry ( )

Constructor

Definition at line 200 of file GeoGeometry.C.

virtual Geometry::~Geometry ( )
inlinevirtual

Destructor

Definition at line 80 of file GeoGeometry.C.

Member Function Documentation

void Geometry::Align ( )
virtual

Try to align

Definition at line 593 of file GeoGeometry.C.

static void Geometry::Debug ( Int_t  lvl,
const char *  where,
const char *  format,
  ... 
)
inlinestatic

Print debugging messages

Parameters
lvlAcceptance level
whereWhere it happened
formatMessage format.

Definition at line 101 of file GeoGeometry.C.

Referenced by Align(), and Detector2XYZ().

void Geometry::Detector2XYZ ( UInt_t  sector,
UInt_t  strip,
TVector3 &  xyz 
)
virtual

Convert detector coordinates to spatial coordinates

Parameters
sectorSector number
stripStrip number
xyzSpatial coordinates

Definition at line 350 of file GeoGeometry.C.

void Geometry::Exec ( )
virtual

Do-It member function

Definition at line 240 of file GeoGeometry.C.

void Geometry::Initialize ( )
virtual

Initialize

Definition at line 254 of file GeoGeometry.C.

Referenced by Exec().

void Geometry::MakeDetailed ( TGeoVolume *  mother)
protected

Make a detailed geometry

Definition at line 390 of file GeoGeometry.C.

Referenced by Register().

void Geometry::Register ( )
virtual

Register

Definition at line 580 of file GeoGeometry.C.

Referenced by Exec().

Member Data Documentation

TVector2 Geometry::fA
protected

Shape parameter

Definition at line 115 of file GeoGeometry.C.

Referenced by Detector2XYZ(), and MakeDetailed().

TGeoMedium* Geometry::fAir
protected

Air tracking medium

Definition at line 171 of file GeoGeometry.C.

Referenced by Initialize(), and MakeDetailed().

TGeoMedium* Geometry::fAl
protected

Aluminum tracking medium

Definition at line 173 of file GeoGeometry.C.

Referenced by Initialize(), and MakeDetailed().

Double_t Geometry::fAlThickness
protected

Thickness of aluminum plates in honey comb

Definition at line 123 of file GeoGeometry.C.

Referenced by Geometry(), and MakeDetailed().

TVector2 Geometry::fB
protected

Shape parameter

Definition at line 117 of file GeoGeometry.C.

Referenced by Detector2XYZ(), and MakeDetailed().

Double_t Geometry::fBondingWidth
protected

Width of bonding pads

Definition at line 125 of file GeoGeometry.C.

Referenced by Geometry(), and MakeDetailed().

TVector2 Geometry::fC
protected

Shape parameter

Definition at line 119 of file GeoGeometry.C.

Referenced by MakeDetailed().

TGeoMedium* Geometry::fCarbon
protected

Carbon tracking medium

Definition at line 175 of file GeoGeometry.C.

Referenced by Initialize().

TGeoMedium* Geometry::fChip
protected

Chip tracking medium

Definition at line 177 of file GeoGeometry.C.

Referenced by Initialize(), and MakeDetailed().

Double_t Geometry::fChipThickness
protected

chip layer thickenss

Definition at line 127 of file GeoGeometry.C.

Referenced by Detector2XYZ(), Geometry(), and MakeDetailed().

TGeoMedium* Geometry::fCopper
protected

Copper tracking medium

Definition at line 179 of file GeoGeometry.C.

Referenced by Initialize(), and MakeDetailed().

Double_t Geometry::fCopperThickness
protected

Copper layer thickness

Definition at line 129 of file GeoGeometry.C.

Referenced by Detector2XYZ(), Geometry(), and MakeDetailed().

Bool_t Geometry::fDoubleAssembly
protected

Use assemblies

Definition at line 191 of file GeoGeometry.C.

Int_t Geometry::fgDebug = 10
static

Debug level

Definition at line 96 of file GeoGeometry.C.

Referenced by Debug().

Double_t Geometry::fHighR
protected

Upper radious

Definition at line 131 of file GeoGeometry.C.

Referenced by Geometry(), MakeDetailed(), and Register().

Double_t Geometry::fHoneycombThickness
protected

Thickness of honey comb

Definition at line 133 of file GeoGeometry.C.

Referenced by Geometry(), and MakeDetailed().

Double_t Geometry::fInnerHoneyHighR
protected

Inner honey comb inner radius

Definition at line 135 of file GeoGeometry.C.

Referenced by Geometry().

Double_t Geometry::fInnerHoneyLowR
protected

Inner honey comb outer radius

Definition at line 137 of file GeoGeometry.C.

Referenced by Geometry().

Double_t Geometry::fInnerZ
protected

Z coordinate of inner ring

Definition at line 139 of file GeoGeometry.C.

Referenced by Geometry().

TGeoMedium* Geometry::fKapton
protected

Kapton tracking medium

Definition at line 181 of file GeoGeometry.C.

Referenced by Initialize(), and MakeDetailed().

Double_t Geometry::fLegLength
protected

Length of support legs

Definition at line 141 of file GeoGeometry.C.

Referenced by Geometry(), and MakeDetailed().

Double_t Geometry::fLegOffset
protected

Offset from edge of legs

Definition at line 143 of file GeoGeometry.C.

Referenced by Geometry(), and MakeDetailed().

Double_t Geometry::fLegRadius
protected

Radius of support legs

Definition at line 145 of file GeoGeometry.C.

Referenced by Geometry(), and MakeDetailed().

Double_t Geometry::fLowR
protected

Inner radius

Definition at line 147 of file GeoGeometry.C.

Referenced by Detector2XYZ(), Geometry(), and MakeDetailed().

TObjArray* Geometry::fMatricies
protected

List of translations

Definition at line 113 of file GeoGeometry.C.

Referenced by Align(), and Detector2XYZ().

Double_t Geometry::fModuleSpacing
protected

Spacing between modules

Definition at line 149 of file GeoGeometry.C.

Referenced by Geometry(), and MakeDetailed().

Int_t Geometry::fNStrips
protected

Number of strps

Definition at line 151 of file GeoGeometry.C.

Referenced by Detector2XYZ(), Geometry(), and MakeDetailed().

Double_t Geometry::fOuterHoneyHighR
protected

Outer honey comb inner radius

Definition at line 153 of file GeoGeometry.C.

Referenced by Geometry().

Double_t Geometry::fOuterHoneyLowR
protected

Outer honey comb outer radius

Definition at line 155 of file GeoGeometry.C.

Referenced by Geometry().

Double_t Geometry::fOuterZ
protected

Z coordinate of outer

Definition at line 157 of file GeoGeometry.C.

Referenced by Geometry().

TGeoMedium* Geometry::fPCB
protected

PCB tracking medium

Definition at line 183 of file GeoGeometry.C.

Referenced by Initialize(), and MakeDetailed().

TGeoMedium* Geometry::fPlastic
protected

Plastic tracking medium

Definition at line 185 of file GeoGeometry.C.

Referenced by Initialize(), and MakeDetailed().

Double_t Geometry::fPrintboardThickness
protected

Thickness of print board

Definition at line 159 of file GeoGeometry.C.

Referenced by Detector2XYZ(), Geometry(), and MakeDetailed().

Double_t Geometry::fRingDepth
protected

Cache of ring depth

Definition at line 161 of file GeoGeometry.C.

Referenced by Geometry().

TGeoMedium* Geometry::fSi
protected

Active silicon tracking medium

Definition at line 187 of file GeoGeometry.C.

Referenced by Initialize(), and MakeDetailed().

Double_t Geometry::fSiThickness
protected

Thickness of silicon sensor

Definition at line 163 of file GeoGeometry.C.

Referenced by Detector2XYZ(), Geometry(), and MakeDetailed().

Double_t Geometry::fSpacer
protected

Spacing between sensor and hybrid

Definition at line 121 of file GeoGeometry.C.

Referenced by Detector2XYZ(), Geometry(), and MakeDetailed().

Double_t Geometry::fSpacerHeight
protected

???

Definition at line 165 of file GeoGeometry.C.

Referenced by Geometry().

Double_t Geometry::fTheta
protected

Opening angle of sensor

Definition at line 167 of file GeoGeometry.C.

Referenced by Detector2XYZ(), Geometry(), and MakeDetailed().

TGeoMedium* Geometry::fVacuum
protected

Vacuum tracking medium

Definition at line 189 of file GeoGeometry.C.

Referenced by Initialize(), and Register().

Double_t Geometry::fWaferRadius
protected

Radius of wafer the sensor is cut out of

Definition at line 169 of file GeoGeometry.C.

Referenced by Geometry().


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