AliFMDDetector Class Reference
[Basic classes]

#include <AliFMDDetector.h>

Inheritance diagram for AliFMDDetector:

Inheritance graph
[legend]
Collaboration diagram for AliFMDDetector:

Collaboration graph
[legend]
List of all members.

Detailed Description

Base class for the geometry description and parameters of the FMD sub detectors FMD1, FMD2, and FMD3.

This class hold common parameters of the specific FMD detectors.

Definition at line 24 of file AliFMDDetector.h.

Public Member Functions

 AliFMDDetector (Int_t id, AliFMDRing *inner, AliFMDRing *outer)
 AliFMDDetector (const AliFMDDetector &other)
AliFMDDetectoroperator= (const AliFMDDetector &other)
virtual ~AliFMDDetector ()
virtual void Init ()
virtual void InitTransformations ()
void SetId (Int_t x)
void SetInnerZ (Double_t x)
void SetOuterZ (Double_t x)
void SetHoneycombThickness (Double_t x=1)
void SetAlThickness (Double_t x=.1)
void SetInnerHoneyLowR (Double_t x)
void SetInnerHoneyHighR (Double_t x)
void SetOuterHoneyLowR (Double_t x)
void SetOuterHoneyHighR (Double_t x)
Int_t GetId () const
Double_t GetInnerZ () const
Double_t GetOuterZ () const
Double_t GetHoneycombThickness () const
Double_t GetAlThickness () const
Double_t GetInnerHoneyLowR () const
Double_t GetInnerHoneyHighR () const
Double_t GetOuterHoneyLowR () const
Double_t GetOuterHoneyHighR () const
AliFMDRingGetInner () const
AliFMDRingGetOuter () const
AliFMDRingGetRing (Char_t id) const
Double_t GetRingZ (Char_t id) const
void Detector2XYZ (Char_t ring, UShort_t sector, UShort_t strip, Double_t &x, Double_t &y, Double_t &z) const
Bool_t XYZ2Detector (Double_t x, Double_t y, Double_t z, Char_t &ring, UShort_t &sector, UShort_t &strip) const

Protected Member Functions

Bool_t HasAllTransforms (Char_t ring) const
TGeoMatrix * FindTransform (Char_t ring, UShort_t sector) const
 ClassDef (AliFMDDetector, 1)

Protected Attributes

Int_t fId
Double_t fInnerZ
Double_t fOuterZ
Double_t fHoneycombThickness
Double_t fAlThickness
Double_t fInnerHoneyLowR
Double_t fInnerHoneyHighR
Double_t fOuterHoneyLowR
Double_t fOuterHoneyHighR
AliFMDRingfInner
AliFMDRingfOuter
TObjArray * fInnerTransforms
TObjArray * fOuterTransforms


Constructor & Destructor Documentation

AliFMDDetector::AliFMDDetector Int_t  id,
AliFMDRing inner,
AliFMDRing outer
 

Constructor

Parameters:
id Detector number
inner Pointer to inner ring geometry
outer Pointer to inner outer geometry
Returns:

AliFMDDetector::AliFMDDetector const AliFMDDetector other  ) 
 

Copy CTOR

Parameters:
other Object to copy from.

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

Definition at line 40 of file AliFMDDetector.h.


Member Function Documentation

AliFMDDetector::ClassDef AliFMDDetector  ,
[protected]
 

void AliFMDDetector::Detector2XYZ Char_t  ring,
UShort_t  sector,
UShort_t  strip,
Double_t &  x,
Double_t &  y,
Double_t &  z
const
 

Translate detector coordinates (detector, ring, sector, strip) to spatial coordinates (x, y, z) in the master reference frame of ALICE. The member function uses the transformations previously obtained from the TGeoManager.

Parameters:
ring Ring id
sector Sector number
strip Strip number
x On return, X coordinate
y On return, Y coordinate
z On return, Z coordinate

TGeoMatrix* AliFMDDetector::FindTransform Char_t  ring,
UShort_t  sector
const [protected]
 

Get transformation matrix for a sector in a ring

Parameters:
ring Ring id
sector Sector numberr
Returns:
Matrix on success, 0 otherwise

Double_t AliFMDDetector::GetAlThickness  )  const [inline]
 

Returns:
Thickness of aluminium of honeycomb

Definition at line 75 of file AliFMDDetector.h.

Double_t AliFMDDetector::GetHoneycombThickness  )  const [inline]
 

Returns:
Thickness of honeycomb plate

Definition at line 73 of file AliFMDDetector.h.

Int_t AliFMDDetector::GetId  )  const [inline]
 

Returns:
Detector number

Definition at line 67 of file AliFMDDetector.h.

AliFMDRing* AliFMDDetector::GetInner  )  const [inline]
 

Returns:
Inner ring information

Definition at line 86 of file AliFMDDetector.h.

Double_t AliFMDDetector::GetInnerHoneyHighR  )  const [inline]
 

Returns:
Outer radius of inner honeycomb

Definition at line 79 of file AliFMDDetector.h.

Double_t AliFMDDetector::GetInnerHoneyLowR  )  const [inline]
 

Returns:
Inner radius of inner honeycomb

Definition at line 77 of file AliFMDDetector.h.

Double_t AliFMDDetector::GetInnerZ  )  const [inline]
 

Returns:
Position of outer ring along z

Definition at line 69 of file AliFMDDetector.h.

AliFMDRing* AliFMDDetector::GetOuter  )  const [inline]
 

Returns:
Outer ring information

Definition at line 88 of file AliFMDDetector.h.

Double_t AliFMDDetector::GetOuterHoneyHighR  )  const [inline]
 

