ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
MuonD3PDMaker
src
TruthMuonsToSG.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
12
#ifndef TRUTHMMUONSTOSG_H
13
#define TRUTHMMUONSTOSG_H 1
14
15
#include "
AthenaBaseComps/AthAlgorithm.h
"
16
#include "
MCTruthClassifier/IMCTruthClassifier.h
"
17
#include "
D3PDMakerUtils/SGKeyResolver.h
"
18
#include "GaudiKernel/ToolHandle.h"
19
#include <string>
20
21
22
namespace
D3PD
{
23
24
25
class
TruthMuonsToSG
:
public
AthAlgorithm
{
26
public
:
27
TruthMuonsToSG
(
const
std::string& name, ISvcLocator* pSvcLocator);
28
29
StatusCode
initialize
();
30
StatusCode
finalize
();
31
StatusCode
execute
(
const
EventContext& ctx);
32
33
private
:
34
std::string
m_truthContainerKey
;
35
std::string
m_truthMuonContainerKey
;
36
38
SGKeyResolver
m_resolver
;
39
ToolHandle<IMCTruthClassifier>
m_classifier
;
40
};
41
42
43
}
// namespace D3PD
44
45
46
#endif
// TRUTHMUONSTOSG_H
AthAlgorithm.h
IMCTruthClassifier.h
SGKeyResolver.h
Helper to resolve the SG key to use.
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
D3PD::SGKeyResolver
Helper to resolve the SG key to use.
Definition
SGKeyResolver.h:40
D3PD::TruthMuonsToSG::finalize
StatusCode finalize()
Definition
TruthMuonsToSG.cxx:41
D3PD::TruthMuonsToSG::m_classifier
ToolHandle< IMCTruthClassifier > m_classifier
Definition
TruthMuonsToSG.h:39
D3PD::TruthMuonsToSG::TruthMuonsToSG
TruthMuonsToSG(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TruthMuonsToSG.cxx:24
D3PD::TruthMuonsToSG::m_resolver
SGKeyResolver m_resolver
Helper to resolve SG key for input collection.
Definition
TruthMuonsToSG.h:38
D3PD::TruthMuonsToSG::m_truthMuonContainerKey
std::string m_truthMuonContainerKey
Definition
TruthMuonsToSG.h:35
D3PD::TruthMuonsToSG::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TruthMuonsToSG.cxx:46
D3PD::TruthMuonsToSG::m_truthContainerKey
std::string m_truthContainerKey
Definition
TruthMuonsToSG.h:34
D3PD::TruthMuonsToSG::initialize
StatusCode initialize()
Definition
TruthMuonsToSG.cxx:35
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0