]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDsimpleMC.cxx
Transition to NewIO
[u/mrichter/AliRoot.git] / TRD / AliTRDsimpleMC.cxx
index 537dbb4463c5a9746965c71939c24a369f30cdb1..8ec90ad6f4de0e3f0d3963798d163043792ab821 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
  
-/*
-$Log$
-Revision 1.5  2003/01/07 09:03:52  alibrary
-New TrackMomentum and Position without LorentzVectors
+/* $Id$ */
 
-Revision 1.4  2002/11/21 22:38:47  alibrary
-Removing AliMC and AliMCProcess
-
-Revision 1.3  2002/10/14 14:57:44  hristov
-Merging the VirtualMC branch to the main development branch (HEAD)
-
-Revision 1.1.8.1  2002/07/24 10:09:31  alibrary
-Updating VirtualMC
-
-Revision 1.2  2002/06/12 09:54:35  cblume
-Update of tracking code provided by Sergei
-
-Revision 1.1  2001/11/06 17:19:41  cblume
-Add detailed geometry and simple simulator
-                                                          
-*/
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
 //  Simple TRD Monte Carlo class                                             //
@@ -46,9 +26,9 @@ Add detailed geometry and simple simulator
 #include <TLorentzVector.h>
  
 #include "AliRun.h"
-
-#include "AliTRDsimpleMC.h"
 #include "AliTRDgeometry.h"
+#include "AliTRDparameter.h"
+#include "AliTRDsimpleMC.h"
 #include "AliTRDv1.h"
 #include "AliTRDparameter.h"
  
@@ -296,16 +276,17 @@ void AliTRDsimpleMC::TrackMomentum(TLorentzVector& momentum) const
 }
 
 //_____________________________________________________________________________
-void AliTRDsimpleMC::TrackMomentum(Double_t &px, Double_t &py, Double_t &pz, Double_t &etot) const
+void AliTRDsimpleMC::TrackMomentum(Double_t &px, Double_t &py,
+                                  Double_t &pz, Double_t &et) const
 {
   //
   // Track Momentum
   //
 
-  px   = fTrackPx;
-  py   = fTrackPy;
-  pz   = fTrackPz;
-  etot = fTrackEtot;
+  px = fTrackPx;
+  py = fTrackPy;
+  pz = fTrackPz;
+  et = fTrackEtot;
 
 }