]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Update from prabhat: Dpt-Dpt Corr
authorsjena <sjena@cern.ch>
Thu, 12 Jun 2014 12:32:28 +0000 (14:32 +0200)
committersjena <sjena@cern.ch>
Thu, 12 Jun 2014 12:32:28 +0000 (14:32 +0200)
PWGCF/Correlations/DPhi/AliAnalysisTaskDptDptCorrelations.cxx

index 1d783f8c96955dca126e9f63335844ca9b5f7ebf..34add68a2c2bb200d980b470999be7b666dbd800 100644 (file)
@@ -1167,7 +1167,7 @@ void  AliAnalysisTaskDptDptCorrelations::UserExec(Option_t */*option*/)
       
       //*********************************************************
       TExMap *trackMap = new TExMap();//Mapping matrix----                                            
-      TRandom *ran = new TRandom(); //random eff. correction
+      //TRandom *ran = new TRandom(); //random eff. correction
 
       //1st loop track for Global tracks                                                                                
       for(Int_t i = 0; i < _nTracks; i++)
@@ -1195,15 +1195,16 @@ void  AliAnalysisTaskDptDptCorrelations::UserExec(Option_t */*option*/)
          bitOK  = t->TestFilterBit(_trackFilterBit);
          if (!bitOK) continue; //128bit or 272bit
 
-         //------- Eff. test----------
-        // Double_t yy = (1-0.7)/1.8;
-         // Double_t zz = (pt-0.2);
-          //Double_t effValue = 0.7+yy*zz;
-         Double_t effValue = 0.7;
+         /* //------- Eff. test----------
+         Double_t yy = (1-0.7)/1.8;
+          Double_t zz = (pt-0.2);
+          //Double_t effValue = 0.7+yy*zz;  //Slope
+         Double_t effValue = 0.7;          //Flat
           Double_t R = ran->Uniform(0,1);
 
           if(R > effValue) continue;
          //---------------------------
+         */
 
          Int_t gID = t->GetID();
          newAodTrack = gID >= 0 ?t : fAODEvent->GetTrack(trackMap->GetValue(-1-gID));