]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Warnings removed
authorcheynis <cheynis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Jan 2004 09:34:07 +0000 (09:34 +0000)
committercheynis <cheynis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Jan 2004 09:34:07 +0000 (09:34 +0000)
VZERO/AliVZEROhit.cxx
VZERO/AliVZEROv3.cxx

index 7f8fb794481ad8d9dd82057b48657ba73bf408ba..5900ccf374c03b647ab50af8318d7f43fced9994 100644 (file)
@@ -34,31 +34,31 @@ AliVZEROhit::AliVZEROhit(Int_t shunt, Int_t track, Int_t* vol, Float_t* hits):
   // Adds a VZERO hit
   //
   
-  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 
+  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
+  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
+  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         = hits[19];   // Number of photons created by current hit 
-  fCell          = hits[20];   // Scintillator cell number from 0 to 71
+  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
   
 }
index f86cabe46da0e912973c6f43a57cf3a2db4c0b31..6855c5a44bc67c9b4bb70c5ebcb9682e070e0365 100755 (executable)
@@ -59,7 +59,6 @@
 #include "AliVZEROdigit.h"
 #include "AliVZEROhit.h"
 #include "AliVZEROv3.h"
-#include "AliVZEROConst.h" 
  
 ClassImp(AliVZEROv3)
 
@@ -828,7 +827,6 @@ void AliVZEROv3::StepManager()
      static    Int_t   vol[4];
      static    Float_t hits[21];
      static    Float_t eloss, tlength;
-     static    Int_t   tracks[2];
      static    Int_t   nPhotonsInStep;
      static    Int_t   nPhotons; 
      static    Int_t   numStep;