changes from gsi. Using mult if no centrality. testfilterbit 128
[u/mrichter/AliRoot.git] / PWGGA / GammaConv / AliAODConversionParticle.cxx
CommitLineData
e5b3650b 1#include "AliAODConversionParticle.h"
e5b3650b 2
3using namespace std;
4
5ClassImp(AliAODConversionParticle)
6
7
e5b3650b 8AliAODConversionParticle::AliAODConversionParticle() :
2eedd4ed 9TLorentzVector()
e5b3650b 10{
e5b3650b 11}
12
2eedd4ed 13AliAODConversionParticle::AliAODConversionParticle(AliKFParticle *kfparticle) :
3b77b2d1 14 TLorentzVector(kfparticle->Px(), kfparticle->Py(), kfparticle->Pz(), kfparticle->E())
e5b3650b 15{
81900183 16
17}
18
2eedd4ed 19AliAODConversionParticle::AliAODConversionParticle(const AliAODConversionParticle & original) :
20TLorentzVector(original)
81900183 21{
7be31c4b 22}
23
2eedd4ed 24AliAODConversionParticle::~AliAODConversionParticle() {
25// empty standard destructor
7be31c4b 26
e5b3650b 27}
28
29
30AliAODConversionParticle & AliAODConversionParticle::operator = (const AliAODConversionParticle & /*source*/)
31{
32 // assignment operator
33 return *this;
34}
35
2eedd4ed 36Double_t AliAODConversionParticle::Phi() const {
37 //Override Phi()
38 Double_t phi = TLorentzVector::Phi();
39 if (phi < 0.) phi += 2. * TMath::Pi();
40 return phi;
811b0806 41}