]>
Commit | Line | Data |
---|---|---|
d128c9d1 | 1 | #ifndef AliRICHv1_h |
2 | #define AliRICHv1_h | |
c28632f0 | 3 | |
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
0422a446 | 7 | #include "AliRICH.h" //base class |
8 | #include "AliRICHDigitizer.h" //CreateDigitizer() | |
c28632f0 | 9 | |
d128c9d1 | 10 | class AliRICHv1 : public AliRICH |
11 | { | |
12 | public: | |
a25b3368 | 13 | AliRICHv1():AliRICH() {;} //default ctor |
14 | AliRICHv1(const char *name, const char *title):AliRICH(name,title) {;} //named ctor | |
15 | virtual ~AliRICHv1() {;} //dtor | |
0422a446 | 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 | |
a25b3368 | 26 | protected: |
e42a7b46 | 27 | ClassDef(AliRICHv1,1) //RICH full version for simulation |
d128c9d1 | 28 | }; |
29 | ||
c28632f0 | 30 | #endif |