]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITShit.cxx
Major upgrade of AliRoot code
[u/mrichter/AliRoot.git] / ITS / AliITShit.cxx
index fb12b9781c8842c057b622edbaab254d2a371400..b3bb4e8f4a1767aa0af97c06811647eec4545be1 100644 (file)
 
 /*
 $Log$
+Revision 1.9  2000/10/02 16:32:51  barbera
+Automatic streamer used and forward declarations added
+
+Revision 1.3.4.7  2000/10/02 15:54:49  barbera
+Automatic streamer used and forward declarations added
+
+Revision 1.8  2000/09/22 12:35:21  nilsen
+Traps placed incase it is used without a properly initilized AliITSgeom class.
+
 Revision 1.7  2000/07/10 16:07:18  fca
 Release version of ITS code
 
@@ -453,9 +462,9 @@ TParticle * AliITShit::GetParticle(){
 // this hit. From the TParticle all kinds of information about this 
 // particle can be found. See the TParticle class.
 ////////////////////////////////////////////////////////////////////////
-    TClonesArray *parts = gAlice->Particles();
-    return ((TParticle*)parts->UncheckedAt(this->GetTrack()));
+    return gAlice->Particle(GetTrack());
 }
+/*
 //___________________________________________________________________________
 void AliITShit::Streamer(TBuffer &R__b){
 ////////////////////////////////////////////////////////////////////////
@@ -491,3 +500,4 @@ void AliITShit::Streamer(TBuffer &R__b){
       R__b << fTof;
    } // end if R__b.IsReading()
 }
+*/