}
//_______________________________________________________________________
-void AliMC::GeneratePrimaries()
+void AliMC::GeneratePrimaries()
{
//
// Generate primary particles and fill them in the stack.
fGenerator->FinishRun();
//Output energy summary tables
- if (GetDebug()) Info("FinishRun"," EnergySummary()");
- EnergySummary();
+ if (GetDebug()) {
+ Info("FinishRun"," EnergySummary()");
+ EnergySummary();
+ }
}
//=================Create Materials and geometry
gMC->Init();
- gMC->DefineParticles(); //Create standard MC particles
-
//Read the cuts for all materials
ReadTransPar();
//Build the special IMEDIA table
//_______________________________________________________________________
void AliMC::PushTrack(Int_t done, Int_t parent, Int_t pdg, Float_t *pmom,
Float_t *vpos, Float_t *polar, Float_t tof,
- TMCProcess mech, Int_t &ntr, Float_t weight, Int_t is)
+ TMCProcess mech, Int_t &ntr, Float_t weight, Int_t is) const
{
// Delegate to stack
//
Double_t px, Double_t py, Double_t pz, Double_t e,
Double_t vx, Double_t vy, Double_t vz, Double_t tof,
Double_t polx, Double_t poly, Double_t polz,
- TMCProcess mech, Int_t &ntr, Float_t weight, Int_t is)
+ TMCProcess mech, Int_t &ntr, Float_t weight, Int_t is) const
{
// Delegate to stack
//
}
//_______________________________________________________________________
-void AliMC::SetHighWaterMark(Int_t nt)
+void AliMC::SetHighWaterMark(Int_t nt) const
{
//
// Set high water mark for last track in event
}
//_______________________________________________________________________
-void AliMC::KeepTrack(Int_t track)
+void AliMC::KeepTrack(Int_t track) const
{
//
// Delegate to stack
}
//_______________________________________________________________________
-void AliMC::FlagTrack(Int_t track)
+void AliMC::FlagTrack(Int_t track) const
{
// Delegate to stack
//
}
//_______________________________________________________________________
-void AliMC::SetCurrentTrack(Int_t track)
+void AliMC::SetCurrentTrack(Int_t track) const
{
//
// Set current track number