]>
Commit | Line | Data |
---|---|---|
f1d945a1 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, 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 | #include "AliFlowTrackSimple.h" | |
19 | ||
20 | ||
21 | // AliFlowTrackSimple: | |
22 | // A simple track class to the the AliFlowEventSimple for flow analysis | |
23 | // | |
24 | // | |
25 | // author: N. van der Kolk (kolk@nikhef.nl) | |
26 | ||
27 | ||
28 | ClassImp(AliFlowTrackSimple) | |
29 | ||
30 | //----------------------------------------------------------------------- | |
31 | ||
32 | AliFlowTrackSimple::AliFlowTrackSimple(): | |
33 | fEta(0), | |
34 | fPt(0), | |
35 | fPhi(0), | |
fb03b63f | 36 | fFlowBits(0), |
37 | fSubEventBits(0) | |
f1d945a1 | 38 | { |
39 | //constructor | |
40 | ||
41 | } | |
42 | ||
bc6b015e | 43 | //----------------------------------------------------------------------- |
44 | ||
45 | AliFlowTrackSimple::AliFlowTrackSimple(const AliFlowTrackSimple& aTrack): | |
e1911c19 | 46 | TNamed(), |
bc6b015e | 47 | fEta(aTrack.fEta), |
48 | fPt(aTrack.fPt), | |
49 | fPhi(aTrack.fPhi), | |
fb03b63f | 50 | fFlowBits(aTrack.fFlowBits), |
51 | fSubEventBits(aTrack.fSubEventBits) | |
bc6b015e | 52 | { |
53 | //copy constructor | |
54 | } | |
55 | //----------------------------------------------------------------------- | |
56 | ||
57 | AliFlowTrackSimple& AliFlowTrackSimple::operator=(const AliFlowTrackSimple& aTrack) | |
58 | { | |
59 | fEta = aTrack.fEta; | |
60 | fPt = aTrack.fPt; | |
61 | fPhi = aTrack.fPhi; | |
62 | fFlowBits = aTrack.fFlowBits; | |
fb03b63f | 63 | fSubEventBits = aTrack.fSubEventBits; |
bc6b015e | 64 | |
65 | return *this; | |
66 | ||
67 | } | |
68 | ||
69 | ||
f1d945a1 | 70 | //----------------------------------------------------------------------- |
71 | ||
72 | AliFlowTrackSimple::~AliFlowTrackSimple() | |
73 | { | |
74 | //destructor | |
75 | ||
76 | } | |
77 |