]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/AliRICHv1.h
START positions
[u/mrichter/AliRoot.git] / RICH / AliRICHv1.h
1 #ifndef AliRICHv1_h
2 #define AliRICHv1_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"             //base class 
8 #include "AliRICHDigitizer.h"  //CreateDigitizer()
9
10 class AliRICHv1 : public AliRICH 
11 {
12 public:
13                  AliRICHv1():AliRICH()                                               {;}          //default ctor
14                  AliRICHv1(const char *name, const char *title):AliRICH(name,title)  {;}          //named ctor
15   virtual       ~AliRICHv1()                                                         {;}          //dtor
16 //framework part  
17   void   Init()                                                              {;}
18   Int_t          IsVersion        (                          )const{return 1;}  
19   void           StepManager      (                          );                                           //called from AliSimulation or AliRun when transport particles
20   void           Hits2SDigits     (                          );                                           //called from AliSimulation for Hits->SDigits
21   AliDigitizer*  CreateDigitizer  (AliRunDigitizer *pMan     )const{return new AliRICHDigitizer(pMan);}   //called from AliSimulation for SDigits->Digits
22   void           Digits2Raw       (                          );                                           //called from AliSimulation for Digits->Raw
23 //private part  
24           Bool_t IsLostByFresnel  ();                                                                     //checks if the photon lost on Fresnel reflection  
25           void   GenerateFeedbacks(Int_t iChamber,Float_t eloss=0);                                       //generates feedback photons; eloss=0 for photon
26 protected:
27   ClassDef(AliRICHv1,1)                                                 //RICH full version for simulation
28 };
29                 
30 #endif