* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-
/* $Id$ */
+/** @file AliFMDDetector.cxx
+ @author Christian Holm Christensen <cholm@nbi.dk>
+ @date Mon Mar 27 12:36:27 2006
+ @brief Sub-detector base class implementation
+ @ingroup FMD_base
+*/
//____________________________________________________________________
//
+// AliFMDDetector.
+//
+// Base class for concrete FMD detectors, like AliFMD1, AliFMD2,
+// AliFMD3.
// Utility class to help implement the FMD geometry. This provides
// the interface for the concrete geometry implementations of the FMD
// sub-detectors.
#include "AliLog.h" // ALILOG_H
#include <TGeoManager.h> // ROOT_TGeoManager
#include <TGeoMatrix.h> // ROOT_TGeoMatrix
-#include <TMath.h> // ROOT_TMath
+// #include <TMath.h> // ROOT_TMath
//====================================================================
ClassImp(AliFMDDetector)
Bool_t
AliFMDDetector::HasAllTransforms(Char_t ring) const
{
+ // Check if we got all transformations for a given ring. Return
+ // true in that case.
AliFMDRing* r = GetRing(ring);
if (!r) return kTRUE;
TObjArray* matricies = (r == fInner ? fInnerTransforms : fOuterTransforms);
void
AliFMDDetector::InitTransformations()
{
+ // Find all local<->global transformations for this detector.
if ((!fInner || (fInner && fInnerTransforms)) &&
(!fOuter || (fOuter && fOuterTransforms))) {
AliDebug(5, Form("Transforms for FMD%d already registered", fId));