]>
Commit | Line | Data |
---|---|---|
fa86343a | 1 | #ifndef AliAODPmdCluster_H |
2 | #define AliAODPmdCluster_H | |
3 | /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //------------------------------------------------------------------------- | |
9 | // AOD PMD cluster class | |
10 | // Author: Markus Oldenburg, CERN | |
11 | //------------------------------------------------------------------------- | |
12 | ||
13 | #include <TRef.h> | |
14 | ||
15 | #include "AliAODCluster.h" | |
16 | class AliAODPmdCluster : public AliAODCluster { | |
17 | ||
18 | public: | |
19 | ||
20 | AliAODPmdCluster(); | |
21 | AliAODPmdCluster(Int_t id, | |
22 | Int_t nLabel, | |
23 | Int_t *label, | |
24 | Double_t energy, | |
25 | Double_t x[3], | |
26 | Double_t pid[9], | |
27 | Char_t ttype=kUndef, | |
28 | UInt_t selectInfo=0, | |
29 | AliAODPmdCluster* assoc=NULL); | |
30 | ||
31 | AliAODPmdCluster(Int_t id, | |
32 | Int_t nLabel, | |
33 | Int_t *label, | |
34 | Float_t energy, | |
35 | Float_t x[3], | |
36 | Float_t pid[9], | |
37 | Char_t ttype=kUndef, | |
38 | UInt_t selectInfo=0, | |
39 | AliAODPmdCluster* assoc=NULL); | |
40 | ||
41 | virtual ~AliAODPmdCluster(); | |
42 | AliAODPmdCluster(const AliAODPmdCluster& clus); | |
43 | AliAODPmdCluster& operator=(const AliAODPmdCluster& clus); | |
44 | ||
45 | AliAODPmdCluster *GetAssocCluster() const { return (AliAODPmdCluster*)fAssocCluster.GetObject(); } | |
46 | void SetAssocCluster(AliAODPmdCluster *cluster) { fAssocCluster = cluster; } | |
47 | ||
48 | private : | |
49 | ||
50 | TRef fAssocCluster; // cluster of other layer associated with this cluster | |
51 | ||
52 | ClassDef(AliAODPmdCluster,1); | |
53 | }; | |
54 | ||
55 | #endif |