X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=FMD%2FAliFMD2.cxx;h=1affdf0cba796a851bb27356db0af7017c31f0dd;hp=9d0fe46ef30537213401f77436f8f88104b5ad4b;hb=b9ced2a37e0c43720527939521d7ac537cf243b2;hpb=0d0e69953f8454e6bab7169b95440ec351979811 diff --git a/FMD/AliFMD2.cxx b/FMD/AliFMD2.cxx index 9d0fe46ef30..1affdf0cba7 100644 --- a/FMD/AliFMD2.cxx +++ b/FMD/AliFMD2.cxx @@ -15,13 +15,12 @@ /* $Id$ */ -////////////////////////////////////////////////////////////////////////////// +//____________________________________________________________________ // // Concrete implementation of AliFMDSubDetector // // This implements the geometry for FMD2 // -////////////////////////////////////////////////////////////////////////////// #ifndef ALIFMD2_H # include "AliFMD2.h" #endif @@ -41,18 +40,30 @@ ClassImp(AliFMD2); //____________________________________________________________________ AliFMD2::AliFMD2() : AliFMDSubDetector(2) -{} +{ + // Default constructor for the FMD2 sub-detector +} //____________________________________________________________________ AliFMD2::~AliFMD2() -{} +{ + // Destructor - does nothing +} + //____________________________________________________________________ void AliFMD2::SetupGeometry(Int_t airId, Int_t kaptionId) { + // Setup the FMD2 sub-detector geometry + // + // Parameters: + // + // airId Id # of the Air medium + // kaptionId Id # of the Aluminium medium + // fInnerHoneyLowR = fInner->GetLowR() + 1; - fInnerHoneyHighR = fInner->GetHighR() + 1; + fInnerHoneyHighR = fOuter->GetHighR() + 1; fOuterHoneyLowR = fOuter->GetLowR() + 1; fOuterHoneyHighR = fOuter->GetHighR() + 1; @@ -78,6 +89,15 @@ void AliFMD2::Geometry(const char* mother, Int_t pbRotId, Int_t idRotId, Double_t z) { + // Position the FMD2 sub-detector volume + // + // Parameters + // + // mother name of the mother volume + // pbRotId Printboard roation matrix ID + // idRotId Identity rotation matrix ID + // z Z position (not really used here, but passed down) + // z = fDz + fOuterZ; AliFMDSubDetector::Geometry("FMD2", pbRotId, idRotId, z); gMC->Gspos("FMD2", 1, mother, 0, 0, z, fRotationId);