]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliGeometry.h
Impact methode purely virtual.
[u/mrichter/AliRoot.git] / STEER / AliGeometry.h
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 ---
17 #include "TParticle.h"
18 #include "TNamed.h"
19 class TVector3;
20 class TMatrix;
21 class AliRecPoint;
22
23 class AliGeometry : public TNamed {
24
25 public:
26
27   AliGeometry() ;          // ctor            
28   virtual ~AliGeometry() ; // dtor
29  
30   virtual void GetGlobal(const AliRecPoint * p, TVector3 & pos, TMatrix & mat) const = 0; 
31   virtual void GetGlobal(const AliRecPoint * p, TVector3 & pos) const = 0; 
32   virtual Bool_t Impact(const TParticle * particle) const             = 0;
33
34 protected:
35
36   AliGeometry(const Text_t* name, const Text_t* title) : TNamed (name,title) {}                                   
37
38   ClassDef(AliGeometry,1)  // Base class for detector geometry
39
40 };
41
42 #endif // ALIGEOMETRY_H
43
44
45