ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
DictHelpers.h
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
Jet.h
JetAuxContainer.h
JetAuxContainer_v1.h
JetContainer.h
JetContainer_v1.h
JetTrigAuxContainer_v1.h
JetTrigAuxContainer_v2.h
JetTypes.h
Jet_v1.h
IParticleContainer
DataVector< IParticle > IParticleContainer
Definition
NavFourMom/NavFourMom/IParticleContainer.h:29
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::Jet_v1::setAssociatedObjects
void setAssociatedObjects(const std::string &name, const std::vector< const T * > &vec)
set associated objects from a vector of arbitrary object.
xAOD::Jet_v1::getAssociatedObjects
std::vector< const T * > getAssociatedObjects(const std::string &name) const
get associated objects as a vector<object> this compact form throws an exception if the object is not...
xAOD::Jet_v1::setAssociatedObject
void setAssociatedObject(const std::string &name, const T *vec)
set a single associated object T must inherit AuxElement (if T inherits IParticle,...
xAOD::Jet_v1::getAssociatedObject
const T * getAssociatedObject(const std::string &name) const
get a single associated object this compact form throws an exception if the object is not existing
xAOD::JetFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
Definition
JetTypes.h:17
xAOD::JetAttribute::AssoParticlesID
AssoParticlesID
Definition
JetAttributes.h:251
INST_JET_ATTRIB
#define INST_JET_ATTRIB(TYPE)
Helper macro for instantiating the "attribute function(s)".
Definition
xAODJetDict.h:41
Generated on
for ATLAS Offline Software by
1.17.0