AliPhysics
9074f74 (9074f74)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
AliFlowCandidateTrack.cxx
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright(c) 1998-2008, 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
17
// AliFlowCandidateTrack:
18
// Class for reconstructed particles to be used in flow analysis
19
// Author: Carlos Perez (cperez@cern.ch)
21
22
#include "
AliFlowCandidateTrack.h
"
23
24
ClassImp
(
AliFlowCandidateTrack
)
25
26
AliFlowCandidateTrack
::
AliFlowCandidateTrack
():
27
AliFlowTrack
(),
28
fNDaughters(0)
29
{
30
// ctor
31
for
(
int
i=0; i!=5; ++i) {
32
fDaughter[i] = -1;
33
fTrack[i] = NULL;
34
}
35
}
36
37
void
AliFlowCandidateTrack::ClearMe
(
void
) {
38
AliFlowTrack::Clear
();
39
fNDaughters
= 0;
40
for
(
int
i=0; i!=5; ++i) {
41
fDaughter
[i] = -1;
42
fTrack
[i] = NULL;
43
}
44
return
;
45
}
46
47
AliFlowCandidateTrack::AliFlowCandidateTrack
(
const
AliFlowCandidateTrack
& aTrack):
48
AliFlowTrack
(aTrack),
49
fNDaughters(aTrack.fNDaughters)
50
{
51
// ctor
52
for
(
int
i=0; i!=5; ++i) {
53
fDaughter
[i] = aTrack.
fDaughter
[i];
54
fTrack
[i] = aTrack.
fTrack
[i];
55
}
56
}
57
58
AliFlowCandidateTrack
&
AliFlowCandidateTrack::operator=
(
const
AliFlowCandidateTrack
& aTrack)
59
{
60
// assignment
61
if
(
this
== &aTrack)
return
*
this
;
//handles self assignment
62
63
AliFlowTrack::operator=
(aTrack);
64
fNDaughters
= aTrack.
fNDaughters
;
65
for
(
int
i=0; i!=5; ++i) {
66
fDaughter
[i] = aTrack.
fDaughter
[i];
67
fTrack
[i] = aTrack.
fTrack
[i];
68
}
69
return
*
this
;
70
}
71
72
AliFlowCandidateTrack::~AliFlowCandidateTrack
()
73
{
74
// dtor
75
}
76
AliFlowTrack::Clear
virtual void Clear(Option_t *o="")
Definition:
AliFlowTrack.h:42
AliFlowCandidateTrack::fTrack
AliFlowTrackSimple * fTrack[5]
Definition:
AliFlowCandidateTrack.h:36
AliFlowCandidateTrack::fNDaughters
Int_t fNDaughters
Definition:
AliFlowCandidateTrack.h:34
AliFlowCandidateTrack::~AliFlowCandidateTrack
~AliFlowCandidateTrack()
Definition:
AliFlowCandidateTrack.cxx:72
AliFlowCandidateTrack::operator=
AliFlowCandidateTrack & operator=(const AliFlowCandidateTrack &)
Definition:
AliFlowCandidateTrack.cxx:58
AliFlowCandidateTrack
Definition:
AliFlowCandidateTrack.h:16
ClassImp
ClassImp(AliFlowCandidateTrack) AliFlowCandidateTrack
Definition:
AliFlowCandidateTrack.cxx:24
AliFlowCandidateTrack::AliFlowCandidateTrack
AliFlowCandidateTrack()
AliFlowCandidateTrack::ClearMe
void ClearMe(void)
Definition:
AliFlowCandidateTrack.cxx:37
AliFlowCandidateTrack.h
AliFlowTrack::operator=
AliFlowTrack & operator=(const AliFlowTrack &aTrack)
Definition:
AliFlowTrack.cxx:71
AliFlowTrack
Definition:
AliFlowTrack.h:15
AliFlowCandidateTrack::fDaughter
Int_t fDaughter[5]
Definition:
AliFlowCandidateTrack.h:35
PWG
FLOW
Tasks
AliFlowCandidateTrack.cxx
Generated on Wed Jun 29 2016 16:51:11 for AliPhysics by
1.8.6