fCurrentClusterPtr(0),
fIsSetMemory(false),
fMaxCnt(0),
- fCurrentCnt(0)
+ fCurrentCnt(0),
+ fDigitsPointer(0),
+ fNDigits(0)
{
//See header file for documentation
}
*/
void Reset();
- AliHLTCaloDigitDataStruct* GetDigits() {return fDigitsPointer; }
+ /**
+ * Get the digits shipped with the clusters
+ */
+ AliHLTCaloDigitDataStruct* GetDigits() {return fDigitsPointer; }
+
+ /**
+ * Get the number of digits shipped with the clusters
+ */
Int_t GetNDigits() {return fNDigits; }
private:
memset(caloClusterPtr->fTracksMatched, 0xff, sizeof(Int_t)*10);
//Int_t tmpSize = totSize + (caloClusterPtr->fNCells-1)*(sizeof(Short_t) + sizeof(Float_t));
- Int_t tmpSize = (caloClusterPtr->fNCells-1)*sizeof(AliHLTCaloCellDataStruct);
+ UInt_t tmpSize = (caloClusterPtr->fNCells-1)*sizeof(AliHLTCaloCellDataStruct);
if((availableSize - totSize) < tmpSize)
{
Int_t AliHLTCaloClusterizer::CheckBuffer()\r
{\r
// See header file for class documentation \r
- if((fAvailableSize - fUsedSize) < sizeof(AliHLTCaloRecPointDataStruct))\r
+ if((fAvailableSize - fUsedSize) < (Int_t)sizeof(AliHLTCaloRecPointDataStruct))\r
{\r
Int_t recPointOffset = reinterpret_cast<UChar_t*>(fRecPointDataPtr) - reinterpret_cast<UChar_t*>(fFirstRecPointPtr);\r
Int_t digitIndexOffset = reinterpret_cast<UChar_t*>(fDigitIndexPtr) - reinterpret_cast<UChar_t*>(fRecPointDataPtr);\r
{
//-----------------------
static int evntcnt = 0;
- static double wlast = -1;
- static double wcurrent = 0;
+// static double wlast = -1;
+ // static double wcurrent = 0;
evntcnt ++;
AliHLTCaloClusterDataStruct* caloClusterPtr = fCaloClusterDataPtr;
- Int_t id = -1;
+ //Int_t id = -1;
TVector3 globalPos;
for(Int_t i = 0; i < fNRecPoints; i++) //TODO needs fix when we start unfolding (number of clusters not necessarily same as number of recpoints gotten from the clusterizer