ATLAS Offline Software
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
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
();
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
D3PD::SGKeyResolver
Helper to resolve the SG key to use.
Definition:
SGKeyResolver.h:40
AthAlgorithm.h
D3PD::TruthMuonsToSG::m_truthContainerKey
std::string m_truthContainerKey
Definition:
TruthMuonsToSG.h:34
D3PD
Block filler tool for noisy FEB information.
Definition:
CaloCellDetailsFillerTool.cxx:29
IMCTruthClassifier.h
SGKeyResolver.h
Helper to resolve the SG key to use.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::TruthMuonsToSG::m_truthMuonContainerKey
std::string m_truthMuonContainerKey
Definition:
TruthMuonsToSG.h:35
D3PD::TruthMuonsToSG::execute
StatusCode execute()
Definition:
TruthMuonsToSG.cxx:46
AthAlgorithm
Definition:
AthAlgorithm.h:47
D3PD::TruthMuonsToSG::m_classifier
ToolHandle< IMCTruthClassifier > m_classifier
Definition:
TruthMuonsToSG.h:39
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
D3PD::TruthMuonsToSG
Definition:
TruthMuonsToSG.h:25
D3PD::TruthMuonsToSG::finalize
StatusCode finalize()
Definition:
TruthMuonsToSG.cxx:41
D3PD::TruthMuonsToSG::initialize
StatusCode initialize()
Definition:
TruthMuonsToSG.cxx:35
D3PD::TruthMuonsToSG::m_resolver
SGKeyResolver m_resolver
Helper to resolve SG key for input collection.
Definition:
TruthMuonsToSG.h:38
D3PD::TruthMuonsToSG::TruthMuonsToSG
TruthMuonsToSG(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
TruthMuonsToSG.cxx:24
Generated on Thu Jan 9 2025 21:21:42 for ATLAS Offline Software by
1.8.18