ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
15// ISF
19
20namespace 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
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
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
BaseSimulatorTool(const std::string &type, const std::string &name, const IInterface *parent)
FatrasSimTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode simulate(const EventContext &ctx, ISFParticle &isp, ISFParticleContainer &, McEventCollection *) override
virtual StatusCode releaseEvent(const EventContext &) override
Release Event chain - in case of an end-of event action is needed.
virtual StatusCode setupEvent(const EventContext &) override
Setup Event chain - in case of a begin-of event action is needed.
virtual ISF::SimulationFlavor simFlavor() const override
bool m_useExtrapolator
Boolean used to run with the old extrapolator setup.
PublicToolHandle< ISF::IParticleProcessor > m_simulationTool
Pointer to the transport AlgTool.
PublicToolHandle< ISF::IParticleProcessor > m_IDsimulationTool
Track Creation & transport.
PublicToolHandle< ISF::IParticleFilter > m_particleFilter
the particle filter concerning kinematic cuts, etc.
The generic ISF particle definition,.
Definition ISFParticle.h:42
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
ISFParticleOrderedQueue.
int SimulationFlavor
Identifier type for simulation flavor.
std::list< ISF::ISFParticle * > ISFParticleContainer
generic ISFParticle container (not necessarily a std::list!)
void initialize()