Adding macros for ACORDE: sim&rec, read raw-data,esd & hits (*.C macros and AliAnalys...
[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);
b86e74f5 23 virtual ~AliACORDEhit();
24
19f796ed 25 Int_t GetModule() const {return fModule;}
26 Int_t GetPlastic() const {return fPlastic;}
b86e74f5 27
19f796ed 28 Float_t TrackId() const {return fTrackId;}
29 Float_t GetTime() const {return fTime;}
b86e74f5 30 Float_t Px() const {return fPx;}
31 Float_t Py() const {return fPy;}
32 Float_t Pz() const {return fPz;}
19f796ed 33 Float_t Energy() const {return fEnergy;}
b86e74f5 34 Float_t Eloss() const {return fEloss;}
b86e74f5 35 Float_t PolarAngle() const;
36 Float_t AzimuthAngle() const;
19f796ed 37 Float_t TrkLength() const {return fTrkLength;}
38
b86e74f5 39
40protected:
19f796ed 41 Int_t fModule;
42 Int_t fPlastic;
43 Float_t fTrackId;
44 Float_t fTime;
45 Float_t fPx;
46 Float_t fPy;
47 Float_t fPz;
48 Float_t fEloss;
49 Float_t fEnergy;
50 Float_t fTrkLength;
b86e74f5 51
52private:
53 ClassDef(AliACORDEhit,1) // Hit for ACORDE (ACORDE)
54};
2814d35e 55
56typedef AliACORDEhit AliCRThit; // for backward compatibility
57
b86e74f5 58#endif /* ALIACORDEHIT_H */