Using TMath instead of math.h
[u/mrichter/AliRoot.git] / VZERO / AliVZEROhit.h
CommitLineData
47890cd3 1#ifndef VZEROHIT_H
2#define VZEROHIT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
88cb7938 6/* $Id$ */
47890cd3 7
8////////////////////////////////////////////////
9// Manager and hits classes for set : VZERO //
10////////////////////////////////////////////////
11
12#include "AliDetector.h"
13#include "AliHit.h"
14#include "TObjArray.h"
15#include "TArrayF.h"
47890cd3 16
17class AliVZEROhit : public AliHit {
18
19public:
20 AliVZEROhit() {}
21 AliVZEROhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
c288a388 22 virtual ~AliVZEROhit() {};
61874e87 23
c288a388 24 Int_t Volume() {return fVolume;};
25 Int_t Copy() {return fCopy;};
26 Float_t TrackPiD() {return fTrackPiD;};
27 Float_t Tof() {return fTof;};
28 Float_t Charge() {return fCharge;};
29 Float_t RingNumber() {return fRingNumber;};
30 Float_t Pt() {return fPt;};
31 Float_t Pmom() {return fPmom;};
32 Float_t Px() {return fPx;};
33 Float_t Py() {return fPy;};
34 Float_t Pz() {return fPz;};
35 Float_t Vx() {return fVx;};
36 Float_t Vy() {return fVy;};
37 Float_t Vz() {return fVz;};
38 Float_t Eloss() {return fEloss;}
39 Float_t Tleng() {return fTleng;}
40
61874e87 41private:
47890cd3 42 Int_t fVolume; // Current volume ID
43 Int_t fCopy; // Copy number
47890cd3 44 Float_t fTrackPiD; // Root particle ID
47890cd3 45 Float_t fTof; // Time of flight wrt vertex
47890cd3 46 Float_t fCharge; // Charge of particle
47890cd3 47 Float_t fTheta;
48 Float_t fPhi;
61874e87 49 Float_t fRingNumber;
50
51 Float_t fPt;
52 Float_t fPmom;
53 Float_t fPx;
54 Float_t fPy;
55 Float_t fPz;
c288a388 56 Float_t fVx;
57 Float_t fVy;
58 Float_t fVz;
61874e87 59 Float_t fEloss; // energy loss in VZERO detector
60 Float_t fTleng; // track length in VZERO detector
61
47890cd3 62
14f9f6b4 63 ClassDef(AliVZEROhit,2) //Hits for detector VZERO
47890cd3 64};
65#endif