ATLAS Offline Software
Classes | Namespaces | Functions
Reconstruction/Jet/JetEvent/JetEvent/Jet.h File Reference
#include "NavFourMom/INavigable4MomentumCollection.h"
#include "Navigation/Navigable.h"
#include "FourMom/Lib/P4ImplPxPyPzE.h"
#include "EventKernel/ISignalState.h"
#include "ParticleEvent/ParticleSigStateImpl.h"
#include "JetEvent/JetKeyDescriptor.h"
#include "JetEvent/JetAssociationBase.h"
#include "JetEvent/JetTagInfoBase.h"
#include "JetEvent/JetMoment.h"
#include <vector>
#include <any>
#include "JetEvent/Jet.icc"

Go to the source code of this file.

Classes

class  Jet
 Basic data class defines behavior for all Jet objects
The Jet class is the principal data class for all reconstructed jets,
independent of the signal course. It describes a navigable composite
reconstruction objects with with a four-momentum representation consistent
with all other reconstruction objects. Its constituents are referenced as
generic INavigable4Momentum types.
More...
 

Namespaces

 fastjet
 

Functions

void diff (const Jet &rJet1, const Jet &rJet2, std::map< std::string, double > varDiff)
 Difference between jets - Non-Class function required by trigger. More...
 

Function Documentation

◆ diff()

void diff ( const Jet rJet1,
const Jet rJet2,
std::map< std::string, double >  varDiff 
)

Difference between jets - Non-Class function required by trigger.

Definition at line 631 of file Jet.cxx.

632 {
633  // Since this isn't part of the Jet Class, we need to re-define it here
634  // not very elegant
635  double ignoreWeight = 1.0e-06;
636  // Compare sizes
637  if(rJet1.size() != rJet2.size())
638  varDiff["NConstituents"] = rJet1.size() - rJet2.size();
639 
640  // Compare 4 momenta
641  if(fabs(rJet1.e() - rJet2.e()) > ignoreWeight)
642  varDiff["e"] = rJet1.e() - rJet2.e();
643  if(fabs(rJet1.px() - rJet2.px()) > ignoreWeight)
644  varDiff["px"] = rJet1.px() - rJet2.px();
645  if(fabs(rJet1.py() - rJet2.py()) > ignoreWeight)
646  varDiff["py"] = rJet1.py() - rJet2.py();
647  if(fabs(rJet1.pz() - rJet2.pz()) > ignoreWeight)
648  varDiff["pz"] = rJet1.pz() - rJet2.pz();
649 }
ParticleSigStateImpl::py
virtual double py() const
y component of momentum
Definition: ParticleSigStateImpl.h:679
ParticleSigStateImpl::e
virtual double e() const
energy
Definition: ParticleSigStateImpl.h:751
ParticleSigStateImpl::px
virtual double px() const
We re-define here extra class routines that will allow direct access to signal state kinematics witho...
Definition: ParticleSigStateImpl.h:671
Jet::size
size_t size() const
Size of constituent store.
ParticleSigStateImpl::pz
virtual double pz() const
z component of momentum
Definition: ParticleSigStateImpl.h:687