|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef TRIGOUTPUTHANDLING_HLTEDMCREATOR_H
5 #define TRIGOUTPUTHANDLING_HLTEDMCREATOR_H 1
12 #include "GaudiKernel/ServiceHandle.h"
130 const std::string&
name,
131 const IInterface*
parent );
141 Gaudi::Property<std::vector<std::string>>
m_fixLinks{
this,
"FixLinks", {},
"Which keys of the TrigCompositeContainer WriteHandleKeyArray might need to have their (e.g. feature) element links re-mapped outside of views"};
145 Gaudi::Property<bool>
m_dumpSGBefore{
this,
"dumpSGBefore",
false,
"Dump SG content before the merging"};
146 Gaudi::Property<bool>
m_dumpSGAfter {
this,
"dumpSGAfter",
false,
"Dump SG content after the merging"};
148 #define DEF_VIEWS(__TYPE) \
149 SG::ReadHandleKeyArray< ViewContainer > m_##__TYPE##Views{ this, #__TYPE"Views", {}, "Name views from where the "#__TYPE" will be read"}
153 #define DEF_KEY(__TYPE) \
154 SG::WriteHandleKeyArray<__TYPE> m_##__TYPE{ this, #__TYPE, {}, "Required collections of "#__TYPE}; \
156 SG::ReadHandleKeyArray<__TYPE> m_##__TYPE##InViews{ this, #__TYPE"InViews", {}, "Names of "#__TYPE" in respective views"}
158 #define DEF_XAOD_KEY(__TYPE) \
159 SG::WriteHandleKeyArray<xAOD::__TYPE> m_##__TYPE{ this, #__TYPE, {}, "Required collections of xAOD::"#__TYPE};\
161 SG::ReadHandleKeyArray<xAOD::__TYPE> m_##__TYPE##InViews{ this, #__TYPE"InViews", {}, "Names of xAOD::"#__TYPE" in respective views"}
214 #define DEF_XAOD_KEY_SHALLOW(__TYPE) \
215 SG::ReadHandleKeyArray<xAOD::__TYPE> m_##__TYPE##ShallowCopy{ this, #__TYPE"ShallowCopy", {}, "Required collections of wiht Aux of type ShallowAuxContainerxAOD::"#__TYPE}; \
216 SG::WriteHandleKeyArray<xAOD::__TYPE> m_##__TYPE##ShallowCopyOut
222 #undef DEF_XAOD_KEY_SHALLOW
275 template<
typename T,
typename STORE,
typename G,
typename M >
282 EventContext
const& context,
T &
output )
const;
286 EventContext
const& context,
T &
output )
const;
291 #endif //> !TRIGOUTPUTHANDLING_HLTEDMCREATOR_H
Gaudi::Property< std::vector< std::string > > m_fixLinks
AFPToFTrackContainer_v1 AFPToFTrackContainer
AFPProtonContainer_v1 AFPProtonContainer
Gaudi::Property< bool > m_dumpSGBefore
SG::WriteDecorHandleKeyArray< xAOD::TrigCompositeContainer, std::vector< SG::sgkey_t > > m_remapLinkColKeys
SG::ReadHandleKeyArray< ViewContainer > & views
DEF_XAOD_KEY(TrackParticleContainer)
DEF_XAOD_KEY(ElectronContainer)
AFPVertexContainer_v1 AFPVertexContainer
DEF_XAOD_KEY(jFexLRJetRoIContainer)
DEF_XAOD_KEY(BTaggingContainer)
DEF_XAOD_KEY(AFPSiHitsClusterContainer)
jFexTauRoIContainer_v1 jFexTauRoIContainer
DEF_XAOD_KEY(TrigRingerRingsContainer)
jFexSumETRoIContainer_v1 jFexSumETRoIContainer
TauTrackContainer_v1 TauTrackContainer
Definition of the current TauTrack container version.
DEF_XAOD_KEY(jFexMETRoIContainer)
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
DEF_XAOD_KEY(L2CombinedMuonContainer)
vecmem::edm::container< TrackParticleInterface, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float > > TrackParticleContainer
SoA, GPU friendly TrackParticleContainer.
BTagVertexContainer_v1 BTagVertexContainer
Definition of the current "BTagging container version".
jFexSRJetRoIContainer_v1 jFexSRJetRoIContainer
DEF_XAOD_KEY(MuonContainer)
DEF_XAOD_KEY_SHALLOW(CaloClusterContainer)
DEF_KEY(TrigRoiDescriptorCollection)
Storable container for CaloCluster.
jFexMETRoIContainer_v1 jFexMETRoIContainer
jFexLRJetRoIContainer_v1 jFexLRJetRoIContainer
StatusCode fixLinks() const
jFexFwdElRoIContainer_v1 jFexFwdElRoIContainer
gFexJetRoIContainer_v1 gFexJetRoIContainer
eFexTauRoIContainer_v1 eFexTauRoIContainer
DEF_XAOD_KEY(jFexTauRoIContainer)
DEF_XAOD_KEY(L2IsoMuonContainer)
virtual StatusCode createOutput(const EventContext &context) const override
DEF_XAOD_KEY(TrigRNNOutputContainer)
SG::WriteDecorHandleKeyArray< xAOD::TrigCompositeContainer, std::vector< xAOD::TrigComposite::index_type > > m_remapLinkColIndices
Property holding a SG store/key/clid from which a ReadHandle is made.
TrigRingerRingsContainer_v2 TrigRingerRingsContainer
Define the latest version of the TrigRingerRingsContainer class.
Container from TrigEMCluster type objects.
SG::WriteHandleKeyArray< T > & out
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
DEF_XAOD_KEY(TrigPhotonContainer)
DEF_XAOD_KEY(gFexJetRoIContainer)
DEF_XAOD_KEY(TrigBphysContainer)
Container from TrigComposite type objects.
DEF_XAOD_KEY(TauJetContainer)
DEF_XAOD_KEY(TrigMissingETContainer)
Gaudi::Property< bool > m_dumpSGAfter
DEF_XAOD_KEY(jFexSumETRoIContainer)
DEF_XAOD_KEY(JetContainer)
BTaggingContainer_v1 BTaggingContainer
Definition of the current "BTagging container version".
DEF_XAOD_KEY(AFPVertexContainer)
StatusCode initHandles(const HandlesGroup< T > &handles)
Init related handles.
DEF_XAOD_KEY(gFexGlobalRoIContainer)
::StatusCode StatusCode
StatusCode definition for legacy code.
L2StandAloneMuonContainer_v2 L2StandAloneMuonContainer
Define the latest version of the muon SA container.
DEF_XAOD_KEY(AFPTrackContainer)
DEF_XAOD_KEY(TauTrackContainer)
DEF_XAOD_KEY(eFexEMRoIContainer)
const SG::ReadHandleKeyArray< ViewContainer > & views
StatusCode viewsMerge(ViewContainer const &views, const SG::ReadHandleKey< T > &inViewKey, EventContext const &context, T &output) const
DEF_XAOD_KEY(TrigT2MbtsBitsContainer)
DEF_XAOD_KEY(MuonRoIContainer)
gFexGlobalRoIContainer_v1 gFexGlobalRoIContainer
DEF_XAOD_KEY(CaloClusterContainer)
DEF_XAOD_KEY(HIEventShapeContainer)
TauJetContainer_v3 TauJetContainer
Definition of the current "taujet container version".
const SG::WriteHandleKeyArray< T > & out
TrigBphysContainer_v1 TrigBphysContainer
DEF_XAOD_KEY(PhotonContainer)
File: TrigPhotonContainer.h.
StatusCode initAuxKey(const std::vector< SG::VarHandleKey * > &keys)
Register AuxStore keys for the given keys.
DEF_XAOD_KEY(TrigCompositeContainer)
DEF_XAOD_KEY(jFexSRJetRoIContainer)
DEF_XAOD_KEY(jFexFwdElRoIContainer)
generator
Configure Herwig7 These are the commands corresponding to what would go into the regular Herwig infil...
L2CombinedMuonContainer_v1 L2CombinedMuonContainer
Define the latest version of the muon CB container.
DEF_XAOD_KEY(eFexTauRoIContainer)
StatusCode createIfMissing(const EventContext &context, const ConstHandlesGroup< T > &handles, G &generator, M merger) const
DEF_XAOD_KEY_SHALLOW(JetContainer)
DEF_XAOD_KEY(TrigCaloClusterContainer)
HandlesGroup(SG::WriteHandleKeyArray< T > &out_, SG::ReadHandleKeyArray< T > &in_, SG::ReadHandleKeyArray< ViewContainer > &views_)
ConstHandlesGroup(const SG::WriteHandleKeyArray< T > &out_, const SG::ReadHandleKeyArray< T > &in_, const SG::ReadHandleKeyArray< ViewContainer > &views_)
DEF_XAOD_KEY(BTagVertexContainer)
DEF_XAOD_KEY(VertexContainer)
JetContainer_v1 JetContainer
Definition of the current "jet container version".
HIEventShapeContainer_v2 HIEventShapeContainer
Define the latest version of the container.
virtual StatusCode initialize() override
const SG::ReadHandleKeyArray< T > & in
DEF_XAOD_KEY(L2StandAloneMuonContainer)
File: TrigElectronContainer.h.
AFPTrackContainer_v2 AFPTrackContainer
MuonRoIContainer_v1 MuonRoIContainer
Container from TrigCaloCluster type objects.
AFPSiHitsClusterContainer_v1 AFPSiHitsClusterContainer
DEF_XAOD_KEY(AFPToFTrackContainer)
DEF_XAOD_KEY(TrigEMClusterContainer)
DEF_XAOD_KEY(AFPProtonContainer)
StatusCode noMerge(ViewContainer const &views, const SG::ReadHandleKey< T > &inViewKey, EventContext const &context, T &output) const
eFexEMRoIContainer_v1 eFexEMRoIContainer
virtual ~HLTEDMCreator() override=default
SG::ReadHandleKeyArray< T > & in
L2IsoMuonContainer_v1 L2IsoMuonContainer
Define the latest version of the muon Iso container.
Tool capable of creating collections missing (early rejection) after HLT processing....
DEF_XAOD_KEY(TrigElectronContainer)