k4SimGeant4
Loading...
Searching...
No Matches
InspectHitsCollectionsTool Class Reference

Tool used to inspect the hits collection. More...

#include <SimG4Components/src/InspectHitsCollectionsTool.h>

Inheritance diagram for InspectHitsCollectionsTool:
Collaboration diagram for InspectHitsCollectionsTool:

Public Member Functions

 InspectHitsCollectionsTool (const std::string &type, const std::string &name, const IInterface *parent)
 Constructor.
 
virtual ~InspectHitsCollectionsTool ()
 
virtual StatusCode initialize () final
 Initialize.
 
virtual StatusCode finalize () final
 Finalize.
 
virtual StatusCode saveOutput (const G4Event &aEvent) final
 inspect output
 
- Public Member Functions inherited from ISimG4SaveOutputTool
 DeclareInterfaceID (ISimG4SaveOutputTool, 1, 0)
 

Private Attributes

ServiceHandle< IGeoSvc > m_geoSvc
 Pointer to the geometry service.
 
Gaudi::Property< std::vector< std::string > > m_readoutNames
 Name of the readouts (hits collections)
 

Detailed Description

Tool used to inspect the hits collection.

No output in EDM is produced.

Author
Anna Zaborowska

Constructor & Destructor Documentation

◆ InspectHitsCollectionsTool()

InspectHitsCollectionsTool::InspectHitsCollectionsTool ( const std::string & type,
const std::string & name,
const IInterface * parent )
explicit

Constructor.

◆ ~InspectHitsCollectionsTool()

InspectHitsCollectionsTool::~InspectHitsCollectionsTool ( )
virtual

Member Function Documentation

◆ finalize()

StatusCode InspectHitsCollectionsTool::finalize ( )
finalvirtual

Finalize.

◆ initialize()

StatusCode InspectHitsCollectionsTool::initialize ( )
finalvirtual

Initialize.

◆ saveOutput()

StatusCode InspectHitsCollectionsTool::saveOutput ( const G4Event & aEvent)
finalvirtual

inspect output

Implements ISimG4SaveOutputTool.

Member Data Documentation

◆ m_geoSvc

ServiceHandle<IGeoSvc> InspectHitsCollectionsTool::m_geoSvc
private

Pointer to the geometry service.

◆ m_readoutNames

Gaudi::Property<std::vector<std::string> > InspectHitsCollectionsTool::m_readoutNames
private
Initial value:
{
this, "readoutNames", {}, "Names of the readouts (hits collections)"}

Name of the readouts (hits collections)


The documentation for this class was generated from the following files: