ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Atlas
G4AtlasTests
src
SimTestToolBase.h
Go to the documentation of this file.
1
/* -*- C++ -*- */
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef G4ATLASTESTS_SIMTESTTOOLBASE_H
8
#define G4ATLASTESTS_SIMTESTTOOLBASE_H
12
#include "
AthenaBaseComps/AthAlgTool.h
"
13
#include "
G4AtlasTests/ISimTestTool.h
"
14
15
#include "
SimTestHisto.h
"
16
17
#include "
AtlasHepMC/GenParticle_fwd.h
"
18
19
20
class
SimTestToolBase
:
public
SimTestHisto
,
public
extends<AthAlgTool, ISimTestTool> {
21
public
:
23
24
SimTestToolBase
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
25
virtual
StatusCode
initialize
() {
26
return
StatusCode::SUCCESS;
27
}
28
29
30
protected
:
31
HepMC::ConstGenParticlePtr
getPrimary
();
32
34
std::string
m_key
;
35
};
36
37
#endif
//G4ATLASTESTS_SIMTESTTOOLBASE_H
AthAlgTool.h
GenParticle_fwd.h
ISimTestTool.h
SimTestHisto.h
SimTestHisto::SimTestHisto
SimTestHisto()=default
SimTestToolBase::m_key
std::string m_key
The MC truth key.
Definition
SimTestToolBase.h:34
SimTestToolBase::SimTestToolBase
SimTestToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
SimTestToolBase.cxx:11
SimTestToolBase::initialize
virtual StatusCode initialize()
Definition
SimTestToolBase.h:25
SimTestToolBase::getPrimary
HepMC::ConstGenParticlePtr getPrimary()
Definition
SimTestToolBase.cxx:20
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition
GenParticle.h:38
type
Generated on
for ATLAS Offline Software by
1.14.0