ATLAS Offline Software
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
9
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
}
29
30
protected
:
31
HepMC::ConstGenParticlePtr
getPrimary
();
32
34
std::string
m_key
;
35
};
36
37
#endif //G4ATLASTESTS_SIMTESTTOOLBASE_H
GenParticle_fwd.h
SimTestToolBase::SimTestToolBase
SimTestToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
SimTestToolBase.cxx:11
SimTestHisto
Utility helper class for dealing with histograms in the sim tests.
Definition:
SimTestHisto.h:26
SimTestToolBase
Definition:
SimTestToolBase.h:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
SimTestToolBase::initialize
virtual StatusCode initialize()
Definition:
SimTestToolBase.h:25
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition:
GenParticle.h:38
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
SimTestToolBase::getPrimary
HepMC::ConstGenParticlePtr getPrimary()
Definition:
SimTestToolBase.cxx:20
SimTestHisto.h
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
ISimTestTool.h
SimTestToolBase::m_key
std::string m_key
The MC truth key.
Definition:
SimTestToolBase.h:34
Generated on Thu Nov 7 2024 21:26:10 for ATLAS Offline Software by
1.8.18