ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
15// forward declarations
16class G4Step;
17
18namespace ISF {
19
20 class ITruthIncident;
21
29 class ITruthSvc : virtual public IInterface {
30
31 public:
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 interface class for TruthIncidents.
@ class ITruthSvc
Definition ITruthSvc.h:29
virtual ~ITruthSvc()
virtual desctructor
Definition ITruthSvc.h:36
virtual StatusCode initializeTruthCollection(int largestGeneratedParticleBC=0, int largestGeneratedVertexBC=0)=0
Initialize the Truth Svc at the beginning of each event.
virtual void registerTruthIncident(ITruthIncident &truthincident, bool saveAllChildren=false) const =0
Register a truth incident.
DeclareInterfaceID(ITruthSvc, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual StatusCode releaseEvent()=0
Finalize the Truth Svc at the end of each event.
ISFParticleOrderedQueue.