<commit_before>#ifndef ALIRNDM_H
#define ALIRNDM_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */

///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//   Random Number Interface                                                 //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////

#include <TRandom.h>

static TRandom *sRandom;

class AliRndm 
{
public:
  AliRndm() {SetRandom();}
  virtual ~AliRndm() {fRandom=sRandom=0;}
  
  // Random number generator bit
  virtual void SetRandom(TRandom *ran=0)
  {if(ran) fRandom=ran;<commit_msg>Set sRandom in all cases<commit_after>#ifndef ALIRNDM_H
#define ALIRNDM_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */

///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//   Random Number Interface                                                 //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////

#include <TRandom.h>

static TRandom *sRandom;

class AliRndm 
{
public:
  AliRndm() {SetRandom();}
  virtual ~AliRndm() {fRandom=sRandom=0;}
  
  // Random number generator bit
  virtual void SetRandom(TRandom *ran=0)
  {if(ran) fRandom=sRandom=ran;
{'fraction_non_alphanumeric': 0.2580828133862734, 'fraction_numerical': 0.011344299489506523, 'mean_word_length': 0.7945066124109867, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2589005', 'n_tokens_mistral': 391, 'n_tokens_neox': 371, 'n_words': 97}