5#ifndef G4ATLASINTERFACES_ISENSITIVEDETECTOR_H
6#define G4ATLASINTERFACES_ISENSITIVEDETECTOR_H
8#include "GaudiKernel/IAlgTool.h"
19class G4VSensitiveDetector;
55 virtual G4VSensitiveDetector*
makeSD()
const = 0;
Small wrapper around hit collection map to facilitate accessing the hit collection.
virtual StatusCode Gather(HitCollectionMap &)=0
Method to be called at the end of the athena event.
virtual ~ISensitiveDetector()
virtual StatusCode SetupEvent(HitCollectionMap &)=0
Method to be called at the beginning of the athena event.
virtual StatusCode Gather()=0
virtual G4VSensitiveDetector * makeSD() const =0
Method to make the actual SD itself, which will be owned by the tool.
DeclareInterfaceID(ISensitiveDetector, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual StatusCode SetupEvent()=0
virtual StatusCode initializeSD()=0
Method to initialize the SD itself - this is our hook for initialization in G4, since in a multi-thre...