ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
ISF
ISF_Core
ISF_Services
src
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
15
#include "
ISF_Interfaces/BaseSimulationSvc.h
"
16
#include "
ISF_Interfaces/ISimulatorTool.h
"
17
18
#include "
CxxUtils/checker_macros.h
"
19
20
namespace
ISF
{
21
24
class
ATLAS_NOT_THREAD_SAFE
LegacySimSvc
:
public
BaseSimulationSvc
{
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
BaseSimulationSvc.h
ISimulatorTool.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::BaseSimulationSvc::BaseSimulationSvc
BaseSimulationSvc(const std::string &name, ISvcLocator *pSvcLocator)
Definition
BaseSimulationSvc.h:45
ISF::ISFParticle
The generic ISF particle definition,.
Definition
ISFParticle.h:42
ISF::LegacySimSvc::setupEvent
virtual StatusCode setupEvent() override
Setup Event chain - in case of a begin-of event action is needed.
Definition
LegacySimSvc.cxx:23
ISF::LegacySimSvc::~LegacySimSvc
virtual ~LegacySimSvc()=default
Destructor.
ISF::LegacySimSvc::releaseEvent
virtual StatusCode releaseEvent() override
Release Event chain - in case of an end-of event action is needed.
Definition
LegacySimSvc.cxx:28
ISF::LegacySimSvc::LegacySimSvc
LegacySimSvc(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
LegacySimSvc.cxx:10
ISF::LegacySimSvc::simulate
virtual StatusCode simulate(ISFParticle &isp, McEventCollection *mcEventCollection) override
Simulation Call.
Definition
LegacySimSvc.cxx:34
ISF::LegacySimSvc::m_simulatorTool
PublicToolHandle< ISimulatorTool > m_simulatorTool
Definition
LegacySimSvc.h:46
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
Definition
McEventCollection.h:32
ISF
ISFParticleOrderedQueue.
Definition
PrimaryParticleInformation.h:13
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.14.0