lcio/src/cpp/include/UTIL
diff -u -r1.7 -r1.8
--- LCFourVector.h 24 Mar 2006 11:11:36 -0000 1.7
+++ LCFourVector.h 28 Apr 2006 10:35:04 -0000 1.8
@@ -39,7 +39,7 @@
/** Constructor for templated type,e.g. LCFourVector<MCParticle>( myMCParticle ).
*/
- LCFourVector( const TT* lcObj) : _lcObj(lcObj) {
+ inline LCFourVector( const TT* lcObj) : _lcObj(lcObj) {
}
lcio/src/cpp/include/UTIL
diff -u -r1.7 -r1.8
--- LCFourVector.icc 24 Mar 2006 11:11:36 -0000 1.7
+++ LCFourVector.icc 28 Apr 2006 10:35:05 -0000 1.8
@@ -22,7 +22,7 @@
// specializations for the different LCObjects that have 4 vector information
template<>
- LCFourVector<MCParticle>::LCFourVector( const MCParticle* mcPart ) :
+ inline LCFourVector<MCParticle>::LCFourVector( const MCParticle* mcPart ) :
HepLorentzVector(mcPart->getMomentum()[0],
mcPart->getMomentum()[1],
mcPart->getMomentum()[2],
@@ -30,7 +30,7 @@
{
}
template<>
- LCFourVector<MCParticle>::LCFourVector(LCObject* lcObj){
+ inline LCFourVector<MCParticle>::LCFourVector(LCObject* lcObj){
_lcObj = dynamic_cast<MCParticle* >( lcObj ) ;
@@ -47,7 +47,7 @@
}
template<>
- LCFourVector<ReconstructedParticle>::LCFourVector( const ReconstructedParticle* part ) :
+ inline LCFourVector<ReconstructedParticle>::LCFourVector( const ReconstructedParticle* part ):
HepLorentzVector(part->getMomentum()[0],
part->getMomentum()[1],
part->getMomentum()[2],
@@ -55,7 +55,7 @@
{
}
template<>
- LCFourVector<ReconstructedParticle>::LCFourVector(LCObject* lcObj){
+ inline LCFourVector<ReconstructedParticle>::LCFourVector(LCObject* lcObj){
_lcObj = dynamic_cast<ReconstructedParticle* >( lcObj ) ;