Commit 32cbc307 authored by Lynn Garren's avatar Lynn Garren
Browse files

move definition of constructor to make Visual C++ happy

parent 3a02f2fb
// $Id: DecayChannelT.hh,v 1.1.1.1 2003/07/15 20:15:05 garren Exp $
// $Id: DecayChannelT.hh,v 1.1.1.1.2.1 2004/02/11 22:16:20 garren Exp $
// ----------------------------------------------------------------------
//
// DecayChannelT.hh
......@@ -37,8 +37,15 @@ public:
// defaults 'cause we need vector<DecayChannelT<> >
inline DecayChannelT( const std::string & name = "unknown",
const Measurement & branchFrac = Measurement(),
const ProductMap & decaylist = ProductMap(),
const std::vector<double> & dmparam = std::vector<double>() );
const std::vector< PD > & decaylist = ProductMap(),
const std::vector<double> & dmparam = std::vector<double>() )
: itsDecayName ( name ),
itsBranchingFraction ( branchFrac ),
itsDecayChannelProducts ( decaylist ),
itsDecayModelParameters ( dmparam ),
itsDecayModel ( DMFactory<Config>::instance()->unsafeMakeProduct( name, dmparam ) )
{ ; }
virtual ~DecayChannelT();
// --- copying:
......
// $Id: DecayChannelT.icc,v 1.1.1.1 2003/07/15 20:15:05 garren Exp $
// $Id: DecayChannelT.icc,v 1.1.1.1.2.1 2004/02/11 22:16:20 garren Exp $
// ----------------------------------------------------------------------
//
// DecayChannelT.icc
......@@ -9,21 +9,6 @@
namespace HepPDT {
template< class Config >
DecayChannelT<Config>::DecayChannelT( const std::string & name,
const Measurement & branchFrac,
const std::vector<PD > & decaylist,
const std::vector<double> & dmparam )
: itsDecayName ( name ),
itsBranchingFraction ( branchFrac ),
itsDecayChannelProducts ( decaylist ),
itsDecayModelParameters ( dmparam ),
itsDecayModel ( DMFactory<Config>::instance()->unsafeMakeProduct( name, dmparam ) )
{
// can't do this with present implementation
//assert(itsDecayModel!=NULL);
}
template< class Config >
DecayChannelT<Config>::~DecayChannelT()
{ ; }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment