ATLAS Offline Software
Public Member Functions | List of all members
JetSubStructureUtils::EnergyCorrelator Class Reference

#include <EnergyCorrelator.h>

Inheritance diagram for JetSubStructureUtils::EnergyCorrelator:
Collaboration diagram for JetSubStructureUtils::EnergyCorrelator:

Public Member Functions

 EnergyCorrelator (int N, double beta, Measure measure=pt_R, Strategy strategy=storage_array)
 
virtual double result (const fastjet::PseudoJet &jet) const
 
virtual std::string description () const
 
virtual TOut result (const xAOD::Jet &jet) const
 
virtual double result (const xAOD::Jet &jet) const
 

Detailed Description

Definition at line 13 of file EnergyCorrelator.h.

Constructor & Destructor Documentation

◆ EnergyCorrelator()

JetSubStructureUtils::EnergyCorrelator::EnergyCorrelator ( int  N,
double  beta,
Measure  measure = pt_R,
Strategy  strategy = storage_array 
)
inline

Definition at line 16 of file EnergyCorrelator.h.

16  :
17  fastjet::contrib::EnergyCorrelator(N, beta, measure, strategy) {};

Member Function Documentation

◆ description()

virtual std::string JetSubStructureUtils::EnergyCorrelator::description ( ) const
inlinevirtual

Definition at line 24 of file EnergyCorrelator.h.

24  {
26  };

◆ result() [1/3]

virtual double JetSubStructureUtils::EnergyCorrelator::result ( const fastjet::PseudoJet &  jet) const
inlinevirtual

Definition at line 20 of file EnergyCorrelator.h.

20  {
22  };

◆ result() [2/3]

virtual TOut JetSubStructureUtils::SubstructureCalculator< TOut >::result
inline

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  }

◆ result() [3/3]

virtual double JetSubStructureUtils::SubstructureCalculator< double >::result ( const xAOD::Jet jet) const
inlinevirtualinherited

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:
xAOD::strategy
strategy
Definition: L2CombinedMuon_v1.cxx:107
get_generator_info.result
result
Definition: get_generator_info.py:21
JetSubStructureUtils::EnergyCorrelator::result
virtual double result(const fastjet::PseudoJet &jet) const
Definition: EnergyCorrelator.h:20
JetTiledMap::N
@ N
Definition: TiledEtaPhiMap.h:44
JetSubStructureUtils::SubstructureCalculator< double >::result
virtual double 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
MuonParameters::beta
@ beta
Definition: MuonParamDefs.h:144
python.compressB64.c
def c
Definition: compressB64.py:93
description
std::string description
glabal timer - how long have I taken so far?
Definition: hcg.cxx:88