<commit_before>#include "Riostream.h"
void LoadLibraries();
void AddAnalysisTasks(); 
class AliAnalysisAlien;                                                                                                                    
AliAnalysisAlien* CreateAlienHandler(const char *plugin_mode);

Int_t runNumbers[5] = {121040};

Bool_t doQAsym        = 1;
Bool_t doVZERO        = 0;   // there is a 2nd file
Bool_t doVertex       = 0;
Bool_t doSPD          = 0;   // needs RP   
Bool_t doFMD          = 0;
Bool_t doTPC          = 0;
Bool_t doEventStat    = 1;
Bool_t doSDD          = 0;   // needs RP
Bool_t doSSDdEdx      = 0;
// new 
Bool_t doTRD          = 0;
Bool_t doITS          = 0;
Bool_t doCALO         = 0;
Bool_t doMUONTrig     = 0;
Bool_t doImpParRes    = 0;
Bool_t doMUON         = 0;

Bool_t doMUONEff      = 0;   // NEEDS geometry
Bool_t doV0           = 0;   // NEEDS MCtruth 

TString     train_name         = "QA";      // QA local folder name
TString     train_tag          = "";        // Train special tag appended to 
                                            // visible name. ("sim", "pp", ...)
               // Name in train page (DON'T CHANGE)
TString     visible_name       = Form("QA$2_$3%s", train_tag.Data()); //# FIXED #
TString     job_comment        = "PWG1 QA train"; // Can add observations here
               // Job tag (DON'T CHANGE)
TString     job_tag            = Form("%s: %s", visible_name.Data(), job_comment.Data());;
               // Package versions - Modify as needed
TString     root_version       = "v5-27-05";
TString     aliroot_version    = "v4-20-07-AN";
               // Production directory - change as needed for test mode
TString     grid_datadir       = "/alice/data/2010/LHC10c";
               // Work directory in GRID (DON'T CHANGE)
TString     grid_workdir       = "/alice/cern.ch/user/a/alidaq/QA/QA$2";
               // Job splitting
Int_t       grid_split         = 20;       // Splitting
               // Debug level
Int_t       debug_level        = 0;        // Debugging
               // Data pattern - change as needed for test mode
TString     data_pattern       = "*ESDs/pass2/*ESDs.root";
               // Output directory (DON'T CHANGE)
TString     alien_outdir       = "$1/QA$2";
               // Input collection (production mode)
TString     data_collection    = "$1/qa1.xml";
TString     mergeExcludes      = ""; // Files to be excluded for merging
TString     terminateFiles     = ""; // Files produced during Terminate

Bool_t useProductionMode       = kTRUE;<commit_msg>New version of the QA train macro.<commit_after>#include "Riostream.h"
void LoadLibraries();
void AddAnalysisTasks(); 
class AliAnalysisAlien;                                                                                                                    
AliAnalysisAlien* CreateAlienHandler(const char *plugin_mode);

Int_t runNumbers[5] = {121040};

Bool_t doQAsym        = 1;
Bool_t doVZERO        = 0;   // there is a 2nd file
Bool_t doVertex       = 0;
Bool_t doSPD          = 0;   // needs RP   
Bool_t doFMD          = 0;
Bool_t doTPC          = 0;
Bool_t doEventStat    = 1;
Bool_t doSDD          = 0;   // needs RP
Bool_t doSSDdEdx      = 0;
// new 
Bool_t doTRD          = 0;
Bool_t doITS          = 0;
Bool_t doCALO         = 0;
Bool_t doMUONTrig     = 0;
Bool_t doImpParRes    = 0;
Bool_t doMUON         = 0;

Bool_t doMUONEff      = 0;   // NEEDS geometry
Bool_t doV0           = 0;   // NEEDS MCtruth 

TString     train_name         = "QA";      // QA local folder name
TString     train_tag          = "";        // Train special tag appended to 
                                            // visible name. ("sim", "pp", ...)
               // Name in train page (DON'T CHANGE)
TString     visible_name       = Form("QA$2_$3%s", train_tag.Data()); //# FIXED #
TString     job_comment        = "PWG1 QA train"; // Can add observations here
               // Job tag (DON'T CHANGE)
TString     job_tag            = Form("%s: %s", visible_name.Data(), job_comment.Data());
               // Package versions - Modify as needed
TString     root_version       = "v5-27-05";
TString     aliroot_version    = "v4-20-07-AN";
               // Production directory - change as needed for test mode
TString     grid_datadir       = "/alice/data/2010/LHC10c";
               // Work directory in GRID (DON'T CHANGE)
TString     grid_workdir       = "/alice/cern.ch/user/a/alidaq/QA/QA$2";
               // Job splitting
Int_t       grid_split         = 20;       // Splitting
               // Debug level
Int_t       debug_level        = 0;        // Debugging
               // Data pattern - change as needed for test mode
TString     data_pattern       = "*ESDs/pass2/*ESDs.root";
               // Output directory (DON'T CHANGE)
TString     alien_outdir       = "$1/QA$2";
               // Input collection (production mode)
TString     data_collection    = "$1/qa1.xml";
TString     mergeExcludes      = ""; // Files to be excluded for merging
TString     terminateFiles     = ""; // Files produced during Terminate

Bool_t useProductionMode       = kTRUE;
{'fraction_non_alphanumeric': 0.0990253411306043, 'fraction_numerical': 0.021052631578947368, 'mean_word_length': 1.5151960784313725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6791262', 'n_tokens_mistral': 1663, 'n_tokens_neox': 1533, 'n_words': 431}