Int_t *label,
Double_t energy,
Double_t x[3],
- Double_t pid[9],
+ Double_t pid[13],
Char_t ttype,
UInt_t selectInfo) :
AliAODCluster(id, nLabel, label, energy, x, pid, ttype, selectInfo),
Int_t *label,
Float_t energy,
Float_t x[3],
- Float_t pid[9],
+ Float_t pid[13],
Char_t ttype,
UInt_t selectInfo) :
AliAODCluster(id, nLabel, label, energy, x, pid, ttype, selectInfo),
p.SetPxPyPzE( energy*pos[0]/r, energy*pos[1]/r, energy*pos[2]/r, energy) ;
}
+
+
+void AliAODCaloCluster::SetCellsAbsId(UShort_t *array)
+{
+ // Set the array of cell absId numbers
+ if (fNCells) {
+ fCellsAbsId = new UShort_t[fNCells];
+ for (Int_t i = 0; i < fNCells; i++) fCellsAbsId[i] = array[i];
+ }
+}
+
+void AliAODCaloCluster::SetCellsAmplitudeFraction(Double32_t *array)
+{
+ // Set the array of cell amplitude fraction
+ if (fNCells) {
+ fCellsAmpFraction = new Double32_t[fNCells];
+ for (Int_t i = 0; i < fNCells; i++) fCellsAmpFraction[i] = array[i];
+ }
+}