gsd
Loading...
Searching...
No Matches
GSensitiveDetector Class Reference

#include <gsd.h>

Public Member Functions

 GSensitiveDetector (const std::string &sdName, const std::shared_ptr< GOptions > &goptions)
 
void Initialize (G4HCofThisEvent *g4hc) override
 
G4bool ProcessHits (G4Step *thisStep, G4TouchableHistory *g4th) override
 
void EndOfEvent (G4HCofThisEvent *g4HitCollection) override
 
void assign_digi_routine (std::shared_ptr< GDynamicDigitization > digi_routine)
 
void registerGVolumeTouchable (const std::string &name, std::shared_ptr< GTouchable > gt)
 
- Public Member Functions inherited from GBase< GSensitiveDetector >
 GBase (const std::shared_ptr< GOptions > &gopt, std::string logger_name="")
 
 GBase (const std::shared_ptr< GLogger > &logger)
 
 GBase (const GBase &)=default
 
 GBase (GBase &&) noexcept=default
 
virtual ~GBase ()
 
GBaseoperator= (const GBase &)=default
 
GBaseoperator= (GBase &&) noexcept=default
 

Additional Inherited Members

- Protected Attributes inherited from GBase< GSensitiveDetector >
std::shared_ptr< GLoggerlog
 

Detailed Description

Definition at line 24 of file gsd.h.

Constructor & Destructor Documentation

◆ GSensitiveDetector()

GSensitiveDetector::GSensitiveDetector ( const std::string & sdName,
const std::shared_ptr< GOptions > & goptions )

Definition at line 8 of file gsd.cc.

Member Function Documentation

◆ assign_digi_routine()

void GSensitiveDetector::assign_digi_routine ( std::shared_ptr< GDynamicDigitization > digi_routine)
inline

Definition at line 36 of file gsd.h.

◆ EndOfEvent()

void GSensitiveDetector::EndOfEvent ( G4HCofThisEvent * g4HitCollection)
override

Definition at line 122 of file gsd.cc.

◆ Initialize()

void GSensitiveDetector::Initialize ( G4HCofThisEvent * g4hc)
override

Definition at line 25 of file gsd.cc.

◆ ProcessHits()

G4bool GSensitiveDetector::ProcessHits ( G4Step * thisStep,
G4TouchableHistory * g4th )
override

Definition at line 49 of file gsd.cc.

◆ registerGVolumeTouchable()

void GSensitiveDetector::registerGVolumeTouchable ( const std::string & name,
std::shared_ptr< GTouchable > gt )
inline

Definition at line 83 of file gsd.h.


The documentation for this class was generated from the following files: