/*
$Log$
+Revision 1.67 2001/06/07 18:24:50 buncic
+Removed compilation warning in AliConfig initialisation.
+
+Revision 1.66 2001/05/22 14:32:40 hristov
+Weird inline removed
+
+Revision 1.65 2001/05/21 17:22:51 buncic
+Fixed problem with missing AliConfig while reading galice.root
+
+Revision 1.64 2001/05/16 14:57:22 alibrary
+New files for folders and Stack
+
Revision 1.62 2001/04/06 11:12:33 morsch
Clear fParticles after each event. (Ivana Hrivnacova)
// Write AliRun info and all detectors parameters
Write(0,TObject::kOverwrite);
-
+
// Clean tree information
fStack->FinishRun();
fMCQA = new AliMCQA(fNdets);
+ AliConfig::Instance();
//
// Save stuff at the beginning of the file to avoid file corruption
Write();
}
//_____________________________________________________________________________
-inline TParticle* AliRun::Particle(Int_t i)
+TParticle* AliRun::Particle(Int_t i)
{
return fStack->Particle(i);
}
{
//
// Main function to be called to reconstruct Alice event
- //
+ //
+ cout << "Found "<< gAlice->TreeE()->GetEntries() << "events" << endl;
for (Int_t nevent=0; nevent<gAlice->TreeE()->GetEntries(); nevent++) {
+ cout << "Processing event "<< nevent << endl;
GetEvent(nevent);
// MakeTree("R");
Digits2Reco(selected);
//
return fStack->TreeK();
}
+
+
+void AliRun::SetGenEventHeader(AliGenEventHeader* header)
+{
+ fHeader->SetGenEventHeader(header);
+}