#include "AliAODEvent.h"
#include "AliAODHeader.h"
#include "AliAODTrack.h"
+#include "AliAODDimuon.h"
ClassImp(AliAODEvent)
"phosCells",
"caloClusters",
"fmdClusters",
- "pmdClusters"
+ "pmdClusters",
+ "dimuons"
};
//______________________________________________________________________________
fPhosCells(0),
fCaloClusters(0),
fFmdClusters(0),
- fPmdClusters(0)
+ fPmdClusters(0),
+ fDimuons(0)
{
// default constructor
}
fPhosCells(new AliAODCaloCells(*aod.fPhosCells)),
fCaloClusters(new TClonesArray(*aod.fCaloClusters)),
fFmdClusters(new TClonesArray(*aod.fFmdClusters)),
- fPmdClusters(new TClonesArray(*aod.fPmdClusters))
+ fPmdClusters(new TClonesArray(*aod.fPmdClusters)),
+ fDimuons(new TClonesArray(*aod.fDimuons))
{
// Copy constructor
AddObject(fHeader);
AddObject(fCaloClusters);
AddObject(fFmdClusters);
AddObject(fPmdClusters);
+ AddObject(fDimuons);
fConnected = aod.fConnected;
GetStdContent();
CreateStdFolders();
AddObject(new TClonesArray("AliAODCaloCluster", 0));
AddObject(new TClonesArray("AliAODFmdCluster", 0));
AddObject(new TClonesArray("AliAODPmdCluster", 0));
+ AddObject(new TClonesArray("AliAODDimuon", 0));
// set names
SetStdNames();
fCaloClusters = (TClonesArray*)fAODObjects->FindObject("caloClusters");
fFmdClusters = (TClonesArray*)fAODObjects->FindObject("fmdClusters");
fPmdClusters = (TClonesArray*)fAODObjects->FindObject("pmdClusters");
+ fDimuons = (TClonesArray*)fAODObjects->FindObject("dimuons");
}
//______________________________________________________________________________
Int_t jetSize,
Int_t caloClusSize,
Int_t fmdClusSize,
- Int_t pmdClusSize
+ Int_t pmdClusSize,
+ Int_t dimuonArrSize
)
{
// deletes content of standard arrays and resets size
fPmdClusters->Delete();
if (pmdClusSize > fPmdClusters->GetSize())
fPmdClusters->Expand(pmdClusSize);
+
+ fDimuons->Delete();
+ if (dimuonArrSize > fDimuons->GetSize())
+ fDimuons->Expand(dimuonArrSize);
// Reset the tracklets
fTracklets->DeleteContainer();
fCaloClusters ->Delete();
fFmdClusters ->Clear();
fPmdClusters ->Clear();
+ fDimuons ->Clear();
}
//_________________________________________________________________