fUseDivided = kFALSE;
fUseAssembly = kFALSE;
fUseGeo = kTRUE;
-
+
// Initialise Hit array
HitsArray();
gAlice->GetMCApp()->AddHitList(fHits);
//
}
+//____________________________________________________________________
+void
+AliFMD::FinishEvent()
+{
+ if (fSimulator) fSimulator->EndEvent();
+}
+
+
//====================================================================
//
// Graphics and event display
}
//____________________________________________________________________
-void
+AliFMDHit*
AliFMD::AddHitByFields(Int_t track,
UShort_t detector,
Char_t ring,
detector, ring, sector, strip, track, edep, hit->Edep(),
hit->Edep() + edep);
hit->SetEdep(hit->Edep() + edep);
- return;
+ return hit;
}
}
// If hit wasn't already registered, do so know.
hit = new (a[fNhits]) AliFMDHit(fIshunt, track, detector, ring, sector,
strip, x, y, z, px, py, pz, edep, pdg, t);
fNhits++;
+ return hit;
}
//____________________________________________________________________