ATLAS Offline Software
Event
xAOD
xAODJet
xAODJet
xAODJetDict.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
/*
3
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4
*/
5
#ifndef XAODJET_XAODJETDICT_H
6
#define XAODJET_XAODJETDICT_H
7
8
// Local include(s).
9
#include "
xAODJet/Jet.h
"
10
#include "
xAODJet/JetContainer.h
"
11
#include "
xAODJet/JetAuxContainer.h
"
12
#include "
xAODJet/versions/Jet_v1.h
"
13
#include "
xAODJet/versions/JetContainer_v1.h
"
14
#include "
xAODJet/versions/JetAuxContainer_v1.h
"
15
16
#if !defined(SIMULATIONBASE) and !defined(GENERATIONBASE)
17
#include "
xAODJet/versions/JetTrigAuxContainer_v1.h
"
18
#include "
xAODJet/versions/JetTrigAuxContainer_v2.h
"
19
#endif // not SIMULATIONBASE or GENERATIONBASE
20
21
#include "
xAODJet/JetTypes.h
"
22
23
// EDM include(s).
24
#include "
xAODCore/tools/DictHelpers.h
"
25
26
// System include(s).
27
#include <vector>
28
29
// Instantiate all necessary types for the dictionary.
30
namespace
{
31
struct
GCCXML_DUMMY_INSTANTIATION_XAODJET {
32
// Local type(s).
33
XAOD_INSTANTIATE_NS_CONTAINER_TYPES
(
xAOD
,
JetContainer_v1
);
34
// Type(s) needed for the dictionary generation to succeed.
35
XAOD_INSTANTIATE_NS_CONTAINER_TYPES
(
xAOD
,
IParticleContainer
);
36
xAOD::JetFourMom_t
dummy
;
37
};
38
}
39
41
#define INST_JET_ATTRIB( TYPE ) \
42
template TYPE \
43
xAOD::Jet::getAttribute< TYPE >( xAOD::JetAttribute::AttributeID ) const; \
44
template TYPE xAOD::Jet::getAttribute< TYPE >( const std::string& ) const; \
45
template void \
46
xAOD::Jet::setAttribute< TYPE >( xAOD::JetAttribute::AttributeID, \
47
const TYPE& ); \
48
template void xAOD::Jet::setAttribute< TYPE >( const std::string&, \
49
const TYPE& )
50
51
INST_JET_ATTRIB
(
float
);
52
INST_JET_ATTRIB
(
int
);
53
INST_JET_ATTRIB
( std::vector< float > );
54
INST_JET_ATTRIB
( std::vector< int > );
55
INST_JET_ATTRIB
(
xAOD::JetFourMom_t
);
56
57
// Clean up.
58
#undef INST_JET_ATTRIB
59
60
template
std::vector< const xAOD::IParticle* >
61
xAOD::Jet::getAssociatedObjects< xAOD::IParticle >
(
xAOD::JetAttribute::AssoParticlesID
)
const
;
62
template
std::vector< const xAOD::IParticle* >
63
xAOD::Jet::getAssociatedObjects< xAOD::IParticle >
(
const
std::string& )
const
;
64
template
void
65
xAOD::Jet::setAssociatedObjects< xAOD::IParticle >
(
const
std::string&,
66
const
std::vector< const xAOD::IParticle* >& );
67
68
template
const
xAOD::IParticle
*
69
xAOD::Jet::getAssociatedObject< xAOD::IParticle >
(
xAOD::JetAttribute::AssoParticlesID
)
const
;
70
template
const
xAOD::IParticle
*
71
xAOD::Jet::getAssociatedObject< xAOD::IParticle >
(
const
std::string& )
const
;
72
template
void
73
xAOD::Jet::setAssociatedObject< xAOD::IParticle >
(
const
std::string&,
74
const
xAOD::IParticle
* );
75
76
#endif // XAODJET_XAODJETDICT_H
setAssociatedObjects< xAOD::IParticle >
template void xAOD::Jet::setAssociatedObjects< xAOD::IParticle >(const std::string &, const std::vector< const xAOD::IParticle * > &)
Jet.h
INST_JET_ATTRIB
#define INST_JET_ATTRIB(TYPE)
Helper macro for instantiating the "attribute function(s)".
Definition:
xAODJetDict.h:41
getAssociatedObjects< xAOD::IParticle >
template std::vector< const xAOD::IParticle * > xAOD::Jet::getAssociatedObjects< xAOD::IParticle >(xAOD::JetAttribute::AssoParticlesID) const
JetAuxContainer_v1.h
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
getAssociatedObject< xAOD::IParticle >
template const xAOD::IParticle * xAOD::Jet::getAssociatedObject< xAOD::IParticle >(xAOD::JetAttribute::AssoParticlesID) const
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
Jet_v1.h
JetTrigAuxContainer_v1.h
DictHelpers.h
python.xAODType.dummy
dummy
Definition:
xAODType.py:4
setAssociatedObject< xAOD::IParticle >
template void xAOD::Jet::setAssociatedObject< xAOD::IParticle >(const std::string &, const xAOD::IParticle *)
JetTrigAuxContainer_v2.h
xAOD::JetAttribute::AssoParticlesID
AssoParticlesID
Definition:
JetAttributes.h:251
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
JetContainer_v1.h
xAOD::JetFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
Definition:
JetTypes.h:17
XAOD_INSTANTIATE_NS_CONTAINER_TYPES
#define XAOD_INSTANTIATE_NS_CONTAINER_TYPES(NS, TYPE)
Macro instantiating all the container "interface" and smart pointer types that we need a dictionary f...
Definition:
DictHelpers.h:40
JetContainer.h
JetAuxContainer.h
xAOD::JetContainer_v1
DataVector< xAOD::Jet_v1 > JetContainer_v1
The container is a simple typedef for now.
Definition:
JetContainer_v1.h:19
JetTypes.h
Generated on Sun Dec 22 2024 21:22:50 for ATLAS Offline Software by
1.8.18