From Ludovic, new file: macro to display and interact with reconstructed V0s.
[u/mrichter/AliRoot.git] / CRT / AliCRThit.h
CommitLineData
fa15ea42 1#ifndef ALICRTHIT_H
2#define ALICRTHIT_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
fb7a1f55 8////////////////////////////////////////////////
9// //
10// Hit class for CRT //
11// Interface //
12// Getters, Setters and member variables //
13// declared here //
14// //
15////////////////////////////////////////////////
16
fb7a1f55 17#include "AliHit.h"
18
387cc25e 19class AliCRThit : public AliHit {
fb7a1f55 20public:
fa15ea42 21 AliCRThit();
fb7a1f55 22 AliCRThit(Int_t shunt, Int_t track, Int_t* vol, Float_t *hits);
387cc25e 23 AliCRThit(const AliCRThit& hit);
24 virtual ~AliCRThit();
25
26 AliCRThit& operator=(const AliCRThit& hit);
27 Bool_t operator==(const AliCRThit& hit);
28 Bool_t operator<(const AliCRThit& 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;
fa15ea42 39
40protected:
387cc25e 41 Float_t fId; //
42 Float_t fPx; //
43 Float_t fPy; //
44 Float_t fPz; //
45 Float_t fEloss; //
46 Float_t fMedium; //
fa15ea42 47
fb7a1f55 48private:
fb7a1f55 49 ClassDef(AliCRThit,1) // Hit for CRT (ACORDE)
fb7a1f55 50};
fb7a1f55 51#endif /* ALICRTHIT_H */