00001 #ifndef FOURMOMUTILS_FORWARDTERM_H
00002 #define FOURMOMUTILS_FORWARDTERM_H
00003
00004
00005 #ifndef XAOD_ANALYSIS
00006
00007 #include "NavFourMom/INavigable4MomentumCollection.h"
00008
00009 namespace FourMomUtils
00010 {
00011
00012 typedef INavigable4MomentumCollection::const_iterator I4MomIter_t;
00013
00014 double forwardTerm( const I4MomIter_t iBeg,
00015 const I4MomIter_t iEnd,
00016 double m_central,
00017 bool useThreeD = false );
00018
00019 inline
00020 double forwardTerm( const INavigable4MomentumCollection* particles,
00021 double central, bool useThreeD = false ) {
00022 return forwardTerm( particles->begin(),
00023 particles->end(),
00024 central, useThreeD );
00025 }
00026
00027 }
00028
00029 #endif
00030
00031 #endif // FOURMOMUTILS_FORWARDTERM_H