![]() |
AliRoot Core
edcc906 (edcc906)
|
Base class for the geometry description and parameters of the FMD sub detectors FMD1, FMD2, and FMD3. More...
#include <AliFMDDetector.h>
Public Member Functions | |
AliFMDDetector (Int_t id, AliFMDRing *inner, AliFMDRing *outer) | |
AliFMDDetector (const AliFMDDetector &other) | |
AliFMDDetector & | operator= (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 | 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 | GetInnerHoneyLowR () const |
Double_t | GetInnerHoneyHighR () const |
Double_t | GetOuterHoneyLowR () const |
Double_t | GetOuterHoneyHighR () const |
AliFMDRing * | GetInner () const |
AliFMDRing * | GetOuter () const |
AliFMDRing * | GetRing (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 §or, UShort_t &strip) const |
virtual void | SetAlignableVolumes () const |
TGeoMatrix * | FindTransform (Char_t ring, UShort_t sector) const |
Protected Member Functions | |
Bool_t | HasAllTransforms (Char_t ring) const |
Protected Attributes | |
Int_t | fId |
Double_t | fInnerZ |
Double_t | fOuterZ |
Double_t | fInnerHoneyLowR |
Double_t | fInnerHoneyHighR |
Double_t | fOuterHoneyLowR |
Double_t | fOuterHoneyHighR |
AliFMDRing * | fInner |
AliFMDRing * | fOuter |
TObjArray * | fInnerTransforms |
TObjArray * | fOuterTransforms |
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 45 of file AliFMDDetector.h.
AliFMDDetector::AliFMDDetector | ( | Int_t | id, |
AliFMDRing * | inner, | ||
AliFMDRing * | outer | ||
) |
Constructor
id | Detector number |
inner | Pointer to inner ring geometry |
outer | Pointer to inner outer geometry |
Definition at line 54 of file AliFMDDetector.cxx.
AliFMDDetector::AliFMDDetector | ( | const AliFMDDetector & | other | ) |
|
inlinevirtual |
Definition at line 61 of file AliFMDDetector.h.
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.
ring | Ring id |
sector | Sector number |
strip | Strip number |
x | On return, X coordinate |
y | On return, Y coordinate |
z | On return, Z coordinate |
Definition at line 536 of file AliFMDDetector.cxx.
Referenced by AliFMDGeometry::Detector2XYZ(), and GetOuter().
TGeoMatrix * AliFMDDetector::FindTransform | ( | Char_t | ring, |
UShort_t | sector | ||
) | const |
Get transformation matrix for a sector in a ring
ring | Ring id |
sector | Sector numberr |
Definition at line 510 of file AliFMDDetector.cxx.
Referenced by Detector2XYZ(), and GetOuter().
|
inline |
Definition at line 84 of file AliFMDDetector.h.
Referenced by AliFMDGeometryBuilder::DetectorGeometry(), AliFMDGeometryBuilder::FMD1Geometry(), AliFMDGeometryBuilder::FMD2Geometry(), AliFMDGeometryBuilder::FMD3Geometry(), and AliFMDGeometry::XYZ2Detector().
|
inline |
Definition at line 99 of file AliFMDDetector.h.
Referenced by AliFMDGeometryBuilder::DetectorGeometry(), AliFMDGeometryBuilder::FMD1Geometry(), GetRing(), and AliFMDFancy::AliFancyDetector::Init().
|
inline |
Definition at line 92 of file AliFMDDetector.h.
Referenced by AliFMDDetector(), AliFMDGeometryBuilder::DetectorGeometry(), and operator=().
|
inline |
Definition at line 90 of file AliFMDDetector.h.
Referenced by AliFMDDetector(), AliFMDGeometryBuilder::DetectorGeometry(), and operator=().
|
inline |
Definition at line 86 of file AliFMDDetector.h.
Referenced by AliFMDDetector(), CheckAlign::CheckAlign(), AliFMDGeometryBuilder::DetectorGeometry(), AliFMDGeometryBuilder::FMD1Geometry(), AliFMDGeometryBuilder::FMD3Geometry(), GetRingZ(), AliFMDFancy::AliFancyDetector::Init(), and operator=().
|
inline |
Definition at line 101 of file AliFMDDetector.h.
Referenced by AliFMDGeometryBuilder::DetectorGeometry(), AliFMDGeometryBuilder::FMD2Geometry(), GetRing(), and AliFMDFancy::AliFancyDetector::Init().
|
inline |
Definition at line 96 of file AliFMDDetector.h.
Referenced by AliFMDDetector(), AliFMDGeometryBuilder::DetectorGeometry(), AliFMD2::Init(), and operator=().
|
inline |
Definition at line 94 of file AliFMDDetector.h.
Referenced by AliFMDDetector(), AliFMDGeometryBuilder::DetectorGeometry(), and operator=().
|
inline |
Definition at line 88 of file AliFMDDetector.h.
Referenced by AliFMDDetector(), CheckAlign::CheckAlign(), AliFMDGeometryBuilder::DetectorGeometry(), AliFMDGeometryBuilder::FMD2Geometry(), GetRingZ(), AliFMDFancy::AliFancyDetector::Init(), and operator=().
AliFMDRing * AliFMDDetector::GetRing | ( | Char_t | id | ) | const |
id | Id of ring to get |
Definition at line 476 of file AliFMDDetector.cxx.
Referenced by Detector2XYZ(), AliFMDBaseDigitizer::DigitizeHits(), GetOuter(), HasAllTransforms(), AliFMDFancy::AliFancyDetector::Init(), InitTransformations(), SetAlignableVolumes(), AliFMDv1::VMC2FMD(), and XYZ2Detector().
Double_t AliFMDDetector::GetRingZ | ( | Char_t | id | ) | const |
id | Id of ring to get |
Definition at line 493 of file AliFMDDetector.cxx.
Referenced by GetOuter(), and XYZ2Detector().
|
protected |
Check if we have all transformations for a ring
ring | Ring to check for |
true
if we got all transforms Definition at line 145 of file AliFMDDetector.cxx.
Referenced by GetOuter(), and InitTransformations().
|
virtual |
Initialize the geometry
Reimplemented in AliFMD3, AliFMD2, and AliFMD1.
Definition at line 130 of file AliFMDDetector.cxx.
Referenced by AliFMD1::Init(), AliFMD2::Init(), AliFMD3::Init(), and ~AliFMDDetector().
|
virtual |
Find the transformations that correspond to modules of this detector, and store them in the arrays.
Definition at line 171 of file AliFMDDetector.cxx.
Referenced by AliFMDGeometry::InitTransformations(), and ~AliFMDDetector().
AliFMDDetector & AliFMDDetector::operator= | ( | const AliFMDDetector & | other | ) |
Assignment operator
other | Object to assign from |
Definition at line 108 of file AliFMDDetector.cxx.
|
virtual |
Declare alignable volumes
Definition at line 337 of file AliFMDDetector.cxx.
Referenced by GetOuter(), and AliFMDGeometry::SetAlignableVolumes().
|
inline |
x | Detector number |
Definition at line 69 of file AliFMDDetector.h.
|
inline |
x | Outer radius of inner honeycomb |
Definition at line 77 of file AliFMDDetector.h.
Referenced by AliFMD3::AliFMD3(), AliFMDDetector(), AliFMD1::Init(), AliFMD2::Init(), Init(), and operator=().
|
inline |
x | Inner radius of inner honeycomb |
Definition at line 75 of file AliFMDDetector.h.
Referenced by AliFMD3::AliFMD3(), AliFMDDetector(), Init(), and operator=().
|
inline |
x | Position of outer ring along z |
Definition at line 71 of file AliFMDDetector.h.
Referenced by AliFMD1::AliFMD1(), AliFMD2::AliFMD2(), AliFMD3::AliFMD3(), AliFMDDetector(), and operator=().
|
inline |
x | Outer radius of outer honeycomb |
Definition at line 81 of file AliFMDDetector.h.
Referenced by AliFMD3::AliFMD3(), AliFMDDetector(), Init(), and operator=().
|
inline |
x | Inner radius of outer honeycomb |
Definition at line 79 of file AliFMDDetector.h.
Referenced by AliFMD3::AliFMD3(), AliFMDDetector(), Init(), and operator=().
|
inline |
x | Position of outer ring along z |
Definition at line 73 of file AliFMDDetector.h.
Referenced by AliFMD2::AliFMD2(), AliFMD3::AliFMD3(), AliFMDDetector(), and operator=().
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
x | X coordinate |
y | Y coordinate |
z | Z coordinate |
ring | On return, Ring id |
sector | On return, Sector number |
strip | On return, Strip number |
false
of (x, y, z) is not within this detector. Definition at line 582 of file AliFMDDetector.cxx.
Referenced by GetOuter(), and AliFMDGeometry::XYZ2Detector().
|
protected |
Definition at line 154 of file AliFMDDetector.h.
Referenced by Detector2XYZ(), FindTransform(), GetId(), InitTransformations(), operator=(), SetAlignableVolumes(), and SetId().
|
protected |
Definition at line 161 of file AliFMDDetector.h.
Referenced by GetInner(), HasAllTransforms(), Init(), InitTransformations(), operator=(), and SetAlignableVolumes().
|
protected |
Definition at line 158 of file AliFMDDetector.h.
Referenced by GetInnerHoneyHighR(), and SetInnerHoneyHighR().
|
protected |
Definition at line 157 of file AliFMDDetector.h.
Referenced by GetInnerHoneyLowR(), and SetInnerHoneyLowR().
|
protected |
Definition at line 163 of file AliFMDDetector.h.
Referenced by FindTransform(), HasAllTransforms(), InitTransformations(), and operator=().
|
protected |
Definition at line 155 of file AliFMDDetector.h.
Referenced by AliFMD3::ConeR(), GetInnerZ(), AliFMD3::Init(), and SetInnerZ().
|
protected |
Definition at line 162 of file AliFMDDetector.h.
Referenced by GetOuter(), Init(), InitTransformations(), operator=(), and SetAlignableVolumes().
|
protected |
Definition at line 160 of file AliFMDDetector.h.
Referenced by GetOuterHoneyHighR(), and SetOuterHoneyHighR().
|
protected |
Definition at line 159 of file AliFMDDetector.h.
Referenced by GetOuterHoneyLowR(), and SetOuterHoneyLowR().
|
protected |
Definition at line 164 of file AliFMDDetector.h.
Referenced by FindTransform(), HasAllTransforms(), InitTransformations(), and operator=().
|
protected |
Definition at line 156 of file AliFMDDetector.h.
Referenced by GetOuterZ(), and SetOuterZ().