// This implements the geometry for FMD2
//
#include "AliFMD2.h" // ALIFMD2_H
-#include "TVirtualMC.h" // ROOT_TVirtualMC
-#include "AliLog.h" // ALILOG_H
#include "AliFMDRing.h" // ALIFMDRING_H
+#include <AliLog.h> // ALILOG_H
+#include <TVirtualMC.h> // ROOT_TVirtualMC
//____________________________________________________________________
ClassImp(AliFMD2);
//____________________________________________________________________
void
-AliFMD2::SetupGeometry(Int_t airId, Int_t kaptionId)
+AliFMD2::SetupGeometry(Int_t airId, Int_t alId, Int_t cId)
{
// Setup the FMD2 sub-detector geometry
//
// Parameters:
//
// airId Id # of the Air medium
- // kaptionId Id # of the Aluminium medium
+ // alId Id # of the Aluminium medium
//
+ AliDebug(10, "\tDefining the geometry for FMD1");
fInnerHoneyLowR = fInner->GetLowR() + 1;
fInnerHoneyHighR = fOuter->GetHighR() + 1;
fOuterHoneyLowR = fOuter->GetLowR() + 1;
// Rotate the full sub-detector
gMC->Matrix(fRotationId, 270, 180, 90, 90, 180, 0);
- AliFMDSubDetector::SetupGeometry(airId, kaptionId);
+ AliFMDSubDetector::SetupGeometry(airId, alId, cId);
}
//____________________________________________________________________
// z Z position (not really used here, but passed down)
//
z = fDz + fOuterZ;
+ AliDebug(10, Form("\tPutting FMD2 in %s at z=%lf cm", mother, z));
AliFMDSubDetector::Geometry("FMD2", pbRotId, idRotId, z);
gMC->Gspos("FMD2", 1, mother, 0, 0, z, fRotationId);
}