Go to the documentation of this file. 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;
60 void setNames(
const std::vector<std::string>&);
virtual void clearHits()=0
~SensitiveDetector() override
void NaNTrap(const G4Step *step) const
G4bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override=0
void AssignSD(const std::string &vname)
std::vector< std::string > m_namesOfSD
virtual uint32_t setDetUnitId(const G4Step *step)=0
Local3DPoint FinalStepPosition(const G4Step *step, coordinates) const
Local3DPoint LocalPreStepPosition(const G4Step *step) const
Local3DPoint InitialStepPosition(const G4Step *step, coordinates) const
Local3DPoint ConvertToLocal3DPoint(const G4ThreeVector &point) const
const std::vector< std::string > & getNames() const
void setNames(const std::vector< std::string > &)
TrackInformation * cmsTrackInformation(const G4Track *aTrack)
void Initialize(G4HCofThisEvent *eventHC) override
Local3DPoint LocalPostStepPosition(const G4Step *step) const
void EndOfEvent(G4HCofThisEvent *eventHC) override
SensitiveDetector(const std::string &iname, const edm::EventSetup &es, const SensitiveDetectorCatalog &, edm::ParameterSet const &p, bool calo)
*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