1 /**************************************************************************
2 * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 //-------------------------------------------------------------------------
19 // AOD FMD cluster class
20 // Author: Markus Oldenburg, CERN
21 //-------------------------------------------------------------------------
23 #include "AliAODFmdCluster.h"
25 ClassImp(AliAODFmdCluster)
27 //______________________________________________________________________________
28 AliAODFmdCluster::AliAODFmdCluster() :
33 // default constructor
36 //______________________________________________________________________________
37 AliAODFmdCluster::AliAODFmdCluster(Int_t id,
44 AliAODVertex *prodVertex,
45 AliAODTrack *primTrack) :
46 AliAODCluster(id, nLabel, label, energy, x, pid, ttype),
47 fProdVertex(prodVertex),
53 //______________________________________________________________________________
54 AliAODFmdCluster::AliAODFmdCluster(Int_t id,
61 AliAODVertex *prodVertex,
62 AliAODTrack *primTrack) :
63 AliAODCluster(id, nLabel, label, energy, x, pid, ttype),
64 fProdVertex(prodVertex),
71 //______________________________________________________________________________
72 AliAODFmdCluster::~AliAODFmdCluster()
78 //______________________________________________________________________________
79 AliAODFmdCluster::AliAODFmdCluster(const AliAODFmdCluster& clus) :
81 fProdVertex(clus.fProdVertex),
82 fPrimTrack(clus.fPrimTrack)
87 //______________________________________________________________________________
88 AliAODFmdCluster& AliAODFmdCluster::operator=(const AliAODFmdCluster& clus)
90 // Assignment operator
93 AliAODCluster::operator=(clus);
95 fProdVertex = clus.fProdVertex;
96 fPrimTrack = clus.fPrimTrack;