ATLAS Offline Software
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"
15 
16 #if !defined(SIMULATIONBASE) and !defined(GENERATIONBASE)
19 #endif // not SIMULATIONBASE or GENERATIONBASE
20 
21 #include "xAODJet/JetTypes.h"
22 
23 // EDM include(s).
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).
34  // Type(s) needed for the dictionary generation to succeed.
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 );
53 INST_JET_ATTRIB( std::vector< float > );
54 INST_JET_ATTRIB( std::vector< int > );
56 
57 // Clean up.
58 #undef INST_JET_ATTRIB
59 
60 template std::vector< const xAOD::IParticle* >
62 template std::vector< const xAOD::IParticle* >
63 xAOD::Jet::getAssociatedObjects< xAOD::IParticle >( const std::string& ) const;
64 template void
66  const std::vector< const xAOD::IParticle* >& );
67 
68 template const xAOD::IParticle*
70 template const xAOD::IParticle*
71 xAOD::Jet::getAssociatedObject< xAOD::IParticle >( const std::string& ) const;
72 template void
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:40
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:581
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