+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+/*
+ $Log$
+*/
+
+
#include "AliRICHHitMap.h"
ClassImp(AliRICHHitMap)
ClassImp(AliRICHHitMapA1)
- //const char* dummy=0;
-
-AliRICHHitMapA1::AliRICHHitMapA1(AliRICHsegmentation *seg, TObjArray *dig)
+AliRICHHitMapA1::AliRICHHitMapA1(AliRICHSegmentation *seg, TObjArray *dig)
{
fSegmentation = seg;
fNpx = fSegmentation->Npx();
if (fHitMap) delete[] fHitMap;
}
-void AliRICHHitMapA1::Clear(Option_t *)
+void AliRICHHitMapA1::Clear()
{
memset(fHitMap,0,sizeof(int)*fMaxIndex);
}
void AliRICHHitMapA1::FillHits()
{
Int_t ndigits = fDigits->GetEntriesFast();
- printf("\n Filling hits into HitMap\n");
- printf("FindRawClusters -- ndigits %d \n",ndigits);
+ //printf("\n Filling hits into HitMap\n");
+ //printf("FindRawClusters -- ndigits %d \n",ndigits);
if (!ndigits) return;
- AliRICHdigit *dig;
+ AliRICHDigit *dig;
for (Int_t ndig=0; ndig<fNdigits; ndig++) {
- dig = (AliRICHdigit*)fDigits->UncheckedAt(ndig);
+ dig = (AliRICHDigit*)fDigits->UncheckedAt(ndig);
SetHit(dig->fPadX,dig->fPadY,ndig);
}
}