Bool_t fIsSorted; //! true if cell arrays are sorted by index
Char_t fType; // Cell type
- ClassDef(AliAODCaloCells, 4);
+ ClassDef(AliAODCaloCells, 5);
};
if (pos>=0 && pos < fNCells && fCellNumber[pos] == cellNumber ) {
if(fHGLG)
return fHGLG[pos];
- else //old version of AOD,
- return !(fMCLabel[pos]==-2) ;
+ else{
+ if(fMCLabel) //old version of AOD,
+ return !(fMCLabel[pos]==-2) ;
+ else
+ return kTRUE ;
+ }
} else {
- return 0.;
+ return kFALSE;
}
}
if (pos>=0 && pos<fNCells) {
if(fHGLG)
return fHGLG[pos];
- else //Old version of AOD store this flag in MCLabel
- return !(fMCLabel[pos]==-2) ;
+ else{
+ if(fMCLabel) //Old version of AOD store this flag in MCLabel
+ return !(fMCLabel[pos]==-2) ;
+ else
+ return kTRUE ;
+ }
} else {
- return 0.;
+ return kFALSE;
}
}