]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/AliRICHv3.h
Minor corrections to include
[u/mrichter/AliRoot.git] / RICH / AliRICHv3.h
1 #ifndef AliRICHv3_h
2 #define AliRICHv3_h
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 #include "AliRICH.h"
8
9 class AliRICHSDigit;
10
11 class AliRICHv3 : public AliRICH 
12 {    
13 public:
14     
15                  AliRICHv3():AliRICH()                                {;} 
16                  AliRICHv3(const char *pcName, const char *pcTitle);    
17   virtual       ~AliRICHv3();                             
18   virtual Int_t  IsVersion()                                     const{return 3;}
19   virtual void   StepManager();     
20   virtual void   CreateGeometry();  
21   virtual void   Init();            // Makes nothing for a while          
22           void   DiagnosticsFE(Int_t evNumber1,Int_t evNumber2);
23          Int_t   Hits2SDigits(Float_t xhit,Float_t yhit,Float_t eloss, Int_t idvol, ResponseType res);
24   void     SetGeometryModel(Int_t c,AliRICHGeometry *pRICHGeo)                    {C(c)->SetGeometryModel(pRICHGeo);}
25   void     SetSegmentationModel(Int_t c, AliSegmentation *pAliSeg)                {C(c)->SetSegmentationModel(pAliSeg);}
26   void     SetResponseModel(Int_t c, AliRICHResponse *pRICHRes)                   {C(c)->SetResponseModel(pRICHRes);}
27   AliRICHGeometry* GetGeometryModel(Int_t c=1)                               const{return C(c)->GetGeometryModel();}    
28   AliSegmentation* GetSegmentationModel(Int_t c=1)                           const{return C(c)->GetSegmentationModel();}
29   AliRICHResponse* GetResponseModel(Int_t c=1)                               const{return C(c)->GetResponseModel();}
30 private:
31   Double_t* RotateXY(const Double_t* r, Double_t a);//Rotation in the X-Y plane in G3 notation
32   ClassDef(AliRICHv3,1)  //RICH full version, configurable with azimuthal rotation      
33 };// class AliRICHv3
34
35 #endif // AliRICHv3_h