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