9 {
10
11
15
16 const static SG::AuxElement::Accessor<const fastjet::PseudoJet*> pjAccessor("PseudoJet");
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.