/*
$Log$
+Revision 1.5 2000/07/12 08:56:25 fca
+Coding convention correction and warning removal
+
+Revision 1.4 2000/07/11 18:24:59 fca
+Coding convention corrections + few minor bug fixes
+
+Revision 1.3 1999/09/29 09:24:29 fca
+Introduction of the Copyright and cvs Log
+
*/
#include "AliHit.h"
AliHit::AliHit()
{
- fTrack=0;
+ //
+ // Default constructor
+ //
+ fTrack=0;
}
AliHit::AliHit(Int_t shunt, Int_t track)
{
- TClonesArray &particles = *(gAlice->Particles());
+ //
+ // Standard constructor
+ //
if(shunt) {
int primary = gAlice->GetPrimary(track);
- ((TParticle *)particles[primary])->SetBit(Keep_Bit);
+ gAlice->Particle(primary)->SetBit(kKeepBit);
fTrack=primary;
} else {
fTrack=track;