ROOT logo
#ifndef ALIKFCONVERSIONMOTHER_H
#define ALIKFCONVERSIONMOTHER_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice     */

////////////////////////////////////////////////
//--------------------------------------------- 
// Class containing the aod information from conversions
//---------------------------------------------
////////////////////////////////////////////////

// --- ROOT system ---

#include "TMath.h"
#include "AliKFParticle.h"
#include "AliKFConversionPhoton.h"

class AliKFConversionMother : public AliKFParticle {

 public: 

  //Constructors
  AliKFConversionMother();    
  //AliKFConversionMother(AliKFParticle &kfparticle);
 // AliKFConversionMother(const AliKFParticle &d1,const AliKFParticle &d2);
  AliKFConversionMother(const AliKFConversionPhoton &d1,const AliKFConversionPhoton &d2);


  //Copy Constructor
  AliKFConversionMother(const AliKFConversionMother & g);           
  //assignment operator
  AliKFConversionMother & operator = (const AliKFConversionMother & g);

  //Destructor
  virtual ~AliKFConversionMother() {;}


  void SetMCLabel(Int_t i){fMCLabel=i;}

  Int_t GetMCLabel(){return fMCLabel;}

  ///Set track or MC labels
  void SetLabel1(Int_t label){fLabel[0] = label;}
  void SetLabel2(Int_t label){fLabel[1] = label;}
  void SetGammaLabels(Int_t label1, Int_t label2){fLabel[0] = label1; fLabel[1] = label2;}

  Int_t GetGammaLabel(Int_t i) const {return fLabel[i];}

  Double_t GetOpeningAngle(){return fOpeningAngle;}
  Double_t GetAlpha(){return fAlpha;}
  Double_t GetRapidity();

  Double_t M(){return GetMass();}

  Double_t Phi() const;

 private:

    Int_t fLabel[2]; // Labels of two decay gammas
    Int_t fMCLabel; // MC label
    Double_t fOpeningAngle; // of decay gammas
    Double_t fAlpha; // of the meson

  ClassDef(AliKFConversionMother,1)
};


#endif



 AliKFConversionMother.h:1
 AliKFConversionMother.h:2
 AliKFConversionMother.h:3
 AliKFConversionMother.h:4
 AliKFConversionMother.h:5
 AliKFConversionMother.h:6
 AliKFConversionMother.h:7
 AliKFConversionMother.h:8
 AliKFConversionMother.h:9
 AliKFConversionMother.h:10
 AliKFConversionMother.h:11
 AliKFConversionMother.h:12
 AliKFConversionMother.h:13
 AliKFConversionMother.h:14
 AliKFConversionMother.h:15
 AliKFConversionMother.h:16
 AliKFConversionMother.h:17
 AliKFConversionMother.h:18
 AliKFConversionMother.h:19
 AliKFConversionMother.h:20
 AliKFConversionMother.h:21
 AliKFConversionMother.h:22
 AliKFConversionMother.h:23
 AliKFConversionMother.h:24
 AliKFConversionMother.h:25
 AliKFConversionMother.h:26
 AliKFConversionMother.h:27
 AliKFConversionMother.h:28
 AliKFConversionMother.h:29
 AliKFConversionMother.h:30
 AliKFConversionMother.h:31
 AliKFConversionMother.h:32
 AliKFConversionMother.h:33
 AliKFConversionMother.h:34
 AliKFConversionMother.h:35
 AliKFConversionMother.h:36
 AliKFConversionMother.h:37
 AliKFConversionMother.h:38
 AliKFConversionMother.h:39
 AliKFConversionMother.h:40
 AliKFConversionMother.h:41
 AliKFConversionMother.h:42
 AliKFConversionMother.h:43
 AliKFConversionMother.h:44
 AliKFConversionMother.h:45
 AliKFConversionMother.h:46
 AliKFConversionMother.h:47
 AliKFConversionMother.h:48
 AliKFConversionMother.h:49
 AliKFConversionMother.h:50
 AliKFConversionMother.h:51
 AliKFConversionMother.h:52
 AliKFConversionMother.h:53
 AliKFConversionMother.h:54
 AliKFConversionMother.h:55
 AliKFConversionMother.h:56
 AliKFConversionMother.h:57
 AliKFConversionMother.h:58
 AliKFConversionMother.h:59
 AliKFConversionMother.h:60
 AliKFConversionMother.h:61
 AliKFConversionMother.h:62
 AliKFConversionMother.h:63
 AliKFConversionMother.h:64
 AliKFConversionMother.h:65
 AliKFConversionMother.h:66
 AliKFConversionMother.h:67
 AliKFConversionMother.h:68
 AliKFConversionMother.h:69
 AliKFConversionMother.h:70
 AliKFConversionMother.h:71