ATLAS Offline Software
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
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
initialize
void initialize()
Definition:
run_EoverP.cxx:894
ISF::ISFParticle
Definition:
ISFParticle.h:42
ISF::LegacySimSvc
Definition:
LegacySimSvc.h:24
ISimulatorTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
BaseSimulationSvc.h
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition:
McEventCollection.h:33
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
ISF::LegacySimSvc::~LegacySimSvc
virtual ~LegacySimSvc()=default
Destructor.
ISF
ISFParticleOrderedQueue.
Definition:
PrimaryParticleInformation.h:13
ISF::BaseSimulationSvc
Definition:
BaseSimulationSvc.h:40
checker_macros.h
Define macros for attributes used to control the static checker.
Generated on Fri Jul 5 2024 21:20:58 for ATLAS Offline Software by
1.8.18