00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef DUMMYDECAYMODEL_H
00011 #define DUMMYDECAYMODEL_H
00012
00013 #include <vector>
00014
00015 #include "CLHEP/HepPDT/DecayModel.hh"
00016
00017 namespace HepMC {
00018
00023 class DummyDecayModel : public HepPDT::DecayModel {
00024
00025 public:
00026 typedef HepPDT::DecayModel::PD PD;
00027 typedef HepPDT::DecayModel::PT PT;
00028
00029
00030
00031 DummyDecayModel( std::vector<double> const & decayModelParameters );
00032 virtual ~DummyDecayModel() { ; }
00033
00034
00035
00036 DummyDecayModel( const DummyDecayModel & orig );
00037 DummyDecayModel & operator = ( const DummyDecayModel & rhs );
00038 void swap( DummyDecayModel & other );
00039
00040
00041
00042 virtual void decay( const std::vector< PD > & ,
00043 const PT & ,
00044 std::vector<PT> & ) { ; }
00045
00046
00047 int parameters( std::vector<double> & fillme) const;
00048 std::string name() const { return "DummyDecayModel"; }
00049
00050
00051
00052
00053 private:
00054
00055
00056
00057 std::vector<double> itsParameters;
00058
00059 };
00060
00061 inline
00062 void swap( DummyDecayModel & first, DummyDecayModel & second ) {
00063 first.swap( second );
00064 }
00065
00066
00067 REGISTER_DECAY_MODE(DummyDecayModel,DummyDecayModel::Config)
00068
00069 }
00070
00071 #endif // DUMMYDECAYMODEL_H
00072