]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONHit.cxx
Update from Alberica. Addition of VZERO equalized signals and ZNC.
[u/mrichter/AliRoot.git] / MUON / AliMUONHit.cxx
index 7778a93b8b7aa6eed160fc5cd33e0b55f2dcbe2a..eede6b4d5b42602b9190958a5f882b2c7959d8f3 100644 (file)
@@ -15,6 +15,7 @@
 
 /* $Id$ */
 
+//-----------------------------------------------------------------------------
 // MUON class for MonteCarlo Hits, inherited from AliHit for the 
 // In addition to the ALiHit data member fX, fY, fZ and fTrack, AliMUONHit contains some info about the particle crossing the chamber:
 // Impulsion: fPtot, fPx, fPy and fPz
@@ -22,7 +23,7 @@
 // Cumulated path along the active volume fTlength for spliting of hits for very inclined tracks 
 // Energy loss of the particle inside the gas active volume.
 // Incident fTheta and fPhi angle with respect of the wire plane of the chamber.
-//
+//-----------------------------------------------------------------------------
 
 #include "AliMUONHit.h"
 #include "AliMpDEManager.h"
 #include <TMath.h>
 #include <TString.h>
 
+using std::endl;
+using std::cout;
+using std::setw;
+using std::setprecision;
 /// \cond CLASSIMP
 ClassImp(AliMUONHit)
 /// \endcond
@@ -89,7 +94,7 @@ AliMUONHit::AliMUONHit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits)
 
 //___________________________________________
 AliMUONHit::AliMUONHit(Int_t shunt, Int_t track, Int_t detElemId, Int_t idpart, 
-                      Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum, 
+                      Float_t x, Float_t y, Float_t z, Float_t tof, Float_t momentum, 
                       Float_t theta, Float_t phi, Float_t length, Float_t destep)
   : AliHit(shunt, track),
     fDetElemId(detElemId),
@@ -110,16 +115,16 @@ AliMUONHit::AliMUONHit(Int_t shunt, Int_t track, Int_t detElemId, Int_t idpart,
     fZref(0)
 {
 /// Constructor
-    fX         = X;
-    fY         = Y;
-    fZ         = Z;
+    fX         = x;
+    fY         = y;
+    fZ         = z;
 }
 
 //-----------------------------------------------------------------------------------------------
 AliMUONHit::AliMUONHit(Int_t shunt, Int_t track, Int_t detElemId, Int_t idpart, 
-                      Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum, 
+                      Float_t x, Float_t y, Float_t z, Float_t tof, Float_t momentum, 
                       Float_t theta, Float_t phi, Float_t length, Float_t destep,
-                      Float_t Xref,Float_t Yref,Float_t Zref)
+                      Float_t xref,Float_t yref,Float_t zref)
   : AliHit(shunt, track),
     fDetElemId(detElemId),
     fParticle(idpart),
@@ -134,15 +139,15 @@ AliMUONHit::AliMUONHit(Int_t shunt, Int_t track, Int_t detElemId, Int_t idpart,
     fPx(momentum * TMath::Sin(theta) * TMath::Cos(phi)),
     fPy(momentum * TMath::Sin(theta) * TMath::Sin(phi)),
     fPz(momentum * TMath::Cos(theta)),
-    fXref(Xref),
-    fYref(Yref),
-    fZref(Zref)
+    fXref(xref),
+    fYref(yref),
+    fZref(zref)
 {
 /// Constructor
 
-    fX         = X;
-    fY         = Y;
-    fZ         = Z;
+    fX         = x;
+    fY         = y;
+    fZ         = z;
 }
 
 //-----------------------------------------------------------------------------------------------