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 virtual void Initialize(G4HCofThisEvent * eventHC);
31 virtual G4bool
ProcessHits(G4Step *
step ,G4TouchableHistory * tHistory) = 0;
35 virtual void EndOfEvent(G4HCofThisEvent * eventHC);
43 std::vector<std::string>
temp;
virtual ~SensitiveDetector()
virtual uint32_t setDetUnitId(G4Step *step)=0
virtual void clearHits()=0
virtual G4bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory)=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)
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)