<commit_before>AliAnalysisTaskTaggedPhotons* AddTaskPHOSTagging (const char* name = "PHOSTagging",
					    const char* options = "",
					    UInt_t offlineTriggerMask = AliVEvent::kCentral,
					    Float_t timeCut = 100.e-9, //accept clusters with |t|<timeCut
                                            Bool_t ignorePHI7Events=kFALSE,
                                            Int_t centralityEstinator=1) //Centrality estimator, see cxx code for list (separate for pp and pPb
{
  //Add a task AliAnalysisTaskTaggedPhotons to the analysis train
  //Author: <NAME>

  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  if (!mgr) {
    ::Error("AddTaskPHOSTagging", "No analysis manager to connect to");
    return NULL;
  }
  
  if (!mgr->GetInputEventHandler()) {
    ::Error("AddTaskPHOSTagging", "This task requires an input event handler");
    return NULL;
  }

  AliAnalysisTaskTaggedPhotons* task = new AliAnalysisTaskTaggedPhotons(Form("%sTask%d", name,centralityEstinator));

  task->SelectCollisionCandidates(offlineTriggerMask);
  if(offlineTriggerMask&AliVEvent::kMuonCalo)
    task->UseCaloFast() ;  
 
  task->SetTimeCut(timeCut) ;
  task->SetTrigger(ignorePHI7Events) ;
  task->SetCentralityEstimator(centralityEstinator) ; 
  
  Int_t binLimits[8]={5,10,15,20,30,50,70,100};
  TArrayI multBins(8,binLimits) ;
  task->SetMultiplicityBins(&multBins) ;
  
  if (TString(options)=="MC"){
    task->SetMC(kTRUE);
  }<commit_msg>new binning<commit_after>AliAnalysisTaskTaggedPhotons* AddTaskPHOSTagging (const char* name = "PHOSTagging",
					    const char* options = "",
					    UInt_t offlineTriggerMask = AliVEvent::kCentral,
					    Float_t timeCut = 100.e-9, //accept clusters with |t|<timeCut
                                            Bool_t ignorePHI7Events=kFALSE,
                                            Int_t centralityEstinator=1) //Centrality estimator, see cxx code for list (separate for pp and pPb
{
  //Add a task AliAnalysisTaskTaggedPhotons to the analysis train
  //Author: <NAME>

  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  if (!mgr) {
    ::Error("AddTaskPHOSTagging", "No analysis manager to connect to");
    return NULL;
  }
  
  if (!mgr->GetInputEventHandler()) {
    ::Error("AddTaskPHOSTagging", "This task requires an input event handler");
    return NULL;
  }

  AliAnalysisTaskTaggedPhotons* task = new AliAnalysisTaskTaggedPhotons(Form("%sTask%d", name,centralityEstinator));

  task->SelectCollisionCandidates(offlineTriggerMask);
  if(offlineTriggerMask&AliVEvent::kMuonCalo)
    task->UseCaloFast() ;  
 
  task->SetTimeCut(timeCut) ;
  task->SetTrigger(ignorePHI7Events) ;
  task->SetCentralityEstimator(centralityEstinator) ; 
  
  Int_t binLimits[9]={1,5,10,15,20,30,50,70,100};
  TArrayI multBins(9,binLimits) ;
  task->SetMultiplicityBins(&multBins) ;
  
  if (TString(options)=="MC"){
    task->SetMC(kTRUE);
  }
{'fraction_non_alphanumeric': 0.1151742993848257, 'fraction_numerical': 0.017429938482570063, 'mean_word_length': 3.5877742946708464, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5005251', 'n_tokens_mistral': 1015, 'n_tokens_neox': 921, 'n_words': 181}