Geant4  10.02.p03
TargetSD Class Reference

#include <TargetSD.hh>

Inheritance diagram for TargetSD:
Collaboration diagram for TargetSD:

Public Member Functions

 TargetSD (const G4String &)
 
virtual ~TargetSD ()
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
virtual void clear ()
 
virtual void PrintAll ()
 
 TargetSD (const G4String &)
 
virtual ~TargetSD ()
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
virtual void clear ()
 
virtual void PrintAll ()
 
 TargetSD (const G4String &)
 
virtual ~TargetSD ()
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
 TargetSD (const G4String &)
 
virtual ~TargetSD ()
 
void Initialize (G4HCofThisEvent *)
 
G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
void EndOfEvent (G4HCofThisEvent *)
 
void clear ()
 
void PrintAll ()
 
- Public Member Functions inherited from G4VSensitiveDetector
 G4VSensitiveDetector (G4String name)
 
 G4VSensitiveDetector (const G4VSensitiveDetector &right)
 
virtual ~G4VSensitiveDetector ()
 
G4VSensitiveDetectoroperator= (const G4VSensitiveDetector &right)
 
G4int operator== (const G4VSensitiveDetector &right) const
 
G4int operator!= (const G4VSensitiveDetector &right) const
 
virtual void DrawAll ()
 
G4bool Hit (G4Step *aStep)
 
void SetROgeometry (G4VReadOutGeometry *value)
 
void SetFilter (G4VSDFilter *value)
 
G4int GetNumberOfCollections () const
 
G4String GetCollectionName (G4int id) const
 
void SetVerboseLevel (G4int vl)
 
void Activate (G4bool activeFlag)
 
G4bool isActive () const
 
G4String GetName () const
 
G4String GetPathName () const
 
G4String GetFullPathName () const
 
G4VReadOutGeometryGetROgeometry () const
 
G4VSDFilterGetFilter () const
 
virtual G4VSensitiveDetectorClone () const
 

Private Member Functions

 TargetSD (const TargetSD &right)
 
const TargetSDoperator= (const TargetSD &right)
 

Private Attributes

RunfRun
 
HistoManagerfHisto
 
HistofHisto
 
G4int fEvno
 

Additional Inherited Members

- Protected Member Functions inherited from G4VSensitiveDetector
virtual G4int GetCollectionID (G4int i)
 
- Protected Attributes inherited from G4VSensitiveDetector
G4CollectionNameVector collectionName
 
G4String SensitiveDetectorName
 
G4String thePathName
 
G4String fullPathName
 
G4int verboseLevel
 
G4bool active
 
G4VReadOutGeometryROgeometry
 
G4VSDFilterfilter
 

Detailed Description

Definition at line 55 of file electromagnetic/TestEm8/include/TargetSD.hh.

Constructor & Destructor Documentation

◆ TargetSD() [1/5]

TargetSD::TargetSD ( const G4String name)

◆ ~TargetSD() [1/4]

TargetSD::~TargetSD ( )
virtual

Definition at line 58 of file electromagnetic/TestEm8/src/TargetSD.cc.

59 {}

◆ TargetSD() [2/5]

TargetSD::TargetSD ( const G4String )

◆ ~TargetSD() [2/4]

virtual TargetSD::~TargetSD ( )
virtual

◆ TargetSD() [3/5]

TargetSD::TargetSD ( const G4String )

◆ ~TargetSD() [3/4]

virtual TargetSD::~TargetSD ( )
virtual

◆ TargetSD() [4/5]

TargetSD::TargetSD ( const G4String )

◆ ~TargetSD() [4/4]

virtual TargetSD::~TargetSD ( )
virtual

◆ TargetSD() [5/5]

TargetSD::TargetSD ( const TargetSD right)
private

Member Function Documentation

◆ clear() [1/3]

void TargetSD::clear ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 84 of file electromagnetic/TestEm8/src/TargetSD.cc.

85 {}

◆ clear() [2/3]

void TargetSD::clear ( )
virtual

Reimplemented from G4VSensitiveDetector.

◆ clear() [3/3]

virtual void TargetSD::clear ( )
virtual

Reimplemented from G4VSensitiveDetector.

◆ EndOfEvent() [1/4]

void TargetSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 79 of file electromagnetic/TestEm8/src/TargetSD.cc.

80 {}

◆ EndOfEvent() [2/4]

void TargetSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

◆ EndOfEvent() [3/4]

virtual void TargetSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

◆ EndOfEvent() [4/4]

virtual void TargetSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

◆ Initialize() [1/4]

void TargetSD::Initialize ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 63 of file electromagnetic/TestEm8/src/TargetSD.cc.

Here is the call graph for this function:

◆ Initialize() [2/4]

void TargetSD::Initialize ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

◆ Initialize() [3/4]

virtual void TargetSD::Initialize ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

◆ Initialize() [4/4]

virtual void TargetSD::Initialize ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

◆ operator=()

const TargetSD& TargetSD::operator= ( const TargetSD right)
private

◆ PrintAll() [1/3]

void TargetSD::PrintAll ( )
virtual

Reimplemented from G4VSensitiveDetector.

◆ PrintAll() [2/3]

void TargetSD::PrintAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 89 of file electromagnetic/TestEm8/src/TargetSD.cc.

90 {}

◆ PrintAll() [3/3]

virtual void TargetSD::PrintAll ( )
virtual

Reimplemented from G4VSensitiveDetector.

◆ ProcessHits() [1/4]

G4bool TargetSD::ProcessHits ( G4Step *  aStep,
G4TouchableHistory  
)
virtual

Implements G4VSensitiveDetector.

Definition at line 70 of file electromagnetic/TestEm8/src/TargetSD.cc.

71 {
72  G4double edep = aStep->GetTotalEnergyDeposit();
73  fRun->AddEnergy(edep, aStep);
74  return true;
75 }
Double_t edep
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:

◆ ProcessHits() [2/4]

G4bool TargetSD::ProcessHits ( G4Step *  ,
G4TouchableHistory  
)
virtual

Implements G4VSensitiveDetector.

◆ ProcessHits() [3/4]

virtual G4bool TargetSD::ProcessHits ( G4Step *  ,
G4TouchableHistory  
)
virtual

Implements G4VSensitiveDetector.

◆ ProcessHits() [4/4]

virtual G4bool TargetSD::ProcessHits ( G4Step *  ,
G4TouchableHistory  
)
virtual

Implements G4VSensitiveDetector.

Member Data Documentation

◆ fEvno

G4int TargetSD::fEvno
private

Definition at line 74 of file medical/GammaTherapy/include/TargetSD.hh.

◆ fHisto [1/2]

HistoManager * TargetSD::fHisto
private

Definition at line 71 of file hadronic/Hadr01/include/TargetSD.hh.

◆ fHisto [2/2]

Histo* TargetSD::fHisto
private

Definition at line 73 of file medical/GammaTherapy/include/TargetSD.hh.

◆ fRun

Run* TargetSD::fRun
private

Definition at line 70 of file electromagnetic/TestEm8/include/TargetSD.hh.


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