1 #ifndef AliAODFmdCluster_H
2 #define AliAODFmdCluster_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
9 // AOD FMD cluster class
10 // Author: Markus Oldenburg, CERN
11 //-------------------------------------------------------------------------
15 #include "AliAODCluster.h"
16 #include "AliAODTrack.h"
18 class AliAODFmdCluster : public AliAODCluster {
23 AliAODFmdCluster(Int_t id,
30 AliAODVertex *prodVertex=NULL,
31 AliAODTrack *primTrack=NULL);
33 AliAODFmdCluster(Int_t id,
40 AliAODVertex *prodVertex=NULL,
41 AliAODTrack *primTrack=NULL);
43 virtual ~AliAODFmdCluster();
44 AliAODFmdCluster(const AliAODFmdCluster& trk);
45 AliAODFmdCluster& operator=(const AliAODFmdCluster& trk);
47 AliAODVertex *GetProdVertex() const { return (AliAODVertex*)fProdVertex.GetObject(); }
48 AliAODTrack *GetPrimTrack() const { return (AliAODTrack*)fPrimTrack.GetObject(); }
50 void SetProdVertex(AliAODVertex *vertex) { fProdVertex = vertex; }
51 void SetPrimTrack(AliAODTrack *ptrack) { fPrimTrack = ptrack; }
56 TRef fProdVertex; // vertex of origin
57 TRef fPrimTrack; // primary track associated with this cluster
59 ClassDef(AliAODFmdCluster,1);