]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FLOW/AliSelectorFoF.cxx
Adding comments (Laurent)
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliSelectorFoF.cxx
index 7d3c20700ccbc1edd695cc95c232b11cc0295757..487420dae60967a24b704ebf9111a16eb090035c 100644 (file)
@@ -172,19 +172,19 @@ void AliSelectorFoF::Begin(TTree*)
   // R.P. calculation cuts
   for(int j=0;j<AliFlowConstants::kHars;j++)
   {
-   fFlowSelect->SetEtaCut(0., 1.1, j, 1) ;
+   fFlowSelect->SetEtaCut(0., 0.9, j, 1) ;
    fFlowSelect->SetPtCut(0.1, 10. , j, 1);
   }
   fFlowSelect->SetConstrainCut(kTRUE) ;
   fFlowSelect->SetDcaGlobalCut(0.,0.1);
   // Correlation analysis cuts (not all of them)
-  fFlowSelect->SetEtaPart(-1.1,1.1);
+  fFlowSelect->SetEtaPart(-0.9,0.9);
   fFlowSelect->SetPtPart(0.1,10.);
   fFlowSelect->SetConstrainablePart(kTRUE);
   fFlowSelect->SetDcaGlobalPart(0.,0.1);
   // V0 analysis cuts (not all of them ... they are useless anyway)
   fFlowSelect->SetV0Mass(0.4875,0.5078) ;       // Mk0 = 0.49765
-  fFlowSelect->SetV0SideBands(0.08) ;
+  fFlowSelect->SetV0SideBands(0.1) ;
   fFlowSelect->SetV0Pt(0.1,10.) ;
   fFlowSelect->SetV0Eta(-2.1,2.1) ;
   // print list :
@@ -230,8 +230,8 @@ void AliSelectorFoF::Begin(TTree*)
    cout << " . Writing Analysis Histograms on  : " << fFlowAnal->GetHistFileName()   << "  . " << endl ;
 
   // Analysis settings
-   fFlowAnal->SetFlowForV0(kFALSE) ;         // default kTRUE.
-   fFlowAnal->SetEtaSub() ;            // default kFALSE
+   fFlowAnal->SetFlowForV0() ;         // default kTRUE.
+   fFlowAnal->SetSub(1) ; //eta  // ->SetChrSub() ; //charge  // ->SetRndSub() ; //random (default)
    //fFlowAnal->SetV1Ep1Ep2() ;          // default kFALSE.
    //fFlowAnal->SetShuffle() ;           // default kFALSE. shuffles track array
    //fFlowAnal->SetRedoWgt();           // default kFALSE. recalculates phiWgt (even if phiWgt file is already there)
@@ -240,6 +240,7 @@ void AliSelectorFoF::Begin(TTree*)
    fFlowAnal->SetUseBayWgt(kFALSE) ;    // default kFALSE. uses bayesian weights in P.id.
    //fFlowAnal->SetUsePtWgt(); // default kFALSE. uses pT as a weight for RP determination
    //fFlowAnal->SetUseEtaWgt();        // default kFALSE. uses eta as a weight for RP determination
+   //fFlowAnal->SetCustomRespFunc();   // default kFALSE. uses the combined response function from the ESD
    fFlowAnal->Init() ;
   }
  }
@@ -395,7 +396,7 @@ Bool_t AliSelectorFoF::Process(Long64_t entry)
   if(fOnFlyAnalysis)  
   {
    cout << " doing analysis :| " << endl ;
-   bool done = fFlowAnal->Analyse(fFlowEvent) ;
+   bool done = fFlowAnal->Analyze(fFlowEvent) ;
    fFlowAnal->PrintEventQuantities() ;
    if(done) { cout << "# analysis done :) " << entry << "                # ok ! #       " << endl ; } 
   }