]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/AliRICHv3.h
New SPD simulation which merges both the Bari-Selerno and Dubna models into
[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   BuildGeometry();   
22   virtual void   Init();            // Makes nothing for a while          
23           void   DiagnosticsFE(Int_t evNumber1,Int_t evNumber2);
24           void   DiagnosticsSE(Int_t diaglevel,Int_t evNumber1,Int_t evNumber2);
25          Int_t   Hits2SDigits(Float_t xhit,Float_t yhit,Float_t eloss, Int_t idvol, ResponseType res);
26   void     SetGeometryModel(Int_t c,AliRICHGeometry *pRICHGeo)                    {C(c)->SetGeometryModel(pRICHGeo);}
27   void     SetSegmentationModel(Int_t c, AliSegmentation *pAliSeg)                {C(c)->SetSegmentationModel(pAliSeg);}
28   void     SetResponseModel(Int_t c, AliRICHResponse *pRICHRes)                   {C(c)->SetResponseModel(pRICHRes);}
29   void     SetReconstructionModel(Int_t c, AliRICHClusterFinder *pRICHReco)       {C(c)->SetReconstructionModel(pRICHReco);}
30   AliRICHGeometry* GetGeometryModel(Int_t c=1)                               const{return C(c)->GetGeometryModel();}    
31   AliSegmentation* GetSegmentationModel(Int_t c=1)                           const{return C(c)->GetSegmentationModel();}
32   AliRICHResponse* GetResponseModel(Int_t c=1)                               const{return C(c)->GetResponseModel();}
33   void MakeBranch(Option_t* option);//virtual
34   void SetTreeAddress();//virtual
35 private:
36   Double_t* RotateXY(const Double_t* r, Double_t a);//Rotation in the X-Y plane in G3 notation
37   ClassDef(AliRICHv3,1)  //RICH full version, configurable with azimuthal rotation      
38 };// class AliRICHv3
39
40 #endif // AliRICHv3_h