1 #ifndef SimG4Core_SensitiveDetector_H 2 #define SimG4Core_SensitiveDetector_H 11 #include "G4VSensitiveDetector.hh" 13 #include <boost/cstdint.hpp> 17 class G4HCofThisEvent;
18 class G4TouchableHistory;
19 class G4VPhysicalVolume;
29 void Initialize(G4HCofThisEvent * eventHC)
override;
31 G4bool
ProcessHits(G4Step *
step ,G4TouchableHistory * tHistory)
override = 0;
35 void EndOfEvent(G4HCofThisEvent * eventHC)
override;
43 std::vector<std::string>
temp;
virtual uint32_t setDetUnitId(G4Step *step)=0
virtual void clearHits()=0
~SensitiveDetector() override
G4bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override=0
type of data representation of DDCompactView
SensitiveDetector(std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p)
virtual void AssignSD(const std::string &vname)
Local3DPoint ConvertToLocal3DPoint(const G4ThreeVector &point)
virtual std::vector< std::string > getNames()
void NaNTrap(G4Step *step)
void EndOfEvent(G4HCofThisEvent *eventHC) override
Local3DPoint FinalStepPosition(G4Step *s, coordinates)
void Initialize(G4HCofThisEvent *eventHC) override
Local3DPoint InitialStepPosition(G4Step *s, coordinates)
*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