This commit was generated by cvs2svn to compensate for changes in r3312,
[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
6
7////////////////////////////////////////////////
8// Manager and hits classes for set : VZERO //
9////////////////////////////////////////////////
10
11#include "AliDetector.h"
12#include "AliHit.h"
13#include "TObjArray.h"
14#include "TArrayF.h"
15#include "TMath.h"
16
17class AliVZEROhit : public AliHit {
18
19public:
20 AliVZEROhit() {}
21 AliVZEROhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
22 virtual ~AliVZEROhit() {}
23 inline Int_t GetVolume() {return fVolume;};
24 inline Int_t GetCopy() {return fCopy;};
25 inline Float_t GetX() {return fX;};
26 inline Float_t GetY() {return fY;};
27 inline Float_t GetZ() {return fZ;};
28 inline Float_t GetXloc() {return fXloc;};
29 inline Float_t GetYloc() {return fYloc;};
30 inline Float_t GetZloc() {return fZloc;};
31 inline Float_t GetEdep() {return fEdep;};
32 inline Float_t GetEtot() {return fEtot;};
33 inline Float_t GetTrackPiD() {return fTrackPiD;};
34 inline Float_t GetParticle() {return fParticle;};
35 inline Float_t GetTof() {return fTof;};
36 inline Float_t IsTrackEntering() {return fIsTrackEntering;};
37 inline Float_t IsTrackExiting() {return fIsTrackExiting;};
38 inline Float_t GetCharge() {return fCharge;};
39 inline Float_t IsCerenkov() {return fIsCerenkov;};
40 inline Float_t GetMultiplicity() {return fMulti;};
41 inline Float_t GetTheta() {return fTheta;};
42 inline Float_t GetPhi() {return fPhi;};
43 inline Float_t GetNGCerenkovs() {return fNGCerenkovs;};
44
45public:
46 Int_t fVolume; // Current volume ID
47 Int_t fCopy; // Copy number
48 Float_t fXloc; // x coordinate in STRT coord
49 Float_t fYloc; // y coordinate in STRT coord
50 Float_t fZloc; // z coordinate in STRT coord
51 Float_t fEdep; // Energy loss
52 Float_t fEtot; // Total energy of particle
53 Float_t fTrackPiD; // Root particle ID
54 Float_t fParticle; // Geant particle ID
55 Float_t fTof; // Time of flight wrt vertex
56 Float_t fIsTrackEntering; // Entrance flag
57 Float_t fIsTrackExiting; // Exit flag
58 Float_t fCharge; // Charge of particle
59 Float_t fIsCerenkov; // Particle is a cerenkov photon
60 Float_t fMulti; // Multiplicity of entering charged particles
61 Float_t fTheta;
62 Float_t fPhi;
63 Float_t fNGCerenkovs;
64
65 ClassDef(AliVZEROhit,1) //Hits for detector VZERO
66};
67#endif