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