Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:09:55

0001 #ifndef ATOOLS_Phys_Decay_Info_H
0002 #define ATOOLS_Phys_Decay_Info_H
0003 
0004 #include "ATOOLS/Phys/Flavour.H"
0005 
0006 namespace ATOOLS {
0007 
0008   struct Decay_Info;
0009 
0010   typedef std::vector<Decay_Info* > DecayInfo_Vector;
0011 
0012   struct Decay_Info {
0013     size_t m_id;
0014     Flavour m_fl;
0015     int m_nmax, m_osd;
0016     DecayInfo_Vector m_subsequentdecays;
0017     inline Decay_Info(const size_t &id,const Flavour &fl,
0018               const int nmax,const int osd):
0019       m_id(id), m_fl(fl), m_nmax(nmax), m_osd(osd) {}
0020     inline void SetSubsequentDecayInfos(DecayInfo_Vector sdi)
0021     { m_subsequentdecays=sdi; }
0022     inline const DecayInfo_Vector& SubsequentDecayInfos()
0023     { return m_subsequentdecays; }
0024     inline bool operator<(const Decay_Info &rhs) const { return (m_id<rhs.m_id); }
0025   };// end of struct Decay_Info
0026 
0027 
0028   std::ostream &operator<<(std::ostream &ostr,const Decay_Info &di);
0029 
0030   std::ostream &operator<<(std::ostream &s,const DecayInfo_Vector &ds);
0031 
0032 }// end of namespace ATOOLS
0033 
0034 #endif