//  
// Author: Sophia Schade <mailto: schade@physik.hu-berlin.de>
// Update: $Id: AtlPhiDecayKK.h,v 1.3 2010/05/18 10:07:01 schade Exp $
// Copyright: 2010 (C) Sophia Schade
//
#ifndef ATLAS_AtlPhiDecayKK
#define ATLAS_AtlPhiDecayKK
#ifndef HEP_Hep2BodyDecay
#include <Hep2BodyDecay.h>
#endif
#ifndef ATLAS_AtlIDTrack
#include <AtlIDTrack.h>
#endif
#ifndef HEP_HepVertex
#include <HepVertex.h>
#endif


class AtlPhiDecayKK : public Hep2BodyDecay {
    
  private:
    
    Float_t fAngle;        // Angle between KPlus and KMinus

  public:
    AtlPhiDecayKK();
    AtlPhiDecayKK(Int_t Id, Float_t Px, Float_t Py, Float_t Pz,
		  Float_t E, AtlIDTrack *KPlus, AtlIDTrack *KMinus,
		  HepVertex *DecayVtx,HepVertex *PrimaryVtx,
		  HepParticle ReFitKPlus, HepParticle ReFitKMinus);
    virtual ~AtlPhiDecayKK();
    virtual void Clear(Option_t *option = "");
    void Print(Option_t *option = "");
    static void PrintHeader();
    static void PrintFooter();
    
    inline AtlIDTrack* GetKPlus()         { return (AtlIDTrack*)GetDaughter1();           }
    inline AtlIDTrack* GetKMinus()        { return (AtlIDTrack*)GetDaughter2();           }
    inline Float_t     GetAngleKK() const { return  fAngle;                               }
    inline HepVertex*  GetVtx()           { return (HepVertex* )GetVtx();                 }
    inline HepParticle GetReFitKPlus()    { return GetReFitDaughter1();                   }
    inline HepParticle GetReFitKMinus()   { return GetReFitDaughter2();                   }
    
    ClassDef(AtlPhiDecayKK,1) // Phi ->K-Plus + K-Minus  - decay
};
#endif
 AtlPhiDecayKK.h:1
 AtlPhiDecayKK.h:2
 AtlPhiDecayKK.h:3
 AtlPhiDecayKK.h:4
 AtlPhiDecayKK.h:5
 AtlPhiDecayKK.h:6
 AtlPhiDecayKK.h:7
 AtlPhiDecayKK.h:8
 AtlPhiDecayKK.h:9
 AtlPhiDecayKK.h:10
 AtlPhiDecayKK.h:11
 AtlPhiDecayKK.h:12
 AtlPhiDecayKK.h:13
 AtlPhiDecayKK.h:14
 AtlPhiDecayKK.h:15
 AtlPhiDecayKK.h:16
 AtlPhiDecayKK.h:17
 AtlPhiDecayKK.h:18
 AtlPhiDecayKK.h:19
 AtlPhiDecayKK.h:20
 AtlPhiDecayKK.h:21
 AtlPhiDecayKK.h:22
 AtlPhiDecayKK.h:23
 AtlPhiDecayKK.h:24
 AtlPhiDecayKK.h:25
 AtlPhiDecayKK.h:26
 AtlPhiDecayKK.h:27
 AtlPhiDecayKK.h:28
 AtlPhiDecayKK.h:29
 AtlPhiDecayKK.h:30
 AtlPhiDecayKK.h:31
 AtlPhiDecayKK.h:32
 AtlPhiDecayKK.h:33
 AtlPhiDecayKK.h:34
 AtlPhiDecayKK.h:35
 AtlPhiDecayKK.h:36
 AtlPhiDecayKK.h:37
 AtlPhiDecayKK.h:38
 AtlPhiDecayKK.h:39
 AtlPhiDecayKK.h:40
 AtlPhiDecayKK.h:41
 AtlPhiDecayKK.h:42
 AtlPhiDecayKK.h:43
 AtlPhiDecayKK.h:44
 AtlPhiDecayKK.h:45
 AtlPhiDecayKK.h:46