Returns:
Outer radius of outer honeycomb

Definition at line 83 of file AliFMDDetector.h.

Double_t AliFMDDetector::GetOuterHoneyLowR  )  const [inline]
 

Returns:
Inner radius of outer honeycomb

Definition at line 81 of file AliFMDDetector.h.

Double_t AliFMDDetector::GetOuterZ  )  const [inline]
 

Returns:
Position of outer ring along z

Definition at line 71 of file AliFMDDetector.h.

AliFMDRing* AliFMDDetector::GetRing Char_t  id  )  const
 

Parameters:
id Id of ring to get
Returns:
Pointer to ring, 0 on failure

Double_t AliFMDDetector::GetRingZ Char_t  id  )  const
 

Parameters:
id Id of ring to get
Returns:
Z position of ring or 0 on failure

Bool_t AliFMDDetector::HasAllTransforms Char_t  ring  )  const [protected]
 

Check if we have all transformations for a ring

Parameters:
ring Ring to check for
Returns:
true if we got all transforms

virtual void AliFMDDetector::Init  )  [virtual]
 

Initialize the geometry

Reimplemented in AliFMD1, AliFMD2, and AliFMD3.

virtual void AliFMDDetector::InitTransformations  )  [virtual]
 

Find the transformations that correspond to modules of this detector, and store them in the arrays.

AliFMDDetector& AliFMDDetector::operator= const AliFMDDetector other  ) 
 

Assignment operator

Parameters:
other Object to assign from
Returns:
reference to this object

void AliFMDDetector::SetAlThickness Double_t  x = .1  )  [inline]
 

Parameters:
x Thickness of aluminium of honeycomb

Definition at line 56 of file AliFMDDetector.h.

void AliFMDDetector::SetHoneycombThickness Double_t  x = 1  )  [inline]
 

Parameters:
x Thickness of honeycomb plate

Definition at line 54 of file AliFMDDetector.h.

void AliFMDDetector::SetId Int_t  x  )  [inline]
 

Parameters:
x Detector number

Definition at line 48 of file AliFMDDetector.h.

void AliFMDDetector::SetInnerHoneyHighR Double_t  x  )  [inline]
 

Parameters:
x Outer radius of inner honeycomb

Definition at line 60 of file AliFMDDetector.h.

void AliFMDDetector::SetInnerHoneyLowR Double_t  x  )  [inline]
 

Parameters:
x Inner radius of inner honeycomb

Definition at line 58 of file AliFMDDetector.h.

void AliFMDDetector::SetInnerZ Double_t  x  )  [inline]
 

Parameters:
x Position of outer ring along z

Definition at line 50 of file AliFMDDetector.h.

void AliFMDDetector::SetOuterHoneyHighR Double_t  x  )  [inline]
 

Parameters:
x Outer radius of outer honeycomb

Definition at line 64 of file AliFMDDetector.h.

void AliFMDDetector::SetOuterHoneyLowR Double_t  x  )  [inline]
 

Parameters:
x Inner radius of outer honeycomb

Definition at line 62 of file AliFMDDetector.h.

void AliFMDDetector::SetOuterZ Double_t  x  )  [inline]
 

Parameters:
x Position of outer ring along z

Definition at line 52 of file AliFMDDetector.h.

Bool_t AliFMDDetector::XYZ2Detector Double_t  x,
Double_t  y,
Double_t  z,
Char_t &  ring,
UShort_t &  sector,
UShort_t &  strip
const
 

Translate spatial coordinates (x,y,z) in the master reference frame of ALICE to the detector coordinates (detector, ring, sector, strip). Note, that if this method is to be used in reconstruction or the like, then the input z-coordinate should be corrected for the events interactions points z-coordinate, like

      geom->XYZ2Detector(x,y,z-ipz,d,r,s,t);
Parameters:
x X coordinate
y Y coordinate
z Z coordinate
ring On return, Ring id
sector On return, Sector number
strip On return, Strip number
Returns:
false of (x, y, z) is not within this detector.


Member Data Documentation

Double_t AliFMDDetector::fAlThickness [protected]
 

Definition at line 141 of file AliFMDDetector.h.

Double_t AliFMDDetector::fHoneycombThickness [protected]
 

Definition at line 140 of file AliFMDDetector.h.

Int_t AliFMDDetector::fId [protected]
 

Definition at line 137 of file AliFMDDetector.h.

AliFMDRing* AliFMDDetector::fInner [protected]
 

Definition at line 146 of file AliFMDDetector.h.

Double_t AliFMDDetector::fInnerHoneyHighR [protected]
 

Definition at line 143 of file AliFMDDetector.h.

Double_t AliFMDDetector::fInnerHoneyLowR [protected]
 

Definition at line 142 of file AliFMDDetector.h.

TObjArray* AliFMDDetector::fInnerTransforms [protected]
 

Definition at line 148 of file AliFMDDetector.h.

Double_t AliFMDDetector::fInnerZ [protected]
 

Definition at line 138 of file AliFMDDetector.h.

AliFMDRing* AliFMDDetector::fOuter [protected]
 

Definition at line 147 of file AliFMDDetector.h.

Double_t AliFMDDetector::fOuterHoneyHighR [protected]
 

Definition at line 145 of file AliFMDDetector.h.

Double_t AliFMDDetector::fOuterHoneyLowR [protected]
 

Definition at line 144 of file AliFMDDetector.h.

TObjArray* AliFMDDetector::fOuterTransforms [protected]
 

Definition at line 149 of file AliFMDDetector.h.

Double_t AliFMDDetector::fOuterZ [protected]
 

Definition at line 139 of file AliFMDDetector.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