]>
Commit | Line | Data |
---|---|---|
fa86343a | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
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 | **************************************************************************/ | |
15 | ||
16 | /* $Id$ */ | |
17 | ||
18 | //------------------------------------------------------------------------- | |
19 | // AOD PMD cluster class | |
20 | // Author: Markus Oldenburg, CERN | |
21 | //------------------------------------------------------------------------- | |
22 | ||
23 | #include "AliAODPmdCluster.h" | |
24 | ||
25 | ClassImp(AliAODPmdCluster) | |
26 | ||
27 | //______________________________________________________________________________ | |
28 | AliAODPmdCluster::AliAODPmdCluster() : | |
29 | AliAODCluster(), | |
30 | fAssocCluster(NULL) | |
31 | { | |
32 | // default constructor | |
33 | } | |
34 | ||
35 | //______________________________________________________________________________ | |
36 | AliAODPmdCluster::AliAODPmdCluster(Int_t id, | |
37 | Int_t nLabel, | |
38 | Int_t *label, | |
39 | Double_t energy, | |
40 | Double_t x[3], | |
41 | Double_t pid[9], | |
42 | Char_t ttype, | |
d067f357 | 43 | UInt_t /*selectInfo*/, |
fa86343a | 44 | AliAODPmdCluster* assoc) : |
45 | AliAODCluster(id, nLabel, label, energy, x, pid, ttype), | |
46 | fAssocCluster(assoc) | |
47 | { | |
48 | // constructor | |
49 | } | |
50 | ||
51 | //______________________________________________________________________________ | |
52 | AliAODPmdCluster::AliAODPmdCluster(Int_t id, | |
53 | Int_t nLabel, | |
54 | Int_t *label, | |
55 | Float_t energy, | |
56 | Float_t x[3], | |
57 | Float_t pid[9], | |
58 | Char_t ttype, | |
d067f357 | 59 | UInt_t /*selectInfo*/, |
fa86343a | 60 | AliAODPmdCluster* assoc) : |
61 | AliAODCluster(id, nLabel, label, energy, x, pid, ttype), | |
62 | fAssocCluster(assoc) | |
63 | { | |
64 | // constructor | |
65 | } | |
66 | ||
67 | ||
68 | //______________________________________________________________________________ | |
69 | AliAODPmdCluster::~AliAODPmdCluster() | |
70 | { | |
71 | // destructor | |
72 | } | |
73 | ||
74 | ||
75 | //______________________________________________________________________________ | |
76 | AliAODPmdCluster::AliAODPmdCluster(const AliAODPmdCluster& clus) : | |
77 | AliAODCluster(clus), | |
78 | fAssocCluster(clus.fAssocCluster) | |
79 | { | |
80 | // Copy constructor | |
81 | } | |
82 | ||
83 | //______________________________________________________________________________ | |
84 | AliAODPmdCluster& AliAODPmdCluster::operator=(const AliAODPmdCluster& clus) | |
85 | { | |
86 | // Assignment operator | |
87 | if(this!=&clus) { | |
88 | ||
89 | AliAODCluster::operator=(clus); | |
90 | ||
91 | fAssocCluster = clus.fAssocCluster; | |
92 | } | |
93 | ||
94 | return *this; | |
95 | } |