message: EMCal Embed: Fix random file selection
  Switch to TRandom3. Was previously using a bad number generator (TRandom)!
diff: #include <TKey.h>
  #include <TProfile.h>
  #include <TH1F.h>
  +#include <TRandom3.h>
  #include <AliLog.h>
  #include <AliAnalysisManager.h>
  @@ -382,8 +383,9 @@ void AliAnalysisTaskEmcalEmbeddingHelper::DetermineFirstFileToEmbed()
  // This determines which file is added first to the TChain, thus determining the order of processing
  // Random file access. Only do this if the user has no set the filename index and request random file access
  if (fFilenameIndex == -1 && fRandomFileAccess) {
  - // - 1 ensures that we it doesn't overflow
  - fFilenameIndex = TMath::Nint(gRandom->Rndm()*fFilenames.size()) - 1;
  + // Floor ensures that we it doesn't overflow
  + TRandom3 rand(0);
  + fFilenameIndex = TMath::FloorNint(rand.Rndm()*fFilenames.size());
  // +1 to account for the fact that the filenames vector is 0 indexed.
  AliInfo(TString::Format("Starting with random file number %i!", fFilenameIndex+1));
  }
  @@ -984,7 +986,8 @@ void AliAnalysisTaskEmcalEmbeddingHelper::InitTree()
  // Jump ahead at random if desired
  // Determines the offset into the tree
  if (fRandomEventNumberAccess) {
  - fOffset = TMath::Nint(gRandom->Rndm()*(fUpperEntry-fLowerEntry))-1;
  + TRandom3 rand(0);
  + fOffset = TMath::Nint(rand.Rndm()*(fUpperEntry-fLowerEntry))-1;
  }
  else {
  fOffset = 0;
  