//___________________________________________
AliRICHDetectV1::AliRICHDetectV1(const char *name, const char *title)
- : AliRICHDetect()
+ :AliRICHDetect(name,title)
{
TStyle *mystyle=new TStyle("Plain","mystyle");
AliRICHGeometry* geometry;
iChamber = &(pRICH->Chamber(0));
- segmentation=(AliRICHSegmentationV0*) iChamber->GetSegmentationModel(0);
+ segmentation=(AliRICHSegmentationV0*) iChamber->GetSegmentationModel();
geometry=iChamber->GetGeometryModel();
void AliRICHDetectV1::free_i3tensor(int ***t, long nrl, long nrh, long ncl, long nch,long ndl, long ndh)
// free a Int_t f3tensor allocated by i3tensor()
{
+ nrh++;ndh++;nch++;//to remove warning
int NR_END=1;
free((char*) (t[nrl][ncl]+ndl-NR_END));