<commit_before>AliAnalysisTaskSEImpParResSparse *AddTaskImpParResSparse(Bool_t readMC=kFALSE,
							 Int_t selPdg=-1,
							 Bool_t diamond=kTRUE,
							 Bool_t skipTrack=kTRUE,
							 Int_t minmult=0,
							 Int_t maxmult=1000000,
							 Int_t checkSDDIsIn=1,
							 TString dirName="",
							 Bool_t isAOD=kFALSE,
							 Int_t tracktype=0,
							 Int_t SPDreq=4,
							 Bool_t useCutGeoNcrNcl=kFALSE,
							 Bool_t fillexpertSparse=kFALSE,
							 Bool_t usetriggersel=kFALSE)
{
 
  // Get the pointer to the existing analysis manager via the static access method.
  //==============================================================================
  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  if (!mgr) {
    ::Error("AddTaskImpParRes", "No analysis manager to connect to.");
    return NULL;
  }

 
  //

  
  // Aanalysis task    
  AliAnalysisTaskSEImpParResSparse *d0ResTask = new AliAnalysisTaskSEImpParResSparse("d0ResAnalysis");
  d0ResTask->SetDebugLevel(2);
  d0ResTask->SetReadMC(readMC);
  d0ResTask->SetIsAOD(isAOD);
  d0ResTask->SetSelectedPdg(selPdg);
  d0ResTask->SetUseDiamond(diamond);
  d0ResTask->SetSkipTrack(skipTrack);
  d0ResTask->SetMultiplicityRange(minmult,maxmult);
  d0ResTask->SetFillSparseForExpert(fillexpertSparse);
  d0ResTask->SetUsePtWeights(0,1.);<commit_msg>Added possibility to make PID (macro)<commit_after>AliAnalysisTaskSEImpParResSparse *AddTaskImpParResSparse(Bool_t readMC=kFALSE,
							 Int_t selPdg=-1,
							 Bool_t diamond=kTRUE,
							 Bool_t skipTrack=kTRUE,
							 Int_t minmult=0,
							 Int_t maxmult=1000000,
							 Int_t checkSDDIsIn=1,
							 TString dirName="",
							 Bool_t isAOD=kFALSE,
							 Int_t tracktype=0,
							 Int_t SPDreq=4,
							 Bool_t useCutGeoNcrNcl=kFALSE,
							 Bool_t fillexpertSparse=kFALSE,
							 Bool_t usetriggersel=kFALSE,
							 Int_t species=-1)
{
 
  // Get the pointer to the existing analysis manager via the static access method.
  //==============================================================================
  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  if (!mgr) {
    ::Error("AddTaskImpParRes", "No analysis manager to connect to.");
    return NULL;
  }

 
  //

  
  // Aanalysis task    
  AliAnalysisTaskSEImpParResSparse *d0ResTask = new AliAnalysisTaskSEImpParResSparse("d0ResAnalysis");
  d0ResTask->SetDebugLevel(2);
  d0ResTask->SetReadMC(readMC);
  d0ResTask->SetIsAOD(isAOD);
  d0ResTask->SetSelectedPdg(selPdg);
  d0ResTask->SetUseDiamond(diamond);
  d0ResTask->SetSkipTrack(skipTrack);
  d0ResTask->SetMultiplicityRange(minmult,maxmult);
  d0ResTask->SetFillSparseForExpert(fillexpertSparse);
  d0ResTask->SetUsePtWeights(0,1.);
  d0ResTask->SetParticleSpecies(species);
{'fraction_non_alphanumeric': 0.15050651230101303, 'fraction_numerical': 0.019536903039073805, 'mean_word_length': 4.12987012987013, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 22, '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': '1440913', 'n_tokens_mistral': 1147, 'n_tokens_neox': 904, 'n_words': 149}