ATLAS Offline Software
Reconstruction
Jet
JetRec
JetRec
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
8
#include "
xAODJet/JetContainer.h
"
9
#include "fastjet/PseudoJet.hh"
10
#include "
JetRec/PseudoJetContainer.h
"
11
12
class
PseudoJetTranslator
{
13
public
:
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
27
protected
:
28
bool
m_saveArea
=
true
;
29
bool
m_saveArea4Vec
=
true
;
30
};
31
#endif
PseudoJetContainer
Definition:
PseudoJetContainer.h:48
PseudoJetTranslator
Definition:
PseudoJetTranslator.h:12
PseudoJetTranslator::m_saveArea
bool m_saveArea
Definition:
PseudoJetTranslator.h:28
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
PseudoJetTranslator::translate
xAOD::Jet & translate(const fastjet::PseudoJet &pj, const PseudoJetContainer &pjCont, xAOD::JetContainer &jetCont, const xAOD::Vertex *originVertex=nullptr) const
Definition:
PseudoJetTranslator.cxx:7
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
xAOD::Jet_v1
Class describing a jet.
Definition:
Jet_v1.h:57
PseudoJetContainer.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition:
Vertex_v1.h:42
JetContainer.h
PseudoJetTranslator::m_saveArea4Vec
bool m_saveArea4Vec
Definition:
PseudoJetTranslator.h:29
PseudoJetTranslator::PseudoJetTranslator
PseudoJetTranslator(bool saveArea, bool saveArea4Vec)
Definition:
PseudoJetTranslator.h:16
Generated on Thu Nov 7 2024 21:24:14 for ATLAS Offline Software by
1.8.18