+//____________________________________________________
+void AliMUONRawCluster::SetDigitsId(Int_t nDigits, const UInt_t *digitsId)
+{
+ /// Set the array of digit Id
+ /// if digitsId is not given the array is filled with id=0
+
+ fMultiplicity[0] = (nDigits < 50) ? nDigits : 50;
+
+ if (fMultiplicity[0] == 0) return;
+ if (digitsId == 0)
+ for (Int_t i=0; i<fMultiplicity[0]; i++) fIndexMap[i][0] = 0;
+ else
+ for (Int_t i=0; i<fMultiplicity[0]; i++) fIndexMap[i][0] = (Int_t) digitsId[i];
+}
+