00001 #ifndef FOURMOMUTILS_FOXWOLFRAM_H
00002 #define FOURMOMUTILS_FOXWOLFRAM_H
00003
00004
00005 #ifndef XAOD_ANALYSIS
00006
00007 #include <vector>
00008 #include "EventKernel/INavigable4Momentum.h"
00009 #include "NavFourMom/INavigable4MomentumCollection.h"
00010
00011 namespace FourMomUtils
00012 {
00013
00014 typedef INavigable4MomentumCollection::const_iterator I4MomIter_t;
00015
00016 bool foxWolfram( const I4MomIter_t iBeg,
00017 const I4MomIter_t iEnd,
00018 std::vector<double>& H, unsigned int order = 5 );
00019
00020 inline
00021 bool foxWolfram( const INavigable4MomentumCollection* theParticles,
00022 std::vector<double>& H, unsigned int order = 5 ) {
00023 return foxWolfram( theParticles->begin(), theParticles->end(),
00024 H, order );
00025 }
00026 }
00027
00028 #endif
00029
00030 #endif // FOURMOMUTILS_FOXWOLFRAM_H