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