ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
Tools
McEventCollectionFilter
src
SiliconHitsTruthRelink.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 SILICONHITSTRUTHRELINK_H
6
#define SILICONHITSTRUTHRELINK_H
7
8
// Base class include
9
#include "
HitsTruthRelinkBase.h
"
10
11
#include <
InDetSimEvent/SiHitCollection.h
>
12
13
14
class
SiliconHitsTruthRelink
:
public
HitsTruthRelinkBase
15
{
16
public
:
17
SiliconHitsTruthRelink
(
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<SiHitCollection>
m_inputHitsKey
{
this
,
"InputHits"
,
""
,
"Input silicon hits name"
};
24
SG::WriteHandleKey<SiHitCollection>
m_outputHitsKey
{
this
,
"OutputHits"
,
""
,
"Output silicon hits name"
};
25
};
26
27
#endif
HitsTruthRelinkBase.h
SiHitCollection.h
HitsTruthRelinkBase::HitsTruthRelinkBase
HitsTruthRelinkBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HitsTruthRelinkBase.cxx:8
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
SiliconHitsTruthRelink::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
SiliconHitsTruthRelink.cxx:27
SiliconHitsTruthRelink::m_inputHitsKey
SG::ReadHandleKey< SiHitCollection > m_inputHitsKey
Definition
SiliconHitsTruthRelink.h:23
SiliconHitsTruthRelink::initialize
virtual StatusCode initialize() override
Definition
SiliconHitsTruthRelink.cxx:14
SiliconHitsTruthRelink::SiliconHitsTruthRelink
SiliconHitsTruthRelink(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SiliconHitsTruthRelink.cxx:8
SiliconHitsTruthRelink::m_outputHitsKey
SG::WriteHandleKey< SiHitCollection > m_outputHitsKey
Definition
SiliconHitsTruthRelink.h:24
Generated on
for ATLAS Offline Software by
1.17.0