<commit_before>AliAnalysisTaskExtractV0AOD *AddTaskExtractV0AOD( Bool_t lSwitchIsNuclear     = kTRUE, 
                                                  Bool_t lSwitchIsLowEnergyPP = kFALSE,
                                                  Bool_t lSwitchUseOnTheFly   = kFALSE, 
                                                  const TString lMasterJobSessionFlag = "")
{
// Creates, configures and attaches to the train a cascades check task.
   // Get the pointer to the existing analysis manager via the static access method.
   //==============================================================================
   AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
   if (!mgr) {
      ::Error("AddTaskExtractV0", "No analysis manager to connect to.");
      return NULL;
   }   

   // Check the analysis type using the event handlers connected to the analysis manager.
   //==============================================================================
   if (!mgr->GetInputEventHandler()) {
      ::Error("AddTaskExtractV0", "This task requires an input event handler");
      return NULL;
   }   
   TString type = mgr->GetInputEventHandler()->GetDataType(); // can be "ESD" or "AOD"

   // Create and configure the task<commit_msg>AddTask modification for trigger mask selection. <commit_after>AliAnalysisTaskExtractV0AOD *AddTaskExtractV0AOD( Bool_t lSwitchIsNuclear     = kFALSE, 
                                                  Bool_t lSwitchIsLowEnergyPP = kFALSE,
                                                  Bool_t lSwitchUseOnTheFly   = kFALSE, 
                                                  TString lTriggerMask = "kMB",
                                                  const TString lMasterJobSessionFlag = "")
{
// Creates, configures and attaches to the train a cascades check task.
   // Get the pointer to the existing analysis manager via the static access method.
   //==============================================================================
   AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
   if (!mgr) {
      ::Error("AddTaskExtractV0", "No analysis manager to connect to.");
      return NULL;
   }   

   // Check the analysis type using the event handlers connected to the analysis manager.
   //==============================================================================
   if (!mgr->GetInputEventHandler()) {
      ::Error("AddTaskExtractV0", "This task requires an input event handler");
      return NULL;
   }   
   TString type = mgr->GetInputEventHandler()->GetDataType(); // can be "ESD" or "AOD"

   // Create and configure the task
{'fraction_non_alphanumeric': 0.1904218928164196, 'fraction_numerical': 0.003040668947168377, 'mean_word_length': 2.436031331592689, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1787305', 'n_tokens_mistral': 597, 'n_tokens_neox': 576, 'n_words': 188}