ATLAS Offline Software
JetBroadening.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef FOURMOMUTILS_JETBROADENING_H
6 #define FOURMOMUTILS_JETBROADENING_H
7 
8 // AthAnalysisBase/ManaCore doesn't currently include the Trigger Service
9 #ifndef XAOD_ANALYSIS
10 
13 
14 namespace FourMomUtils
15 {
17 
18  bool jetBroadening(const I4MomIter_t& iBeg, const I4MomIter_t& iEnd,
19  double& wideJetBroadening, double& totalJetBroadening,
20  CLHEP::Hep3Vector thrust, bool useThreeD = false );
21 
22  inline
23  bool jetBroadening(const INavigable4MomentumCollection* theParticles,
24  double& wideJetBroadening, double& totalJetBroadening,
25  CLHEP::Hep3Vector thrust, bool useThreeD = false ) {
26  return jetBroadening( theParticles->begin(), theParticles->end(),
27  wideJetBroadening, totalJetBroadening,
28  thrust, useThreeD );
29  }
30 }
31 
32 #endif
33 
34 #endif // FOURMOMUTILS_JETBROADENING_H
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
INavigable4Momentum.h
FourMomUtils::I4MomIter_t
INavigable4MomentumCollection::const_iterator I4MomIter_t
Definition: ForwardTerm.h:16
FourMomUtils::jetBroadening
bool jetBroadening(const I4MomIter_t &iBeg, const I4MomIter_t &iEnd, double &wideJetBroadening, double &totalJetBroadening, CLHEP::Hep3Vector thrust, bool useThreeD=false)
Definition: JetBroadening.cxx:17
FourMomUtils::thrust
CLHEP::Hep3Vector thrust(const I4MomIter_t &iBeg, const I4MomIter_t &iEnd, double &thrust_major, double &thrust_minor, bool useThreeD=false)
Definition: Event/FourMomUtils/src/Thrust.cxx:19
INavigable4MomentumCollection.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
FourMomUtils
Definition: ForwardTerm.h:14
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.