* provided "as is" without express or implied warranty. *
**************************************************************************/
+/* $Id$ */
+
+//_________________________________________________________________________
+//
+// Hit class for VZERO detector
+//
+//_________________________________________________________________________
+
#include "AliVZEROhit.h"
AliHit(shunt, track)
{
//
- // Add a VZERO hit
+ // Adds a VZERO hit
//
- fVolume = vol[2];
- fCopy = vol[3];
- fX = hits[0];
- fY = hits[1];
- fZ = hits[2];
- fXloc = hits[3];
- fYloc = hits[4];
- fZloc = hits[5];
- fEdep = hits[6];
- fEtot = hits[7];
- fTrackPiD = hits[8];
- fParticle = hits[9];
- fTof = hits[10];
- fIsTrackEntering = hits[11];
- fIsTrackExiting = hits[12];
- fCharge = hits[13];
- fIsCerenkov = hits[14];
- fMulti = hits[15];
- fTheta = hits[16];
- fPhi = hits[17];
- fNGCerenkovs = hits[18];
+ 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]; // 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]; // Vertex x coordinate
+ fVy = hits[15]; // Vertex y coordinate
+ fVz = hits[16]; // Vertex z coordinate
+
+ fEloss = hits[17]; // Energy deposited inside volume
+ fTleng = hits[18]; // Track length inside volume
+ fNphot = (Int_t) hits[19]; // Number of photons created by current hit
+ fCell = (Int_t) hits[20]; // Scintillator cell number from 0 to 71
+
}