Removing unused MFT constant
authorauras <antonio.uras@cern.ch>
Tue, 25 Feb 2014 23:19:45 +0000 (00:19 +0100)
committerauras <antonio.uras@cern.ch>
Tue, 25 Feb 2014 23:19:45 +0000 (00:19 +0100)
MFT/AliMFTConstants.cxx
MFT/AliMFTConstants.h
MFT/AliMFTPlane.cxx
MFT/AliMFTPlane.h

index 685eb9b..72065fb 100644 (file)
@@ -31,8 +31,6 @@ const Double_t AliMFTConstants::fCutForAttachingDigits = 1.;
 
 const Double_t AliMFTConstants::fElossPerElectron = 3.62e-09;
 
-const Double_t AliMFTConstants::fRadiusMin = 2.5;
-
 const Double_t AliMFTConstants::fActiveSuperposition = 0.05;
                                  
 const Double_t AliMFTConstants::fHeightActive = 0.5;
index 175be43..85f949e 100644 (file)
@@ -29,9 +29,6 @@ public:
 
   static const Double_t fElossPerElectron;
 
-  // minimum radial distance of the MFT sensors. To be carefully coordinated with fActiveSuperposition
-  static const Double_t fRadiusMin;  ///<
-        
   // superposition between the active elements tasselling the MFT planes, for having a full acceptance coverage even in case of 10 degrees inclined tracks
   static const Double_t fActiveSuperposition;  ///<
                                                 
index d06e150..13beb9f 100644 (file)
@@ -34,7 +34,6 @@
 #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;
@@ -248,11 +247,6 @@ Bool_t AliMFTPlane::Init(Int_t    planeNumber,
   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));
@@ -277,8 +271,6 @@ Bool_t AliMFTPlane::CreateStructure() {
   
   // ------------------- 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;
@@ -364,7 +356,7 @@ Bool_t AliMFTPlane::CreateStructure() {
       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;
@@ -388,7 +380,7 @@ Bool_t AliMFTPlane::CreateStructure() {
                                                                           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) {
        
@@ -418,7 +410,7 @@ Bool_t AliMFTPlane::CreateStructure() {
       
       }
 
-      // right element: below the beam pipe
+      // right element: y < 0
       
       if (isFront) zMin = zMinFront;
       else         zMin = zMinBack;
@@ -442,7 +434,7 @@ Bool_t AliMFTPlane::CreateStructure() {
                                                                           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) {
 
index e50da0b..07f137c 100644 (file)
@@ -88,8 +88,6 @@ private:
 
   // measures in cm
 
-  static const Double_t fRadiusMin;            // minimum radial distance of the MFT sensors. To be carefully coordinated with fActiveSuperposition
-
   static const Double_t fActiveSuperposition;  // superposition between the active elements tasselling the MFT planes, for having a 
                                                // full acceptance coverage even in case of 10 degrees inclined tracks
   static const Double_t fHeightActive;         // height of the active elements