19#ifndef BDSSDSAMPLERLINK_H
20#define BDSSDSAMPLERLINK_H
22#include "BDSHitSamplerLink.hh"
23#include "BDSSensitiveDetector.hh"
31class G4TouchableHistory;
55 virtual G4bool
ProcessHits(G4Step* aStep, G4TouchableHistory* readOutTH);
58 virtual G4VHit*
last()
const;
63 inline void SetMinimumEK(G4double minimumEKIn) {
minimumEK = minimumEKIn;}
64 inline void SetProtonsAndIonsOnly(G4bool protonsAndIonsOnlyIn) {
protonsAndIonsOnly = protonsAndIonsOnlyIn;}
Registry / map of components for tracker linkage.
The sensitive detector class that provides sensitivity to BDSSamplerLink instances.
G4String itsCollectionName
The name of the hits collection that's created and registered.
G4double minimumEK
Minimum kinetic energy to generate a hit for.
BDSLinkRegistry * registry
Cached pointer to registry as accessed many times.
virtual void Initialize(G4HCofThisEvent *HCE)
virtual G4VHit * last() const
Provide access to last hit.
void SetLinkRegistry(BDSLinkRegistry *registryIn)
Update cached pointer of link registry.
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *readOutTH)
BDSHitsCollectionSamplerLink * samplerLinkCollection
The hits collection for this sensitive detector class that's owned by each instance.
G4bool protonsAndIonsOnly
Whether to return protons and ions only.
Virtual class to define interface for ordered multi-sensitive detector.