//  
// Author: Thomas Kintscher <mailto: kintscher@physik.hu-berlin.de>
// Update: $Id: AtlDstarDecayDPi.h,v 1.1 2011/01/16 18:23:47 schade Exp $
// Copyright: 2010 (C) Thomas Kintscher
//
#ifndef ATLAS_AtlDstarDecayDPi
#define ATLAS_AtlDstarDecayDPi
#ifndef HEP_Hep2BodyDecay
#include <Hep2BodyDecay.h>
#endif
#ifndef ATLAS_AtlIDTrack
#include <AtlIDTrack.h>
#endif
#ifndef ATLAS_AtlD0DecayKPi
#include <AtlD0DecayKPi.h>
#endif
#ifndef HEP_HepVertex
#include <HepVertex.h>
#endif


class AtlDstarDecayDPi : public Hep2BodyDecay {
    
  private:

    
  public:
    AtlDstarDecayDPi();
    AtlDstarDecayDPi(Int_t Id, Float_t Px, Float_t Py, Float_t Pz,
		      Float_t E, AtlD0DecayKPi *D0, AtlIDTrack *Pion, 
		      HepVertex *Vtx, HepVertex *PrimaryVtx,
		      HepParticle ReFitDaughter1, HepParticle ReFitDaughter2);
    virtual ~AtlDstarDecayDPi();
    virtual void Clear(Option_t *option = "");
    void Print(Option_t *option = "");
    static void PrintHeader();
    static void PrintFooter();
    
    inline AtlD0DecayKPi* GetD0()      { return (AtlD0DecayKPi*)GetDaughter1();          }
    inline AtlIDTrack* GetPion()       { return (AtlIDTrack*)GetDaughter2();             }
    inline HepVertex*  GetVtx()        { return (HepVertex* )Hep2BodyDecay::GetVtx();    }
// WARNING! Make sure, that the refitted d0 -> k pi tracks are saved somewhere!
//    inline HepParticle GetReFitD0()    { return GetReFitDaughter1();                     }
    inline HepParticle GetReFitPion()  { return GetReFitDaughter2();                     }
    
    
    ClassDef(AtlDstarDecayDPi,1) // D0 -> Kaon Pi decay
};
#endif
 AtlDstarDecayDPi.h:1
 AtlDstarDecayDPi.h:2
 AtlDstarDecayDPi.h:3
 AtlDstarDecayDPi.h:4
 AtlDstarDecayDPi.h:5
 AtlDstarDecayDPi.h:6
 AtlDstarDecayDPi.h:7
 AtlDstarDecayDPi.h:8
 AtlDstarDecayDPi.h:9
 AtlDstarDecayDPi.h:10
 AtlDstarDecayDPi.h:11
 AtlDstarDecayDPi.h:12
 AtlDstarDecayDPi.h:13
 AtlDstarDecayDPi.h:14
 AtlDstarDecayDPi.h:15
 AtlDstarDecayDPi.h:16
 AtlDstarDecayDPi.h:17
 AtlDstarDecayDPi.h:18
 AtlDstarDecayDPi.h:19
 AtlDstarDecayDPi.h:20
 AtlDstarDecayDPi.h:21
 AtlDstarDecayDPi.h:22
 AtlDstarDecayDPi.h:23
 AtlDstarDecayDPi.h:24
 AtlDstarDecayDPi.h:25
 AtlDstarDecayDPi.h:26
 AtlDstarDecayDPi.h:27
 AtlDstarDecayDPi.h:28
 AtlDstarDecayDPi.h:29
 AtlDstarDecayDPi.h:30
 AtlDstarDecayDPi.h:31
 AtlDstarDecayDPi.h:32
 AtlDstarDecayDPi.h:33
 AtlDstarDecayDPi.h:34
 AtlDstarDecayDPi.h:35
 AtlDstarDecayDPi.h:36
 AtlDstarDecayDPi.h:37
 AtlDstarDecayDPi.h:38
 AtlDstarDecayDPi.h:39
 AtlDstarDecayDPi.h:40
 AtlDstarDecayDPi.h:41
 AtlDstarDecayDPi.h:42
 AtlDstarDecayDPi.h:43
 AtlDstarDecayDPi.h:44
 AtlDstarDecayDPi.h:45
 AtlDstarDecayDPi.h:46
 AtlDstarDecayDPi.h:47
 AtlDstarDecayDPi.h:48
 AtlDstarDecayDPi.h:49