00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef NULLDECAYMODELT_HH
00016 #define NULLDECAYMODELT_HH
00017
00018 #include "CLHEP/config/CLHEP.h"
00019 #include "CLHEP/HepPDT/DecayModelBase.hh"
00020
00021 namespace HepPDT {
00022
00027 template< class Config >
00028 class NullDecayModelT : public DecayModelBase<Config> {
00029
00030 public:
00031 typedef typename Config::ParticleData PD;
00032 typedef typename Config::PT PT;
00033
00034
00035 NullDecayModelT( std::vector<double> const & ) {;}
00036 virtual ~NullDecayModelT() {;}
00037
00038
00039
00040 inline NullDecayModelT( const NullDecayModelT<Config> & ) {;}
00041 inline NullDecayModelT & operator = ( const NullDecayModelT<Config> & ) { return *this; }
00042 inline void swap( NullDecayModelT<Config> & ) {;}
00043
00044
00045
00046 virtual void decay( const std::vector< PD > & ,
00047 const PT & ,
00048 std::vector<PT> & ) {;}
00049
00050
00051 virtual int parameters( std::vector<double> & ) const { return 0; }
00052 virtual std::string name() const { return "NullDecayModelT<>"; }
00053
00054 };
00055
00056 template< class Config >
00057 inline
00058 void swap( NullDecayModelT<Config> & first, NullDecayModelT<Config> & second ) {
00059 first.swap( second );
00060 }
00061
00062 }
00063
00064 #endif // NULLDECAYMODELT_HH
00065