<commit_before>// TODO LIST
// TODO: Set fName as last par per Train set-up indications
// TODO: Set Trigger Mask to be set from the AddAnalysisTask argument list


AliAnalysisTask_Phi_MC* AddAnalysisTask_Phi_MC( TString fName = "PhiCount_STD", Long_t kParticlePDG = 333 )
{
    // Analysis Manager
    AliAnalysisManager         *fAliAnlManager      =   AliAnalysisManager::GetAnalysisManager();
    
    // Filename
    TString fileName                                =   AliAnalysisManager::GetCommonFileName();
    
    // Task initialisation
    AliAnalysisTask_Phi_MC    *fAliAnlTask          =   new AliAnalysisTask_Phi_MC(fName.Data());
    
    // Checks
    if (!fAliAnlManager)                            return 0x0;
    if (!fAliAnlManager->GetInputEventHandler())    return 0x0;
    if (!fAliAnlTask)                               return 0x0;

    //  Task settings
    SetParticlePDG          ( kParticlePDG );
    SetSPCompute            ( kFALSE );   // Not implemented
    SetSPWighted            ( kFALSE );   // Not implemented
    SetRTCompute            ( kFALSE );   // Not implemented
    <commit_msg>Bug fix<commit_after>// TODO LIST
// TODO: Set fName as last par per Train set-up indications
// TODO: Set Trigger Mask to be set from the AddAnalysisTask argument list


AliAnalysisTask_Phi_MC* AddAnalysisTask_Phi_MC( TString fName = "PhiCount_STD", Long_t kParticlePDG = 333 )
{
    // Analysis Manager
    AliAnalysisManager         *fAliAnlManager      =   AliAnalysisManager::GetAnalysisManager();
    
    // Filename
    TString fileName                                =   AliAnalysisManager::GetCommonFileName();
    
    // Task initialisation
    AliAnalysisTask_Phi_MC    *fAliAnlTask          =   new AliAnalysisTask_Phi_MC(fName.Data());
    
    // Checks
    if (!fAliAnlManager)                            return 0x0;
    if (!fAliAnlManager->GetInputEventHandler())    return 0x0;
    if (!fAliAnlTask)                               return 0x0;

    //  Task settings
    fAliAnlTask ->  SetParticlePDG          ( kParticlePDG );
    fAliAnlTask ->  SetSPCompute            ( kFALSE );   // Not implemented
    fAliAnlTask ->  SetSPWighted            ( kFALSE );   // Not implemented
    fAliAnlTask ->  SetRTCompute            ( kFALSE );   // Not implemented
    
{'fraction_non_alphanumeric': 0.07805724197745013, 'fraction_numerical': 0.007805724197745013, 'mean_word_length': 1.9652956298200515, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4324567', 'n_tokens_mistral': 671, 'n_tokens_neox': 655, 'n_words': 159}