if(fTreeE)curfil=fTreeE->GetCurrentFile();
delete fImedia;
delete fField;
- delete fMC;
+ // delete fMC;
+ delete gMC; gMC=0;
delete fGeometry;
delete fDisplay;
delete fGenerator;
//_______________________________________________________________________
void AliRun::Copy(AliRun &) const
{
+ //
+ // Copy method ... not implemented
+ //
Fatal("Copy","Not implemented!\n");
}
void AliRun::Announce() const
{
//
+ // Announce the current version of AliRoot
+ //
+ printf("%70s",
+ "****************************************************************\n");
+ printf("%6s","*");printf("%64s","*\n");
+
+ printf("%6s","*");
+ printf(" You are running AliRoot version v3-09-07\n");
+
+ printf("%6s","*");
+ printf(" The cvs tag for the current program is $Name$\n");
+
+ printf("%6s","*");printf("%64s","*\n");
+ printf("%70s",
+ "****************************************************************\n");
}
//_______________________________________________________________________
//_______________________________________________________________________
void AliRun::SetTransPar(const char *filename)
{
+ //
+ // Sets the file name for transport parameters
+ //
fTransParName = filename;
}
}
//_______________________________________________________________________
-TParticle* AliRun::Particle(Int_t i)
+TParticle* AliRun::Particle(Int_t i) const
{
- return fStack->Particle(i);
+ //
+ // Returns particle i on the simulation stack
+ //
+ return fStack->Particle(i);
}
//_______________________________________________________________________
// Initialize the Alice setup
//
+ Announce();
+
if(fInitDone) {
Warning("Init","Cannot initialise AliRun twice!\n");
return;
}
//_______________________________________________________________________
-TObjArray* AliRun::Particles() {
+TObjArray* AliRun::Particles() const {
//
// Returns pointer to Particles array
//
}
//_______________________________________________________________________
-TTree* AliRun::TreeK() {
+TTree* AliRun::TreeK() const {
//
// Returns pointer to the TreeK array
//