//__________________________________________________________________
//
// Utility class to help implement collection of FMD modules into
-// rings. This is used by AliFMDDetector and AliFMDGeometry.
-//
+// rings. This is used by AliFMDDetector and AliFMDGeometry.
// The AliFMDGeometry object owns the AliFMDRing objects, and the
// AliFMDDetector objects reference these. That is, the AliFMDRing
// objects are share amoung the AliFMDDetector objects.
// Latest changes by Christian Holm Christensen
//
+#include <TMath.h> // ROOT_TMath
+#include <TVector2.h> // ROOT_TVector2
+
// #include <AliLog.h> // ALILOG_H
#include "AliFMDRing.h" // ALIFMDRING_H
-// #include <TMath.h> // ROOT_TMath
-#include <TVector2.h> // ROOT_TVector2
//====================================================================
ClassImp(AliFMDRing)
AliFMDRing::AliFMDRing(Char_t id)
: TNamed(Form("FMD%c", id), "Forward multiplicity ring"),
fId(id),
+ fBondingWidth(0),
+ fWaferRadius(0),
+ fSiThickness(0),
+ fLowR(0),
+ fHighR(0),
+ fMinR(0),
+ fMaxR(0),
+ fTheta(0),
+ fNStrips(0),
+ fRingDepth(0),
+ fLegRadius(0),
+ fLegLength(0),
+ fLegOffset(0),
+ fModuleSpacing(0),
+ fPrintboardThickness(0),
+ fCopperThickness(0),
+ fChipThickness(0),
+ fSpacing(0),
+ fHoneycombThickness(0.),
+ fAlThickness(0.),
fVerticies(0)
{
// CTOR
SetCopperThickness();
SetChipThickness();
SetSpacing();
+ SetHoneycombThickness();
+ SetAlThickness();
if (fId == 'I' || fId == 'i') {
SetLowR(4.3);
return (strip + .5) * dstrip + stripoff; // fLowR
}
+//____________________________________________________________________
+Double_t
+AliFMDRing::GetFullDepth() const
+{
+ return (GetSiThickness() +
+ GetSpacing() +
+ GetPrintboardThickness() +
+ GetCopperThickness() +
+ GetChipThickness() +
+ GetModuleSpacing() +
+ GetLegLength() +
+ GetHoneycombThickness() +
+ GetFMDDPrintboardThickness() +
+ GetFMDDCopperThickness() +
+ GetFMDDChipThickness()
+ + 0.5);
+}
+
//____________________________________________________________________
void
AliFMDRing::Detector2XYZ(UShort_t sector,