]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AliHMPIDPreprocessor.cxx
better just warning than error in case of mirrors requesting when putting to local...
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDPreprocessor.cxx
index ca0523ee651b40765c7487ec464a5e23fc82a1e9..e74ebac87d4360206ca569f127990af0f3e0a97d 100644 (file)
@@ -19,6 +19,9 @@
 //.
 //.
 //.
+using std::hex;
+using std::ifstream;
+using std::dec;
 ClassImp(AliHMPIDPreprocessor)
 
 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -369,7 +372,7 @@ Double_t AliHMPIDPreprocessor::ProcTrans(TMap* pMap)
   
   Double_t sEnergProb=0, sProb=0;
 
-  Double_t tRefCR5 = 19. ;                                      // mean temperature of CR5 where the system is in place
// Double_t tRefCR5 = 19. ;                                      // mean temperature of CR5 where the system is in place
 
   Double_t eMean = 0;
       
@@ -442,12 +445,12 @@ Double_t AliHMPIDPreprocessor::ProcTrans(TMap* pMap)
  
    //evaluate correction factor to calculate trasparency (Ref. NIMA 486 (2002) 590-609)
     
-    Double_t aN1 = AliHMPIDParam::NIdxRad(photEn,tRefCR5);
-    Double_t aN2 = AliHMPIDParam::NMgF2Idx(photEn);
-    Double_t aN3 = 1;                              // Argon Idx
+    //Double_t aN1 = AliHMPIDParam::NIdxRad(photEn,tRefCR5);
+    //Double_t aN2 = AliHMPIDParam::NMgF2Idx(photEn);
+    //Double_t aN3 = 1;                              // Argon Idx
 
-    Double_t aR1               = ((aN1 - aN2)*(aN1 - aN2))/((aN1 + aN2)*(aN1 + aN2));
-    Double_t aR2               = ((aN2 - aN3)*(aN2 - aN3))/((aN2 + aN3)*(aN2 + aN3));
+   // Double_t aR1               = ((aN1 - aN2)*(aN1 - aN2))/((aN1 + aN2)*(aN1 + aN2));
+  //  Double_t aR2               = ((aN2 - aN3)*(aN2 - aN3))/((aN2 + aN3)*(aN2 + aN3));
    // Double_t aT1               = (1 - aR1);
    // Double_t aT2               = (1 - aR2);
    // Double_t aCorrFactor       = (aT1*aT1)/(aT2*aT2);