1 //-----------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: EvtDecayMode.hh,v 1.10 2009/02/15 18:15:59 ryd Exp $
6 // This software is part of the EvtGen package developed jointly
7 // for the BaBar and CLEO collaborations. If you use all or part
8 // of it, please give an appropriate acknowledgement.
10 // Copyright Information:
11 // Copyright (C) 1998 Caltech, UCSB
14 // Alexei Dvoretskii, Caltech, 2001-2002.
15 //-----------------------------------------------------------------------
17 #ifndef EVT_DECAY_MODE_HH
18 #define EVT_DECAY_MODE_HH
22 #include "EvtGenBase/EvtCyclic3.hh"
30 EvtDecayMode(const char* decay);
31 EvtDecayMode(const EvtDecayMode& other);
32 EvtDecayMode(std::string mother,std::vector<std::string> dau);
35 const char* mother() const;
37 const char* dau(int i) const;
39 std::ostream& print(std::ostream&) const;
42 // Frequent name combinations
44 std::string m(EvtCyclic3::Pair i) const;
45 std::string q(EvtCyclic3::Pair i) const;
46 std::string dal(EvtCyclic3::Pair i, EvtCyclic3::Pair j) const;
47 std::string mode() const;
52 std::vector<std::string> _dau;
57 std::ostream& operator<<(std::ostream&,const EvtDecayMode&);