ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonDigitization
MuonTruthOverlayR4
src
TruthOverlay.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONTRUTHOVERLAYR4_TRUTHOVERLAY_H
5
#define MUONTRUTHOVERLAYR4_TRUTHOVERLAY_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
#include "
StoreGate/ReadHandleKey.h
"
9
#include "
StoreGate/WriteHandleKey.h
"
10
#include "
xAODMuonSimHit/MuonSimHitContainer.h
"
11
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
12
#include "GaudiKernel/SystemOfUnits.h"
13
namespace
MuonR4
{
14
class
TruthOverlay
:
public
AthReentrantAlgorithm
{
15
public
:
16
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
17
18
StatusCode
initialize
()
override
final
;
19
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
20
private
:
21
SG::ReadHandleKey<xAOD::MuonSimHitContainer>
m_sigKey
{
this
,
"SignalInputKey"
,
""
};
22
SG::ReadHandleKey<xAOD::MuonSimHitContainer>
m_bkgKey
{
this
,
"BkgInputKey"
,
""
};
23
SG::WriteHandleKey<xAOD::MuonSimHitContainer>
m_writeKey
{
this
,
"WriteKey"
,
""
};
24
25
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
26
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
27
29
Gaudi::Property<double>
m_deadTime
{
this
,
"deadTime"
, 0. *Gaudi::Units::ns};
32
Gaudi::Property<double>
m_mergeTime
{
this
,
"mergeTime"
, 0. * Gaudi::Units::ns};
33
34
Gaudi::Property<bool>
m_includePileUpTruth
{
this
,
"IncludePileUpTruth"
,
true
,
"Include pile-up truth info"
};
35
Gaudi::Property<int>
m_vetoPileUpTruthLinks
{
this
,
"VetoPileUpTruthLinks"
,
true
,
36
"Ignore links to suppressed pile-up truth"
};
37
38
};
39
}
40
41
42
43
#endif
AthReentrantAlgorithm.h
IMuonIdHelperSvc.h
MuonSimHitContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonR4::TruthOverlay
Definition
TruthOverlay.h:14
MuonR4::TruthOverlay::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
TruthOverlay.h:25
MuonR4::TruthOverlay::m_deadTime
Gaudi::Property< double > m_deadTime
Define a detector dead time.
Definition
TruthOverlay.h:29
MuonR4::TruthOverlay::m_writeKey
SG::WriteHandleKey< xAOD::MuonSimHitContainer > m_writeKey
Definition
TruthOverlay.h:23
MuonR4::TruthOverlay::m_includePileUpTruth
Gaudi::Property< bool > m_includePileUpTruth
Definition
TruthOverlay.h:34
MuonR4::TruthOverlay::m_sigKey
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_sigKey
Definition
TruthOverlay.h:21
MuonR4::TruthOverlay::execute
StatusCode execute(const EventContext &ctx) const override final
Definition
TruthOverlay.cxx:26
MuonR4::TruthOverlay::m_vetoPileUpTruthLinks
Gaudi::Property< int > m_vetoPileUpTruthLinks
Definition
TruthOverlay.h:35
MuonR4::TruthOverlay::m_bkgKey
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_bkgKey
Definition
TruthOverlay.h:22
MuonR4::TruthOverlay::initialize
StatusCode initialize() override final
Definition
TruthOverlay.cxx:15
MuonR4::TruthOverlay::m_mergeTime
Gaudi::Property< double > m_mergeTime
Define a detector merge time.
Definition
TruthOverlay.h:32
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
ServiceHandle
Definition
ClusterMakerTool.h:36
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
Generated on
for ATLAS Offline Software by
1.17.0