<commit_before>{
   //creates a TChain to be used by the h1analysis.C class
   //the symbol H1 must point to a directory where the H1 data sets
   //have been installed
   
   TChain chain("h42");
   chain.SetCacheSize(20*1024*1024);<commit_msg>From Gerri: Allow to pass the location of the H1 file via the script argument in addition of the H1 environment variable<commit_after>//Creates a TChain to be used by the h1analysis.C class
//the symbol H1 must point to a directory where the H1 data sets
//have been installed.

TChain chain("h42");

void h1chain(const char *h1dir = 0)
{
   if (h1dir) {
      gSystem->Setenv("H1",h1dir);
   }
   chain.SetCacheSize(20*1024*1024);
{'fraction_non_alphanumeric': 0.09171597633136094, 'fraction_numerical': 0.05621301775147929, 'mean_word_length': 3.668965517241379, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '324304', 'n_tokens_mistral': 235, 'n_tokens_neox': 217, 'n_words': 87}