]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/correlationHF/AliReducedParticle.cxx
DxHFE update (Hege + Matthias)
[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
bce70c96 33AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, Int_t mcLabel, Int_t trackid, Double_t impPar, Bool_t checkSoftPi) :
815e6bab 34fEta(eta),
35fPhi(phi),
36fpT(pt),
bce70c96 37fMcLabel(mcLabel),
38fid(trackid),
39fImpPar(impPar),
c84dbedf 40fCheckSoftPi(checkSoftPi),
2d1e13d1 41fCharge(0),
42fInvMass(0),
43fPtBin(-1),
44fOriginMother(-1)
c84dbedf 45{
46 //
47 // default constructor
48 //
49}
50
51AliReducedParticle::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) :
52fEta(eta),
53fPhi(phi),
54fpT(pt),
55fMcLabel(mcLabel),
56fid(trackid),
57fImpPar(impPar),
58fCheckSoftPi(checkSoftPi),
2d1e13d1 59fCharge(charge),
60fInvMass(0),
61fPtBin(-1),
62fOriginMother(-1)
bce70c96 63{
64 //
65 // default constructor
66 //
67}
68
69AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, Int_t McLabel) :
70fEta(eta),
71fPhi(phi),
72fpT(pt),
73fMcLabel(McLabel),
74fid(0),
75fImpPar(0.),
c84dbedf 76fCheckSoftPi(kFALSE),
2d1e13d1 77fCharge(0),
78fInvMass(0),
79fPtBin(-1),
80fOriginMother(-1)
815e6bab 81{
82 //
83 // default constructor
84 //
85}
86
2d1e13d1 87AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, int charge, int originmother) :
88fEta(eta),
89fPhi(phi),
90fpT(pt),
91fMcLabel(0),
92fid(0),
93fImpPar(0.),
94fCheckSoftPi(kFALSE),
95fCharge(charge),
96fInvMass(0),
97fPtBin(-1),
98fOriginMother(originmother)
99{
100 //
101 // default constructor
102 //
103}
104
105AliReducedParticle::AliReducedParticle(Double_t eta, Double_t phi, Double_t pt, Double_t invmass, int ptbin, int originmother) :
106fEta(eta),
107fPhi(phi),
108fpT(pt),
109fMcLabel(0),
110fid(0),
111fImpPar(0.),
112fCheckSoftPi(kFALSE),
113fCharge(0),
114fInvMass(invmass),
115fPtBin(ptbin),
116fOriginMother(originmother)
117{
118 //
119 // default constructor
120 //
121}
122
123
815e6bab 124AliReducedParticle::~AliReducedParticle() {
125
126 //
127 // destructor
128 //
129
bce70c96 130 //Info("AliReducedParticle","Calling Destructor");
815e6bab 131}