<commit_before><commit_msg>Add lightweight task monitoring the DCA distributions in r and z direction for selected tracks according to different trigger classes<commit_after>#if ! (defined(__CINT__) || defined(__CLING__)) || defined(__MAKECINT__) || defined(__ROOTCLING__)
#include <TList.h>
#include <TString.h>

#include "AliAnalysisManager.h"
#include "AliESDtrackCuts.h"

#include "AliAnalysisTaskTrackDCA.h"
#endif

EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA *AddTaskTrackDCA(){

  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();

  EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA *dcatask = new EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA("TrackDCAtask");
  mgr->AddTask(dcatask);

  // Set the track cuts: Standard ITS/TPC RAA track cuts
  AliESDtrackCuts *trackcuts = AliESDtrackCuts::GetStandardITSTPCTrackCuts2011(true, 1);
  trackcuts->SetName("Standard Track cuts");
  trackcuts->SetMinNCrossedRowsTPC(120);
  trackcuts->SetMaxDCAToVertexXYPtDep("0.0182+0.0350/pt^1.01");
  dcatask->SetTrackCuts(trackcuts);

  TString outputfile = mgr->GetCommonFileName();
  dcatask->ConnectInput(0, mgr->GetCommonInputContainer());
  dcatask->ConnectOutput(1, mgr->CreateContainer("histosdcatask", TList::Class(), AliAnalysisManager::kOutputContainer, outputfile.Data()));

  return dcatask;
}
{'fraction_non_alphanumeric': 0.11969696969696969, 'fraction_numerical': 0.017424242424242425, 'mean_word_length': 8.237762237762238, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '2757316', 'n_tokens_mistral': 444, 'n_tokens_neox': 420, 'n_words': 76}