1 #ifndef SimG4Core_SensitiveDetector_H 2 #define SimG4Core_SensitiveDetector_H 10 #include "G4VSensitiveDetector.hh" 17 class G4HCofThisEvent;
18 class G4TouchableHistory;
19 class G4VPhysicalVolume;
35 void Initialize(G4HCofThisEvent* eventHC)
override;
36 G4bool ProcessHits(G4Step*
step, G4TouchableHistory* tHistory)
override = 0;
37 void EndOfEvent(G4HCofThisEvent* eventHC)
override;
39 virtual uint32_t setDetUnitId(
const G4Step* step) = 0;
40 virtual void clearHits() = 0;
42 inline const std::vector<std::string>&
getNames()
const {
return m_namesOfSD; }
44 inline bool isCaloSD()
const {
return m_isCalo; }
53 Local3DPoint LocalPreStepPosition(
const G4Step* step)
const;
54 Local3DPoint LocalPostStepPosition(
const G4Step* step)
const;
60 void setNames(
const std::vector<std::string>&);
61 void NaNTrap(
const G4Step* step)
const;
Local3DPoint ConvertToLocal3DPoint(const G4ThreeVector &point) const
std::vector< std::string > m_namesOfSD
const std::vector< std::string > & getNames() 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