ATLAS Offline Software
Simulation
Tools
McEventCollectionFilter
src
MM_HitsTruthRelink.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MMHITSTRUTHRELINK_H
6
#define MMHITSTRUTHRELINK_H
7
8
// Base class include
9
#include "
HitsTruthRelinkBase.h
"
10
11
#include <
MuonSimEvent/MMSimHitCollection.h
>
12
13
14
class
MM_HitsTruthRelink
:
public
HitsTruthRelinkBase
15
{
16
public
:
17
MM_HitsTruthRelink
(
const
std::string &
name
, ISvcLocator *pSvcLocator);
18
19
virtual
StatusCode
initialize
()
override
;
20
virtual
StatusCode
execute
(
const
EventContext &ctx)
const override
;
21
22
private
:
23
SG::ReadHandleKey<MMSimHitCollection>
m_inputHitsKey
{
this
,
"InputHits"
,
"MM_HitsOLD"
,
"Input MM hits name"
};
24
SG::WriteHandleKey<MMSimHitCollection>
m_outputHitsKey
{
this
,
"OutputHits"
,
"MM_Hits"
,
"Output MM hits name"
};
25
};
26
27
#endif
MM_HitsTruthRelink::m_outputHitsKey
SG::WriteHandleKey< MMSimHitCollection > m_outputHitsKey
Definition:
MM_HitsTruthRelink.h:24
MM_HitsTruthRelink::m_inputHitsKey
SG::ReadHandleKey< MMSimHitCollection > m_inputHitsKey
Definition:
MM_HitsTruthRelink.h:23
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition:
StoreGate/StoreGate/ReadHandleKey.h:39
HitsTruthRelinkBase.h
MM_HitsTruthRelink::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
MM_HitsTruthRelink.cxx:27
MM_HitsTruthRelink
Definition:
MM_HitsTruthRelink.h:15
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition:
StoreGate/StoreGate/WriteHandleKey.h:40
MM_HitsTruthRelink::initialize
virtual StatusCode initialize() override
Definition:
MM_HitsTruthRelink.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
MMSimHitCollection.h
HitsTruthRelinkBase
Definition:
HitsTruthRelinkBase.h:15
MM_HitsTruthRelink::MM_HitsTruthRelink
MM_HitsTruthRelink(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
MM_HitsTruthRelink.cxx:8
Generated on Fri Jan 10 2025 21:14:18 for ATLAS Offline Software by
1.8.18