]>
Commit | Line | Data |
---|---|---|
2a33668d | 1 | #ifndef ALIGEOMETRY_H |
2 | #define ALIGEOMETRY_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 | // AliGeometry Base Class pABC // | |
10 | // // | |
11 | // Author Yves Schutz SUBATECH // | |
12 | // // | |
13 | // // | |
14 | //////////////////////////////////////////////// | |
15 | ||
16 | // --- ROOT system --- | |
116cbefd | 17 | |
116cbefd | 18 | class TParticle; |
19 | class TVector3; | |
e8d02863 | 20 | #include <TNamed.h> |
21 | #include <TMatrixFfwd.h> | |
22 | ||
23 | class AliRecPoint; | |
2a33668d | 24 | |
25 | class AliGeometry : public TNamed { | |
26 | ||
27 | public: | |
28 | ||
29 | AliGeometry() ; // ctor | |
30 | virtual ~AliGeometry() ; // dtor | |
31 | ||
e8d02863 | 32 | virtual void GetGlobal(const AliRecPoint * p, TVector3 & pos, TMatrixF & mat) const = 0; |
94de3818 | 33 | virtual void GetGlobal(const AliRecPoint * p, TVector3 & pos) const = 0; |
d4b59317 | 34 | virtual Bool_t Impact(const TParticle * particle) const = 0; |
2a33668d | 35 | |
36 | protected: | |
37 | ||
38 | AliGeometry(const Text_t* name, const Text_t* title) : TNamed (name,title) {} | |
39 | ||
94de3818 | 40 | ClassDef(AliGeometry,1) // Base class for detector geometry |
2a33668d | 41 | |
42 | }; | |
43 | ||
44 | #endif // ALIGEOMETRY_H | |
d4b59317 | 45 | |
46 | ||
47 |