16 const static SG::AuxElement::Accessor<const fastjet::PseudoJet*> pjAccessor(
"PseudoJet");
17 pjAccessor(
jet) = &pj;
27 fastjet::PseudoJet pja = pj.area_4vector();
33 if (originVertex ==
nullptr){
50 if ( parentCont ==
nullptr ) {
return jet ;}
53 static const SG::AuxElement::Accessor<ElementLink<xAOD::JetContainer> > parentELacc(
"Parent_TEMP");
56 jet.setInputType(parent.getInputType());
57 jet.setAlgorithmType(parent.getAlgorithmType());
58 jet.setSizeParameter(parent.getSizeParameter());
59 jet.setConstituentsSignalState(parent.getConstituentsSignalState());
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.
ElementLink implementation for ROOT usage.
bool extractByVertexConstituents(xAOD::Jet &jet, const PseudoJet &finalPJ, const xAOD::Vertex *vertex) const
bool extractConstituents(xAOD::Jet &, const std::vector< PseudoJet > &) const
xAOD::Jet & translate(const fastjet::PseudoJet &pj, const PseudoJetContainer &pjCont, xAOD::JetContainer &jetCont, const xAOD::Vertex *originVertex=nullptr) const
Jet_v1 Jet
Definition of the current "jet version".
Vertex_v1 Vertex
Define the latest version of the vertex class.
@ JetConstitScaleMomentum
JetContainer_v1 JetContainer
Definition of the current "jet container version".
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.