]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ACORDE/AliACORDEhit.h
This commit was generated by cvs2svn to compensate for changes in r15989,
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEhit.h
CommitLineData
b86e74f5 1#ifndef ALIACORDEHIT_H
2#define ALIACORDEHIT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////
9// //
10// Hit class for ACORDE //
11// Interface //
12// Getters, Setters and member variables //
13// declared here //
14// //
15////////////////////////////////////////////////
16
17#include "AliHit.h"
18
19class AliACORDEhit : public AliHit {
20public:
21 AliACORDEhit();
22 AliACORDEhit(Int_t shunt, Int_t track, Int_t* vol, Float_t *hits);
23 AliACORDEhit(const AliACORDEhit& hit);
24 virtual ~AliACORDEhit();
25
26 AliACORDEhit& operator=(const AliACORDEhit& hit);
27 Bool_t operator==(const AliACORDEhit& hit);
28 Bool_t operator<(const AliACORDEhit& hit);
29
30 Float_t ParticleId() const {return fId;}
31 Float_t Px() const {return fPx;}
32 Float_t Py() const {return fPy;}
33 Float_t Pz() const {return fPz;}
34 Float_t Eloss() const {return fEloss;}
35 Float_t Medium() const {return fMedium;}
36 Float_t Energy() const;
37 Float_t PolarAngle() const;
38 Float_t AzimuthAngle() const;
39
40protected:
41 Float_t fId; //
42 Float_t fPx; //
43 Float_t fPy; //
44 Float_t fPz; //
45 Float_t fEloss; //
46 Float_t fMedium; //
47
48private:
49 ClassDef(AliACORDEhit,1) // Hit for ACORDE (ACORDE)
50};
51#endif /* ALIACORDEHIT_H */