ATLAS Offline Software
Loading...
Searching...
No Matches
PseudoJetTranslator.h
Go to the documentation of this file.
1// this file is -*- C++ -*-
2/*
3 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4*/
5#ifndef JETREC_PSEUDOJETTRANSLATOR_H
6#define JETREC_PSEUDOJETTRANSLATOR_H
7
9#include "fastjet/PseudoJet.hh"
11
13public:
14
15
16 PseudoJetTranslator(bool saveArea, bool saveArea4Vec) : m_saveArea(saveArea), m_saveArea4Vec(saveArea4Vec) {}
17
18 xAOD::Jet& translate(const fastjet::PseudoJet& pj,
19 const PseudoJetContainer& pjCont,
20 xAOD::JetContainer& jetCont, const xAOD::Vertex* originVertex=nullptr) const ;
21
22 xAOD::Jet& translate(const fastjet::PseudoJet& pj,
23 const PseudoJetContainer& pjCont,
24 xAOD::JetContainer& jetCont,
25 const xAOD::Jet &parent, const xAOD::Vertex* originVertex=nullptr) const ;
26
27protected:
28 bool m_saveArea = true;
29 bool m_saveArea4Vec = true;
30};
31#endif
xAOD::Jet & translate(const fastjet::PseudoJet &pj, const PseudoJetContainer &pjCont, xAOD::JetContainer &jetCont, const xAOD::Vertex *originVertex=nullptr) const
PseudoJetTranslator(bool saveArea, bool saveArea4Vec)
Jet_v1 Jet
Definition of the current "jet version".
Vertex_v1 Vertex
Define the latest version of the vertex class.
JetContainer_v1 JetContainer
Definition of the current "jet container version".