]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZEROhit.h
DPs retrieved as UInts instead of Ints
[u/mrichter/AliRoot.git] / VZERO / AliVZEROhit.h
index f05664325c2cc76aef304295ade5af1c5aa446ad..27afa8d5b93e99c36e4328c54a23cd20c20f1e3c 100644 (file)
@@ -1,67 +1,69 @@
-#ifndef VZEROHIT_H
-#define VZEROHIT_H
+#ifndef ALIVZEROHIT_H
+#define ALIVZEROHIT_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
 
 ////////////////////////////////////////////////
+//                                            //
 //  Manager and hits classes for set : VZERO  //
+//                                            //
 ////////////////////////////////////////////////
  
-#include "AliDetector.h"
 #include "AliHit.h"
 #include "TObjArray.h"
 #include "TArrayF.h"
-#include "TMath.h"
  
 class AliVZEROhit : public AliHit {
  
 public:
-  AliVZEROhit() {}
+  AliVZEROhit();
   AliVZEROhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
-  virtual ~AliVZEROhit() {}
-  inline Int_t GetVolume() {return fVolume;};
-  inline Int_t GetCopy() {return fCopy;};
-  inline Float_t GetX() {return fX;};
-  inline Float_t GetY() {return fY;};
-  inline Float_t GetZ() {return fZ;};
-  inline Float_t GetXloc() {return fXloc;};
-  inline Float_t GetYloc() {return fYloc;};
-  inline Float_t GetZloc() {return fZloc;};
-  inline Float_t GetEdep() {return fEdep;};
-  inline Float_t GetEtot() {return fEtot;};
-  inline Float_t GetTrackPiD() {return fTrackPiD;};
-  inline Float_t GetParticle() {return fParticle;};
-  inline Float_t GetTof() {return fTof;};
-  inline Float_t IsTrackEntering() {return fIsTrackEntering;};
-  inline Float_t IsTrackExiting() {return fIsTrackExiting;};
-  inline Float_t GetCharge() {return fCharge;};
-  inline Float_t IsCerenkov() {return fIsCerenkov;};
-  inline Float_t GetMultiplicity() {return fMulti;};
-  inline Float_t GetTheta() {return fTheta;};
-  inline Float_t GetPhi() {return fPhi;};
-  inline Float_t GetNGCerenkovs() {return fNGCerenkovs;};
+  virtual ~AliVZEROhit() {};
   
-public:
-  Int_t   fVolume;                // Current volume ID
-  Int_t   fCopy;                  // Copy number
-  Float_t fXloc;                  // x coordinate in STRT coord
-  Float_t fYloc;                  // y coordinate in STRT coord 
-  Float_t fZloc;                  // z coordinate in STRT coord 
-  Float_t fEdep;                  // Energy loss
-  Float_t fEtot;                  // Total energy of particle 
-  Float_t fTrackPiD;              // Root particle ID 
-  Float_t fParticle;              // Geant particle ID 
-  Float_t fTof;                   // Time of flight wrt vertex
-  Float_t fIsTrackEntering;       // Entrance flag
-  Float_t fIsTrackExiting;        // Exit flag
-  Float_t fCharge;                // Charge of particle
-  Float_t fIsCerenkov;            // Particle is a cerenkov photon
-  Float_t fMulti;                 // Multiplicity of entering charged particles
-  Float_t fTheta; 
-  Float_t fPhi;
-  Float_t fNGCerenkovs;
-    
-  ClassDef(AliVZEROhit,1)  //Hits for detector VZERO
+  Int_t   Volume()  const {return fVolume;};
+  Int_t   CopyNumber()    const {return fCopy;};
+  Float_t TrackPiD() const {return fTrackPiD;};
+  Float_t Tof()   const {return fTof;};
+  Float_t Charge() const {return fCharge;};
+  Float_t RingNumber() const {return fRingNumber;};
+  Float_t Pt()    const {return fPt;};
+  Float_t Pmom()  const {return fPmom;};
+  Float_t Px()    const {return fPx;};
+  Float_t Py()    const {return fPy;};
+  Float_t Pz()    const {return fPz;};
+  Float_t Vx()    const {return fVx;};
+  Float_t Vy()    const {return fVy;};
+  Float_t Vz()    const {return fVz;};
+  Float_t Eloss() const {return fEloss;}
+  Float_t Tleng() const {return fTleng;}
+  Int_t   Nphot() const {return fNphot;}
+  Int_t   Cell()  const {return fCell;}
+private:
+  Int_t   fVolume;        // Current volume ID
+  Int_t   fCopy;          // Current copy number
+  Float_t fTrackPiD;      // Track PiD 
+  Float_t fTof;           // Particle time of flight wrt vertex
+  Float_t fCharge;        // Particle charge
+  Float_t fTheta;         // Incident theta angle in degrees 
+  Float_t fPhi;           // Incident phi angle in degrees
+  Float_t fRingNumber;    // RingNumber
+  
+  Float_t fPt;            // Local transverse momentum of the particle
+  Float_t fPmom;          // Local P momentum of the particle
+  Float_t fPx;            // Local Px momentum of the particle
+  Float_t fPy;            // Local Py momentum of the particle
+  Float_t fPz;            // Local Pz momentum of the particle
+  Float_t fVx;            // Vertex x coordinate  
+  Float_t fVy;            // Vertex y coordinate  
+  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