Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
32cbc307
Commit
32cbc307
authored
Feb 11, 2004
by
Lynn Garren
Browse files
move definition of constructor to make Visual C++ happy
parent
3a02f2fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
HepPDT/HepPDT/DecayChannelT.hh
View file @
32cbc307
// $Id: DecayChannelT.hh,v 1.1.1.1 200
3
/0
7
/1
5
2
0
:1
5:05
garren Exp $
// $Id: DecayChannelT.hh,v 1.1.1.1
.2.1
200
4
/0
2
/1
1
2
2
:1
6: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:
...
...
HepPDT/HepPDT/DecayChannelT.icc
View file @
32cbc307
// $Id: DecayChannelT.icc,v 1.1.1.1 200
3
/0
7
/1
5
2
0
:1
5:05
garren Exp $
// $Id: DecayChannelT.icc,v 1.1.1.1
.2.1
200
4
/0
2
/1
1
2
2
:1
6: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()
{ ; }
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment