ATLAS Offline Software
Public Member Functions | List of all members
JetSubStructureUtils::SubstructureCalculator< TOut > Class Template Reference

#include <SubstructureCalculator.h>

Inheritance diagram for JetSubStructureUtils::SubstructureCalculator< TOut >:
Collaboration diagram for JetSubStructureUtils::SubstructureCalculator< TOut >:

Public Member Functions

virtual TOut result (const xAOD::Jet &jet) const
 

Detailed Description

template<typename TOut>
class JetSubStructureUtils::SubstructureCalculator< TOut >

Definition at line 19 of file SubstructureCalculator.h.

Member Function Documentation

◆ result()

template<typename TOut >
virtual TOut JetSubStructureUtils::SubstructureCalculator< TOut >::result ( const xAOD::Jet jet) const
inlinevirtual

Definition at line 25 of file SubstructureCalculator.h.

25  {
26  // PS 4/18 master developent
27  // std::vector<fastjet::PseudoJet> constit_pseudojets =
28  // jet::JetConstituentFiller::constituentPseudoJets(jet);
29 
30  std::vector<fastjet::PseudoJet> constit_pseudojets;
31  std::transform(jet.getConstituents().begin(),
32  jet.getConstituents().end(),
33  std::back_inserter(constit_pseudojets),
34  [](const auto& c){
35  const xAOD::IParticle* ip = c->rawConstituent();
36  return
37  // fastjet::PseudoJet((c->rawConstituent())->p4());
38  fastjet::PseudoJet(ip->p4());
39  });
40 
41  fastjet::PseudoJet pjet = fastjet::join(constit_pseudojets);
42 
43  return result(pjet);
44  }

The documentation for this class was generated from the following file:
JetSubStructureUtils::SubstructureCalculator::result
virtual TOut result(const xAOD::Jet &jet) const
Definition: SubstructureCalculator.h:25
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.compressB64.c
def c
Definition: compressB64.py:93