27 fConversionPoint[0]=-999;
28 fConversionPoint[1]=-999;
29 fConversionPoint[2]=-999;
34 fChi2perNDF(original.fChi2perNDF),
35 fIMass(original.fIMass),
36 fPsiPair(original.fPsiPair),
37 fV0Index(original.fV0Index),
38 fQuality(original.fQuality),
39 fTagged(original.fTagged)
70 if(!mcEvent){printf(
"MCEvent not defined");
return 0x0;}
75 return mcEvent->Particle(label);
86 if(mcgamma->GetPdgCode()==22){
94 if(!mcEvent){printf(
"MCEvent not defined");
return -1;}
99 if(!fPositiveMCParticle||!fNegativeMCParticle){
return -1;}
101 if(fPositiveMCParticle->GetMother(0)>-1&&(fNegativeMCParticle->GetMother(0) == fPositiveMCParticle->GetMother(0))){
102 return fPositiveMCParticle->GetMother(0);
110 if(!mcEvent){printf(
"MCEvent not defined \n");
return 0x0;}
111 if(label<0||label>1){printf(
"Requested index out of bounds: %i \n",label);
return 0x0;}
114 TParticle *fMCDaughter=mcEvent->Particle(
fMCLabel[label]);
122 if(!negTrack || !posTrack) {
126 if(negTrack->Charge() == posTrack->Charge()){
130 Int_t nClusterITSneg = negTrack->GetNcls(0);
131 Int_t nClusterITSpos = posTrack->GetNcls(0);
133 if (nClusterITSneg > 1 && nClusterITSpos > 1){
136 }
else if (nClusterITSneg > 1 || nClusterITSpos > 1){
TParticle * GetMCParticle(AliMCEvent *mcEvent)
virtual ~AliConversionPhotonBase()
AliConversionPhotonBase()
TParticle * GetPositiveMCDaughter(AliMCEvent *mcEvent)
Double_t fConversionPoint[3]
TParticle * GetNegativeMCDaughter(AliMCEvent *mcEvent)
AliConversionPhotonBase & operator=(const AliConversionPhotonBase &g)
void DeterminePhotonQuality(AliVTrack *negTrack, AliVTrack *posTrack)
Int_t GetMCParticleLabel(AliMCEvent *mcEvent)
TParticle * GetMCDaughter(AliMCEvent *mcEvent, Int_t label)
Bool_t IsTruePhoton(AliMCEvent *mcEvent)