ATLAS Offline Software
Simulation
ISF
ISF_Core
ISF_Interfaces
ISF_Interfaces
ITruthSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ISF_INTERFACES_ITRUTHSVC_H
6
#define ISF_INTERFACES_ITRUTHSVC_H 1
7
8
// framework includes
9
#include "GaudiKernel/IInterface.h"
10
#include "GaudiKernel/StatusCode.h"
11
12
// DetectorDescription
13
#include "
AtlasDetDescr/AtlasRegion.h
"
14
15
// forward declarations
16
class
G4Step;
17
18
namespace
ISF
{
19
20
class
ITruthIncident;
21
29
class
ITruthSvc
:
virtual
public
IInterface {
30
31
public
:
33
DeclareInterfaceID
(
ITruthSvc
, 1, 0);
34
36
virtual
~ITruthSvc
() { }
37
39
virtual
void
registerTruthIncident
(
ITruthIncident
& truthincident,
bool
saveAllChildren=
false
)
const
= 0;
40
42
virtual
StatusCode
initializeTruthCollection
(
int
largestGeneratedParticleBC=0,
int
largestGeneratedVertexBC=0) = 0;
43
45
virtual
StatusCode
releaseEvent
() = 0;
46
};
47
}
48
49
#endif //> !ISF_INTERFACES_ITRUTHSVC_H
ISF::ITruthSvc::registerTruthIncident
virtual void registerTruthIncident(ITruthIncident &truthincident, bool saveAllChildren=false) const =0
Register a truth incident.
AtlasRegion.h
ISF::ITruthSvc::~ITruthSvc
virtual ~ITruthSvc()
virtual desctructor
Definition:
ITruthSvc.h:36
ISF::ITruthSvc::initializeTruthCollection
virtual StatusCode initializeTruthCollection(int largestGeneratedParticleBC=0, int largestGeneratedVertexBC=0)=0
Initialize the Truth Svc at the beginning of each event.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISF::ITruthIncident
Definition:
ITruthIncident.h:45
ISF::ITruthSvc
@ class ITruthSvc
Definition:
ITruthSvc.h:29
ISF
ISFParticleOrderedQueue.
Definition:
PrimaryParticleInformation.h:13
ISF::ITruthSvc::DeclareInterfaceID
DeclareInterfaceID(ITruthSvc, 1, 0)
Creates the InterfaceID and interfaceID() method.
ISF::ITruthSvc::releaseEvent
virtual StatusCode releaseEvent()=0
Finalize the Truth Svc at the end of each event.
Generated on Sun Dec 22 2024 21:12:08 for ATLAS Offline Software by
1.8.18