]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZEROhit.cxx
More coding convention violations removed
[u/mrichter/AliRoot.git] / VZERO / AliVZEROhit.cxx
index f5f264b12a267ac95e029763121ac96ea66e75bb..2dd307158f24b7bdc2b2f01244de8f8b4b2a5363 100644 (file)
 
 /* $Id$ */
 
+//_________________________________________________________________________
+//
+//      Hit class for VZERO detector   
+//  
+//_________________________________________________________________________
+
 
 #include "AliVZEROhit.h"
 
@@ -25,32 +31,32 @@ AliVZEROhit::AliVZEROhit(Int_t shunt, Int_t track, Int_t* vol, Float_t* hits):
   AliHit(shunt, track)
 {
   //
-  // Add a VZERO hit
+  // Adds a VZERO hit
   //
   
-  fVolume          = vol[0];
-  fCopy            = vol[1];
-  fX              = hits[0];
-  fY               = hits[1];
-  fZ               = hits[2];
-  fTrackPiD        = hits[3];
-  fTof             = hits[4];
-  fCharge          = hits[5];
-  fTheta           = hits[6];
-  fPhi             = hits[7];
-  fRingNumber      = hits[8];
+  fVolume          = vol[0];     // Volume ID
+  fCopy            = vol[1];     // Copy number
+  fX              = hits[0];    // X position of hit
+  fY               = hits[1];    // Y position of hit
+  fZ               = hits[2];    // Z position of hit
+  fTrackPiD        = hits[3];    // Track PiD
+  fTof             = hits[4];    // Particle time of flight
+  fCharge          = hits[5];    // Particle charge
+  fTheta           = hits[6];    // Incident theta angle in degrees 
+  fPhi             = hits[7];    // Incident phi angle in degrees
+  fRingNumber      = hits[8];    // Ring number 
   
-  fPt              = hits[9];
-  fPmom            = hits[10];
-  fPx              = hits[11];
-  fPy              = hits[12];
-  fPz              = hits[13];
+  fPt              = hits[9];    // Local transverse momentum of the particle
+  fPmom            = hits[10];   // Local P momentum of the particle
+  fPx              = hits[11];   // Local Px momentum of the particle
+  fPy              = hits[12];   // Local Py momentum of the particle
+  fPz              = hits[13];   // Local Pz momentum of the particle
   
-  fVx              = hits[14];
-  fVy              = hits[15];
-  fVz              = hits[16];
+  fVx              = hits[14];   // Vertex x coordinate
+  fVy              = hits[15];   // Vertex y coordinate
+  fVz              = hits[16];   // Vertex z coordinate
   
-  fEloss           = hits[17];
-  fTleng           = hits[18];
+  fEloss           = hits[17];   // Energy deposited inside volume
+  fTleng           = hits[18];   // Track length inside volume
   
 }