#include "AliMFTConstants.h"
#include "AliMFTPlane.h"
-const Double_t AliMFTPlane::fRadiusMin = AliMFTConstants::fRadiusMin;
const Double_t AliMFTPlane::fActiveSuperposition = AliMFTConstants::fActiveSuperposition;
const Double_t AliMFTPlane::fHeightActive = AliMFTConstants::fHeightActive;
const Double_t AliMFTPlane::fHeightReadout = AliMFTConstants::fHeightReadout;
fZCenterActiveFront = fZCenter - 0.5*fThicknessSupport - 0.5*fThicknessActive;
fZCenterActiveBack = fZCenter + 0.5*fThicknessSupport + 0.5*fThicknessActive;
-// if (fRMinSupport <= fRadiusMin) fRMinSupport = fRadiusMin;
-// else {
-// fRMinSupport = fRadiusMin + (fHeightActive-fActiveSuperposition) * Int_t((fRMinSupport-fRadiusMin)/(fHeightActive-fActiveSuperposition));
-// }
-
if (fRMax < fRMinSupport+fHeightActive) fRMax = fRMinSupport + fHeightActive;
Int_t nLaddersWithinPipe = Int_t(fRMinSupport/(fHeightActive-fActiveSuperposition));
// ------------------- det elements: active + readout ----------------------------------
- // 1st Section : below and above the beam pipe
-
Double_t lowEdgeActive = -1.*fRMax;
Double_t supEdgeActive = lowEdgeActive + fHeightActive;
Double_t zMinFront = fZCenter - 0.5*fThicknessSupport - fThicknessActive;
nBins[1] = TMath::Nint(fHeightActive/fPixelSizeY);
nBins[2] = 1;
- // left element: below the beam pipe
+ // left element: y < 0
if (isFront) zMin = zMinFront;
else zMin = zMinBack;
Form("MFTReadoutElemHist_%02d%03d", fPlaneNumber, fReadoutElements->GetEntries()),
3, nBins, minPosition, maxPosition);
- // left element: above the beam pipe
+ // left element: y > 0
if (supEdgeActive < 0.5*fHeightActive) {
}
- // right element: below the beam pipe
+ // right element: y < 0
if (isFront) zMin = zMinFront;
else zMin = zMinBack;
Form("MFTReadoutElemHist_%02d%03d", fPlaneNumber, fReadoutElements->GetEntries()),
3, nBins, minPosition, maxPosition);
- // right element: above the beam pipe
+ // right element: y > 0
if (supEdgeActive < 0.5*fHeightActive) {