<commit_before>AliAnalysisTaskLambdaOverK0sJets *AddTaskLambdaOverK0sJets( TString  name      = "LambdaOverK0sRatio", 
							    TString  data      = "PbPb2010", 
							    Float_t  minCen    = 0.,
							    Float_t  maxCen    = 40.,
							    Bool_t   sepInjec  = kTRUE,
							    Bool_t   isMC      = kFALSE,
							    Bool_t   doQA      = kTRUE){




  Float_t  ptMinTrig   = 5.;
  Float_t  ptMaxTrig   = 10.;
  Float_t  etaMaxTrig  = 0.7;
  Float_t  checkIDTrig = kTRUE;
  Float_t  rapMaxV0    = 0.7;
  Bool_t   usePID      = kFALSE;
  Float_t  nSigmaPID   = 3.0;
  Float_t  dcaDaug     = 0.095;  // looser cut
  Float_t  nclsDaug    = 50;     // looser cut


  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  if (!mgr) {
    ::Error("AddTaskCheckCascade", "No analysis manager to connect to.");
    return NULL;
  }   
  
  
  
  // Create and configure the task
  AliAnalysisTaskLambdaOverK0sJets *task = new AliAnalysisTaskLambdaOverK0sJets(name.Data());
  task->SetCollisionType(data);
  task->SetCentrality(minCen,maxCen);
  task->SetTriggerPt(ptMinTrig,ptMaxTrig);
  task->SetTriggerEta(etaMaxTrig);
  task->SetCheckIDTrig(checkIDTrig);
  task->SetMaxY(rapMaxV0);
  task->SetMaxDCADaughter(dcaDaug); // Add to perform systematics
  task->SetNSigmaPID(nSigmaPID);
  task->SetNClsTPC(nclsDaug);
  task->SetSeparateInjectedPart(sepInjec);
  task->SetMC(isMC);
  task->SetPID(usePID);
  task->SetQA(doQA);
  mgr->AddTask(task);
  
  
  
  // Create ONLY the output containers for the data produced by the task.
  // Get and connect other common input/output containers via the manager as below
  //==============================================================================
  
  AliAnalysisDataContainer *cinput0 = mgr->GetCommonInputContainer();
  mgr->ConnectInput(task, 0, mgr->GetCommonInputContainer());
  
  if (isMC) name+="_mc";
  
  AliAnalysisDataContainer *coutput1 =  <commit_msg>modified for systematic studies<commit_after>AliAnalysisTaskLambdaOverK0sJets *AddTaskLambdaOverK0sJets( TString  name      = "LambdaOverK0sRatio", 
							    TString  data      = "PbPb2010", 
							    Float_t  minCen    = 0.,
							    Float_t  maxCen    = 40.,
							    Bool_t   sepInjec  = kTRUE,
							    Bool_t   isMC      = kFALSE,
							    Bool_t   doQA      = kTRUE){




  Float_t  ptMinTrig   = 5.;
  Float_t  ptMaxTrig   = 10.;
  Float_t  etaMaxTrig  = 0.7;
  Float_t  checkIDTrig = kTRUE;
  Float_t  rapMaxV0    = 0.7;
  Bool_t   usePID      = kFALSE;
  Float_t  nSigmaPID   = 3.0;
  Float_t  dcaDaug     = 1.0;
  FLoat_t  dca2PrmVtx  = 0.095;  // tighter cut
  Float_t  nclsDaug    = 50;     // looser cut


  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  if (!mgr) {
    ::Error("AddTaskCheckCascade", "No analysis manager to connect to.");
    return NULL;
  }   
  
  
  
  // Create and configure the task
  AliAnalysisTaskLambdaOverK0sJets *task = new AliAnalysisTaskLambdaOverK0sJets(name.Data());
  // collision type
  task->SetCollisionType(data);
  task->SetCentrality(minCen,maxCen);
  // trigger particle
  task->SetTriggerPt(ptMinTrig,ptMaxTrig);
  task->SetTriggerEta(etaMaxTrig);
  task->SetCheckIDTrig(checkIDTrig);
  // V0 candidates
  task->SetMaxY(rapMaxV0);
  task->SetMaxDCADaughter(dcaDaug); // Added to perform systematics
  task->SetDCAToPrimVtx(dca2PrmVtx); // Added to perform systematics
  task->SetNSigmaPID(nSigmaPID);
  task->SetNClsTPC(nclsDaug);  // Added to perform systematics
  // PID
  task->SetSeparateInjectedPart(sepInjec);
  // MC
  task->SetMC(isMC);
  task->SetPID(usePID);
  // QA
  task->SetQA(doQA);
  // Add task
  mgr->AddTask(task);
  
  
  
  // Create ONLY the output containers for the data produced by the task.
  // Get and connect other common input/output containers via the manager as below
  //==============================================================================
  
  AliAnalysisDataContainer *cinput0 = mgr->GetCommonInputContainer();
  mgr->ConnectInput(task, 0, mgr->GetCommonInputContainer());
  
  if (isMC) name+="_mc";
  
  AliAnalysisDataContainer *coutput1 =  
{'fraction_non_alphanumeric': 0.1401118949160788, 'fraction_numerical': 0.01678423741182194, 'mean_word_length': 3.1285140562248994, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 38, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2560396', 'n_tokens_mistral': 1617, 'n_tokens_neox': 1434, 'n_words': 286}