Using new for arrays with undefined size
[u/mrichter/AliRoot.git] / RICH / AliRICHv3.h
CommitLineData
9123a941 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
c021cb15 9class AliRICHSDigit;
10
9123a941 11class AliRICHv3 : public AliRICH
cd1cf354 12{
9123a941 13public:
14
3ba5db3e 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();
c021cb15 20 void DiagnosticsFE(Int_t evNumber1,Int_t evNumber2);
c021cb15 21 Int_t Hits2SDigits(Float_t xhit,Float_t yhit,Float_t eloss, Int_t idvol, ResponseType res);
22 void SetGeometryModel(Int_t c,AliRICHGeometry *pRICHGeo) {C(c)->SetGeometryModel(pRICHGeo);}
23 void SetSegmentationModel(Int_t c, AliSegmentation *pAliSeg) {C(c)->SetSegmentationModel(pAliSeg);}
24 void SetResponseModel(Int_t c, AliRICHResponse *pRICHRes) {C(c)->SetResponseModel(pRICHRes);}
c021cb15 25 AliRICHGeometry* GetGeometryModel(Int_t c=1) const{return C(c)->GetGeometryModel();}
26 AliSegmentation* GetSegmentationModel(Int_t c=1) const{return C(c)->GetSegmentationModel();}
27 AliRICHResponse* GetResponseModel(Int_t c=1) const{return C(c)->GetResponseModel();}
9123a941 28private:
cd1cf354 29 ClassDef(AliRICHv3,1) //RICH full version, configurable with azimuthal rotation
9123a941 30};// class AliRICHv3
0de44bff 31
9123a941 32#endif // AliRICHv3_h