#include <PseudoJetTranslator.h>
Definition at line 12 of file PseudoJetTranslator.h.
◆ PseudoJetTranslator()
| PseudoJetTranslator::PseudoJetTranslator |
( |
bool | saveArea, |
|
|
bool | saveArea4Vec ) |
|
inline |
◆ translate() [1/2]
Definition at line 43 of file PseudoJetTranslator.cxx.
46 {
48
50 if ( parentCont == nullptr ) { return jet ;}
51
52 ElementLink<xAOD::JetContainer>
el(*parentCont,
parent.index());
55
60
63
64 return jet;
65}
xAOD::Jet & translate(const fastjet::PseudoJet &pj, const PseudoJetContainer &pjCont, xAOD::JetContainer &jetCont, const xAOD::Vertex *originVertex=nullptr) const
SG::Accessor< T, ALLOC > Accessor
void setAlgorithmType(JetAlgorithmType::ID a)
void setAttribute(const std::string &name, const T &v)
void setConstituentsSignalState(JetConstitScale t)
Set the state at which constituents were when this jet was found. This function is called by jet buil...
void setSizeParameter(float p)
void setInputType(JetInput::Type t)
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".
◆ translate() [2/2]
Definition at line 7 of file PseudoJetTranslator.cxx.
9 {
10
11
15
17 pjAccessor(jet) = &pj;
18
19
21
22
23 if( pj.has_area() ){
24
27 fastjet::PseudoJet pja = pj.area_4vector();
30 }
31 }
32
33 if (originVertex == nullptr){
35 }
36 else{
38 }
39
40 return jet;
41}
const T * back() const
Access the last element in the collection as an rvalue.
value_type emplace_back(value_type pElem)
Add an element to the end of the collection.
bool extractByVertexConstituents(xAOD::Jet &jet, const PseudoJet &finalPJ, const xAOD::Vertex *vertex) const
bool extractConstituents(xAOD::Jet &, const std::vector< PseudoJet > &) const
void setJetP4(const JetFourMom_t &p4)
JetFourMom_t jetP4() const
The full 4-momentum of the particle : internal jet type.
@ JetConstitScaleMomentum
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
◆ m_saveArea
| bool PseudoJetTranslator::m_saveArea = true |
|
protected |
◆ m_saveArea4Vec
| bool PseudoJetTranslator::m_saveArea4Vec = true |
|
protected |
The documentation for this class was generated from the following files: