28 fAmplitude(0), fTime(0), fEFraction(0), fMCLabel(0),
29 fIsSorted(kTRUE), fType(kUndef)
59 for (Int_t i = 0; i <
fNCells; i++) {
68 for (Int_t i = 0; i <
fNCells; i++) {
146 if(
this==&obj)
return;
162 obj->SetName (GetName()) ;
163 obj->SetTitle(GetTitle()) ;
167 for (Short_t i = 0; i <
fNCells; i++)
273 Int_t *idxArray =
new Int_t[
fNCells];
276 Bool_t *newHGLG =0x0 ;
278 Short_t *newIndex =
new Short_t[
fNCells];
279 Double32_t *newAmplitude =
new Double32_t[
fNCells];
281 Double32_t *newTime = 0 ;
282 Int_t *newMCLabel = 0 ;
283 Double32_t *newEFraction = 0 ;
288 for (Int_t i=0; i <
fNCells; i++)
299 for (Int_t i=0; i <
fNCells; i++)
301 newHGLG[i] =
fHGLG[idxArray[i]];
336 Double32_t time, Int_t mclabel, Double32_t efrac, Bool_t isHG)
350 for( Int_t i = 0; i <
fNCells; i++ )
356 for( Int_t i = 0; i <
fNCells; i++ )
362 for( Int_t i = 0; i <
fNCells; i++ )
Double32_t * fTime
Array with cell times.
virtual Bool_t SetCell(Short_t pos, Short_t cellNumber, Double_t amplitude, Double_t time, Int_t mclabel=-1, Double_t efrac=0, Bool_t isHG=kTRUE)=0
Class for calorimeter cell AOD data handling.
Double32_t * fEFraction
Array with fraction of MC energy and data - for embedding.
Virtual class for calorimeter cell data handling.
AliAODCaloCells & operator=(const AliAODCaloCells &cells)
Int_t fNCells
Number of cells.
AliVCaloCells & operator=(const AliVCaloCells &cells)
Int_t * fMCLabel
Array of MC labels, each label is the highest contributor to the cell signal.
virtual void Copy(TObject &obj) const
void CreateContainer(Short_t nCells)
virtual void SetNumberOfCells(Int_t n)=0
void Clear(const Option_t *)
Short_t * fCellNumber
Array of cell absolute Id. numbers.
virtual AliVCaloCells * CopyCaloCells(Bool_t all) const
Bool_t * fHGLG
If Cell is High Gain or Low Gain.
Double32_t * fAmplitude
Array with cell amplitudes (= energy!).
virtual void SetType(Char_t ttype)=0
Bool_t SetCell(Short_t pos, Short_t cellNumber, Double_t amplitude, Double_t time, Int_t mclabel=-1, Double_t efrac=0., Bool_t isHG=kFALSE)
virtual ~AliAODCaloCells()
Bool_t fIsSorted
! True if cell arrays are sorted by index.