fMCApp(0),
fNdets(0),
fConfigFunction(""),
- fRandom(0),
fBaseFileName(""),
fRunLoader(0x0)
{
fMCApp(new AliMC(GetName(),GetTitle())),
fNdets(0),
fConfigFunction("Config();"),
- fRandom(new TRandom3()),
fBaseFileName(""),
fRunLoader(0x0)
{
gAlice = this;
// Set random number generator
- gRandom = fRandom;
+ gRandom = new TRandom3();
if (gSystem->Getenv("CONFIG_SEED")) {
gRandom->SetSeed(static_cast<UInt_t>(atoi(gSystem->Getenv("CONFIG_SEED"))));
if (!gAlice) gAlice = this;
AliRun::Class()->ReadBuffer(R__b, this);
gROOT->GetListOfBrowsables()->Add(this,"Run");
-
- gRandom = fRandom;
+ gRandom = new TRandom3();
} else {
AliRun::Class()->WriteBuffer(R__b, this);
}
AliMC *fMCApp; // Pointer to virtual MC Application
Int_t fNdets; // Number of detectors
TString fConfigFunction; // Configuration file to be executed
- TRandom *fRandom; // Pointer to the random number generator
TString fBaseFileName; // Name of the base root file
AliRunLoader *fRunLoader; //! run getter - written as a separate object
private:
AliRun(const AliRun&); // Not implemented
AliRun& operator = (const AliRun&); // Not implemented
- ClassDef(AliRun,14) //Supervisor class for all Alice detectors
+ ClassDef(AliRun,15) //Supervisor class for all Alice detectors
};
R__EXTERN AliRun *gAlice;