]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Number of photons added
authorcheynis <cheynis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jan 2004 14:26:29 +0000 (14:26 +0000)
committercheynis <cheynis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jan 2004 14:26:29 +0000 (14:26 +0000)
VZERO/AliVZEROhit.cxx
VZERO/AliVZEROhit.h

index 2dd307158f24b7bdc2b2f01244de8f8b4b2a5363..7f8fb794481ad8d9dd82057b48657ba73bf408ba 100644 (file)
@@ -34,29 +34,31 @@ AliVZEROhit::AliVZEROhit(Int_t shunt, Int_t track, Int_t* vol, Float_t* hits):
   // Adds a VZERO hit
   //
   
   // 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
+  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
   
 }
   
 }
index d1efcbd48d5022d794b96ccaa9702e61d3ab783e..2680b365fde2e465c63badbcf4cfd055b09745f5 100644 (file)
@@ -38,6 +38,8 @@ public:
   Float_t Vz()    const {return fVz;};
   Float_t Eloss() const {return fEloss;}
   Float_t Tleng() const {return fTleng;}
   Float_t Vz()    const {return fVz;};
   Float_t Eloss() const {return fEloss;}
   Float_t Tleng() const {return fTleng;}
+  Float_t Nphot() const {return fNphot;}
+  Float_t Cell()  const {return fCell;}
  
 private:
   Int_t   fVolume;        // Current volume ID
  
 private:
   Int_t   fVolume;        // Current volume ID
@@ -59,8 +61,9 @@ private:
   Float_t fVz;            // Vertex z coordinate    
   Float_t fEloss;         // Energy loss  in VZERO detector
   Float_t fTleng;         // Track length in VZERO detector
   Float_t fVz;            // Vertex z coordinate    
   Float_t fEloss;         // Energy loss  in VZERO detector
   Float_t fTleng;         // Track length in VZERO detector
-  
-    
+  Int_t   fNphot;         // Number of photons created by current hit 
+  Int_t   fCell;          // Scintillator cell number from 0 to 71 
+
   ClassDef(AliVZEROhit,2) //  Hits for detector VZERO
 };
 #endif
   ClassDef(AliVZEROhit,2) //  Hits for detector VZERO
 };
 #endif