ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
FourMomUtils
FourMomUtils
JetMasses.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_JETMASSES_H
6
#define FOURMOMUTILS_JETMASSES_H
7
8
// AthAnalysisBase/ManaCore doesn't currently include the Trigger Service
9
#ifndef XAOD_ANALYSIS
10
11
#include "
EventKernel/INavigable4Momentum.h
"
12
#include "
NavFourMom/INavigable4MomentumCollection.h
"
13
14
namespace
FourMomUtils
15
{
16
typedef
INavigable4MomentumCollection::const_iterator
I4MomIter_t
;
17
18
bool
jetMasses
(
const
I4MomIter_t
& iBeg,
const
I4MomIter_t
& iEnd,
19
double
& heavyJetMass,
double
& lightJetMass,
20
const
CLHEP::Hep3Vector&
thrust
);
21
22
inline
23
bool
jetMasses
(
const
INavigable4MomentumCollection
* theParticles,
24
double
& heavyJetMass,
double
& lightJetMass,
25
CLHEP::Hep3Vector
thrust
) {
26
return
jetMasses
( theParticles->
begin
(), theParticles->
end
(),
27
heavyJetMass, lightJetMass,
thrust
);
28
}
29
}
30
31
#endif
32
33
#endif
// FOURMOMUTILS_JETMASSES_H
INavigable4MomentumCollection.h
INavigable4MomentumCollection
DataVector< INavigable4Momentum > INavigable4MomentumCollection
Definition
INavigable4MomentumCollection.h:22
INavigable4Momentum.h
DataVector< INavigable4Momentum >::const_iterator
DataModel_detail::const_iterator< DataVector > const_iterator
Definition
DataVector.h:838
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
FourMomUtils
Definition
ForwardTerm.h:14
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
FourMomUtils::I4MomIter_t
INavigable4MomentumCollection::const_iterator I4MomIter_t
Definition
ForwardTerm.h:16
FourMomUtils::jetMasses
bool jetMasses(const I4MomIter_t &iBeg, const I4MomIter_t &iEnd, double &heavyJetMass, double &lightJetMass, const CLHEP::Hep3Vector &thrust)
Definition
JetMasses.cxx:18
Generated on
for ATLAS Offline Software by
1.17.0