|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_SERVICES_TRUTHSVC_H
6 #define ISF_SERVICES_TRUTHSVC_H 1
12 #include "GaudiKernel/ToolHandle.h"
13 #include "GaudiKernel/ServiceHandle.h"
50 class TruthSvc final :
public extends<AthService, ITruthSvc> {
53 friend ISFTesting::TruthSvc_test;
58 TruthSvc(
const std::string&
name, ISvcLocator* pSvcLocator );
110 #endif //> !ISF_SERVICES_TRUTHSVC_H
HepMC::GenVertex * GenVertexPtr
TruthSvc(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual ~TruthSvc()=default
Destructor.
void registerTruthIncident(ITruthIncident &truthincident, bool saveAllChildren=false) const override
Register a truth incident.
Gaudi::Property< bool > m_quasiStableParticleOverwrite
should the job be overwriting QS particles
Gaudi::Property< bool > m_passWholeVertex
StatusCode releaseEvent() override
Finalize the Truth Svc at the end of each event.
Gaudi::Property< bool > m_quasiStableParticlesIncluded
does this job simulate quasi-stable particles.
Gaudi::Property< std::vector< unsigned int > > m_forceEndVtxRegionsVec
property containing AtlasRegions for which
StatusCode finalize() override
Athena algorithm's interface method finalize()
ServiceHandle< Barcode::IBarcodeSvc > m_barcodeSvc
The Barcode service.
ITruthStrategy ** m_geoStrategies[AtlasDetDescr::fNumAtlasRegions]
for faster access: using an internal pointer to the actual ITruthStrategy instances
The Athena Transient Store API.
::StatusCode StatusCode
StatusCode definition for legacy code.
HepMC::GenVertexPtr createGenVertexFromTruthIncident(ITruthIncident &truthincident) const
Record and end vertex to the MC Truth for the parent particle.
StatusCode initializeTruthCollection(int largestGeneratedParticleBC=0, int largestGeneratedVertexBC=0) override
Initialize the Truth Svc at the beginning of each event.
Gaudi::Property< bool > m_skipIfNoParentId
do not record if parentId == HepMC::UNDEFINED_ID
void recordIncidentToMCTruth(ITruthIncident &truthincident, bool passWholeVertex) const
Record the given truth incident to the MC Truth.
Gaudi::Property< bool > m_skipIfNoChildren
MCTruth steering.
ToolHandleArray< ITruthStrategy > m_truthStrategies
the truth strategies applied (as AthenaToolHandle Array)
std::array< bool, AtlasDetDescr::fNumAtlasRegions > m_forceEndVtx
attach end vertex to
unsigned short m_numStrategies[AtlasDetDescr::fNumAtlasRegions]
Core Athena algorithm for the Integrated Simulation Framework.
StatusCode initialize() override
Athena algorithm's interface method initialize()
Gaudi::Property< bool > m_ignoreUndefinedBarcodes
do/don't abort if retrieve an undefined barcode