ATLAS Offline Software
Loading...
Searching...
No Matches
LegacySimSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ISF_SERVICES_ISF_LEGACYSIMSVC_H
6#define ISF_SERVICES_ISF_LEGACYSIMSVC_H 1
7
8// STL includes
9#include <string>
10
11// Gaudi
12#include "GaudiKernel/ToolHandle.h"
13
14// ISF includes
17
19
20namespace ISF {
21
25 public:
26
27 //** Constructor with parameters */
28 LegacySimSvc( const std::string& name, ISvcLocator* pSvcLocator );
29
31 virtual ~LegacySimSvc() = default;
32
34 virtual StatusCode initialize() override;
35
37 virtual StatusCode simulate(ISFParticle& isp, McEventCollection* mcEventCollection) override;
38
40 virtual StatusCode setupEvent() override;
41
43 virtual StatusCode releaseEvent() override;
44
45 private:
46 PublicToolHandle<ISimulatorTool> m_simulatorTool{this, "SimulatorTool", "", ""};
47
48 };
49}
50
51#endif //> !ISF_SERVICES_ISF_LEGACYSIMSVC_H
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
BaseSimulationSvc(const std::string &name, ISvcLocator *pSvcLocator)
The generic ISF particle definition,.
Definition ISFParticle.h:42
virtual StatusCode setupEvent() override
Setup Event chain - in case of a begin-of event action is needed.
virtual ~LegacySimSvc()=default
Destructor.
virtual StatusCode releaseEvent() override
Release Event chain - in case of an end-of event action is needed.
LegacySimSvc(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode simulate(ISFParticle &isp, McEventCollection *mcEventCollection) override
Simulation Call.
PublicToolHandle< ISimulatorTool > m_simulatorTool
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
ISFParticleOrderedQueue.
void initialize()