ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
ISF
ISF_Fatras
ISF_FatrasServices
src
FatrasSimTool.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef ISF_FATRASSIMTOOL_h
8
#define ISF_FATRASSIMTOOL_h
9
10
//Gaudi
11
#include "GaudiKernel/ServiceHandle.h"
12
#include "GaudiKernel/ToolHandle.h"
// for ToolHandleArray
13
#include "
CxxUtils/checker_macros.h
"
14
15
// ISF
16
#include "
ISF_Interfaces/BaseSimulatorTool.h
"
17
#include "
ISF_Interfaces/IParticleFilter.h
"
18
#include "
ISF_Interfaces/IParticleProcessor.h
"
19
20
namespace
ISF
{
21
22
class
ATLAS_NOT_THREAD_SAFE
FatrasSimTool
:
public
BaseSimulatorTool
{
// deprecated: ATLASSIM-6020
23
public
:
24
FatrasSimTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
25
26
~FatrasSimTool
();
27
28
virtual
StatusCode
initialize
()
override
;
29
30
virtual
StatusCode
simulate
(
const
EventContext& ctx,
ISFParticle
& isp,
ISFParticleContainer
&,
McEventCollection
* )
override
;
31
32
virtual
StatusCode
setupEvent
(
const
EventContext&)
override
{
return
StatusCode::SUCCESS; };
33
34
virtual
StatusCode
releaseEvent
(
const
EventContext&)
override
{
return
StatusCode::SUCCESS; };
35
36
virtual
ISF::SimulationFlavor
simFlavor
()
const override
{
return
ISF::Fatras
; };
37
38
private
:
39
41
PublicToolHandle<ISF::IParticleProcessor>
m_IDsimulationTool
{
this
,
"IDSimulationTool"
,
""
,
""
};
42
bool
m_useExtrapolator
{
true
};
43
PublicToolHandle<ISF::IParticleProcessor>
m_simulationTool
{
this
,
"SimulationTool"
,
""
,
""
};
44
PublicToolHandle<ISF::IParticleFilter>
m_particleFilter
{
this
,
"ParticleFilter"
,
""
,
""
};
45
46
};
47
48
}
49
50
#endif
BaseSimulatorTool.h
IParticleFilter.h
IParticleProcessor.h
checker_macros.h
Define macros for attributes used to control the static checker.
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition
checker_macros.h:212
ISF::BaseSimulatorTool::BaseSimulatorTool
BaseSimulatorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
BaseSimulatorTool.h:39
ISF::FatrasSimTool::FatrasSimTool
FatrasSimTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
FatrasSimTool.cxx:7
ISF::FatrasSimTool::simulate
virtual StatusCode simulate(const EventContext &ctx, ISFParticle &isp, ISFParticleContainer &, McEventCollection *) override
Definition
FatrasSimTool.cxx:40
ISF::FatrasSimTool::releaseEvent
virtual StatusCode releaseEvent(const EventContext &) override
Release Event chain - in case of an end-of event action is needed.
Definition
FatrasSimTool.h:34
ISF::FatrasSimTool::setupEvent
virtual StatusCode setupEvent(const EventContext &) override
Setup Event chain - in case of a begin-of event action is needed.
Definition
FatrasSimTool.h:32
ISF::FatrasSimTool::simFlavor
virtual ISF::SimulationFlavor simFlavor() const override
Definition
FatrasSimTool.h:36
ISF::FatrasSimTool::m_useExtrapolator
bool m_useExtrapolator
Boolean used to run with the old extrapolator setup.
Definition
FatrasSimTool.h:42
ISF::FatrasSimTool::m_simulationTool
PublicToolHandle< ISF::IParticleProcessor > m_simulationTool
Pointer to the transport AlgTool.
Definition
FatrasSimTool.h:43
ISF::FatrasSimTool::m_IDsimulationTool
PublicToolHandle< ISF::IParticleProcessor > m_IDsimulationTool
Track Creation & transport.
Definition
FatrasSimTool.h:41
ISF::FatrasSimTool::m_particleFilter
PublicToolHandle< ISF::IParticleFilter > m_particleFilter
the particle filter concerning kinematic cuts, etc.
Definition
FatrasSimTool.h:44
ISF::ISFParticle
The generic ISF particle definition,.
Definition
ISFParticle.h:42
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
Definition
McEventCollection.h:31
ISF
ISFParticleOrderedQueue.
Definition
PrimaryParticleInformation.h:13
ISF::SimulationFlavor
int SimulationFlavor
Identifier type for simulation flavor.
Definition
SimulationFlavor.h:16
ISF::Fatras
@ Fatras
Definition
SimulationFlavor.h:22
ISF::ISFParticleContainer
std::list< ISF::ISFParticle * > ISFParticleContainer
generic ISFParticle container (not necessarily a std::list!)
Definition
ISFParticleContainer.h:23
initialize
void initialize()
Definition
run_EoverP.cxx:894
type
Generated on
for ATLAS Offline Software by
1.17.0