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

#include <EnergyCorrelatorGeneralized.h>

Inheritance diagram for JetSubStructureUtils::EnergyCorrelatorGeneralized:
Collaboration diagram for JetSubStructureUtils::EnergyCorrelatorGeneralized:

Public Member Functions

 EnergyCorrelatorGeneralized (int v_angles, int N, double beta, fastjet::contrib::EnergyCorrelator::Measure measure=fastjet::contrib::EnergyCorrelator::pt_R, fastjet::contrib::EnergyCorrelator::Strategy strategy=fastjet::contrib::EnergyCorrelator::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 EnergyCorrelatorGeneralized.h.

Constructor & Destructor Documentation

◆ EnergyCorrelatorGeneralized()

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

Definition at line 16 of file EnergyCorrelatorGeneralized.h.

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

Member Function Documentation

◆ description()

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

Definition at line 24 of file EnergyCorrelatorGeneralized.h.

◆ result() [1/3]

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

Definition at line 20 of file EnergyCorrelatorGeneralized.h.

◆ 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
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
JetSubStructureUtils::EnergyCorrelatorGeneralized::result
virtual double result(const fastjet::PseudoJet &jet) const
Definition: EnergyCorrelatorGeneralized.h:20
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