]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/correlationHF/AliReducedParticle.cxx
Fix (AndreaR)
[u/mrichter/AliRoot.git] / PWGHF / correlationHF / AliReducedParticle.cxx
CommitLineData
815e6bab 1/**************************************************************************
2 * Copyright(c) 1998-2009, 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//
17// Base class for DStar - Hadron Correlations Analysis
18//
19//-----------------------------------------------------------------------
20//
21//
22// Author S.Bjelogrlic
23// Utrecht University
24// sandro.bjelogrlic@cern.ch
25//
26//-----------------------------------------------------------------------
27
28/* $Id$ */
29
30#include "AliVParticle.h"
31#include "AliReducedParticle.h"
32
dbbea648 33AliReducedParticle::AliReducedParticle() :
34fEta(0),
35fPhi(0),
36fpT(0),
37fMcLabel(0),
38fid(0),
39fImpPar(0),
40fCheckSoftPi(0),
41fCharge(0),
42fInvMass(0),
43fWeight(1.),
44fPtBin(-1),
45fOriginMother(-1)
46{
47 //
48 // default constructor
49 //
50}
51
52
bce70c96 53AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, Int_t mcLabel, Int_t trackid, Double_t impPar, Bool_t checkSoftPi) :
815e6bab 54fEta(eta),
55fPhi(phi),
56fpT(pt),
bce70c96 57fMcLabel(mcLabel),
58fid(trackid),
59fImpPar(impPar),
c84dbedf 60fCheckSoftPi(checkSoftPi),
2d1e13d1 61fCharge(0),
62fInvMass(0),
cc5f70d8 63fWeight(1.),
2d1e13d1 64fPtBin(-1),
65fOriginMother(-1)
c84dbedf 66{
67 //
68 // default constructor
69 //
70}
71
72AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, Int_t mcLabel, Int_t trackid, Double_t impPar, Bool_t checkSoftPi, Short_t charge) :
73fEta(eta),
74fPhi(phi),
75fpT(pt),
76fMcLabel(mcLabel),
77fid(trackid),
78fImpPar(impPar),
79fCheckSoftPi(checkSoftPi),
2d1e13d1 80fCharge(charge),
81fInvMass(0),
cc5f70d8 82fWeight(1.),
2d1e13d1 83fPtBin(-1),
84fOriginMother(-1)
bce70c96 85{
86 //
87 // default constructor
88 //
89}
90
cc5f70d8 91AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, Int_t mcLabel, Int_t trackid, Double_t impPar, Bool_t checkSoftPi, Short_t charge, Double_t weight) :
92fEta(eta),
93fPhi(phi),
94fpT(pt),
95fMcLabel(mcLabel),
96fid(trackid),
97fImpPar(impPar),
98fCheckSoftPi(checkSoftPi),
99fCharge(charge),
100fInvMass(0),
101fWeight(weight),
102fPtBin(-1),
103fOriginMother(-1)
104{
105 //
106 // default constructor
107 //
108}
109
110
111
bce70c96 112AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, Int_t McLabel) :
113fEta(eta),
114fPhi(phi),
115fpT(pt),
116fMcLabel(McLabel),
117fid(0),
118fImpPar(0.),
c84dbedf 119fCheckSoftPi(kFALSE),
2d1e13d1 120fCharge(0),
121fInvMass(0),
cc5f70d8 122fWeight(1.),
2d1e13d1 123fPtBin(-1),
124fOriginMother(-1)
815e6bab 125{
126 //
127 // default constructor
128 //
129}
130
2d1e13d1 131AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, int charge, int originmother) :
132fEta(eta),
133fPhi(phi),
134fpT(pt),
135fMcLabel(0),
136fid(0),
137fImpPar(0.),
138fCheckSoftPi(kFALSE),
139fCharge(charge),
140fInvMass(0),
cc5f70d8 141fWeight(1.),
2d1e13d1 142fPtBin(-1),
143fOriginMother(originmother)
144{
145 //
146 // default constructor
147 //
148}
149
150AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, Double_t invmass, int ptbin, int originmother) :
151fEta(eta),
152fPhi(phi),
153fpT(pt),
154fMcLabel(0),
155fid(0),
156fImpPar(0.),
157fCheckSoftPi(kFALSE),
158fCharge(0),
159fInvMass(invmass),
cc5f70d8 160fWeight(1.),
2d1e13d1 161fPtBin(ptbin),
162fOriginMother(originmother)
163{
164 //
165 // default constructor
166 //
167}
168
169
815e6bab 170AliReducedParticle::~AliReducedParticle() {
171
172 //
173 // destructor
174 //
175
bce70c96 176 //Info("AliReducedParticle","Calling Destructor");
815e6bab 177}