1 #ifndef SimG4Core_SensitiveDetector_H 2 #define SimG4Core_SensitiveDetector_H 8 #include "G4VSensitiveDetector.hh" 15 class G4HCofThisEvent;
16 class G4TouchableHistory;
17 class G4VPhysicalVolume;
28 void Initialize(G4HCofThisEvent* eventHC)
override;
29 G4bool
ProcessHits(G4Step*
step, G4TouchableHistory* tHistory)
override = 0;
30 void EndOfEvent(G4HCofThisEvent* eventHC)
override;
53 void setNames(
const std::vector<std::string>&);
virtual void clearHits()=0
~SensitiveDetector() override
SensitiveDetector(const std::string &iname, const SensitiveDetectorCatalog &, bool calo, const std::string &newcollname="")
G4bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override=0
virtual uint32_t setDetUnitId(const G4Step *step)=0
void AssignSD(const std::string &vname)
Local3DPoint FinalStepPosition(const G4Step *step, coordinates) const
std::vector< std::string > m_namesOfSD
Local3DPoint ConvertToLocal3DPoint(const G4ThreeVector &point) const
Local3DPoint InitialStepPosition(const G4Step *step, coordinates) const
TrackInformation * cmsTrackInformation(const G4Track *aTrack)
Local3DPoint LocalPreStepPosition(const G4Step *step) const
void EndOfEvent(G4HCofThisEvent *eventHC) override
void setNames(const std::vector< std::string > &)
const std::vector< std::string > & getNames() const
Local3DPoint LocalPostStepPosition(const G4Step *step) const
void Initialize(G4HCofThisEvent *eventHC) override
void NaNTrap(const G4Step *step) const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Point3DBase< float, LocalTag > Local3DPoint