Geant4  10.02.p01
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 TargetSD.hh.

Constructor & Destructor Documentation

TargetSD::TargetSD ( const G4String name)

Definition at line 52 of file TargetSD.cc.

TargetSD::~TargetSD ( )
virtual

Definition at line 58 of file TargetSD.cc.

TargetSD::TargetSD ( const G4String )
virtual TargetSD::~TargetSD ( )
virtual
TargetSD::TargetSD ( const G4String )
virtual TargetSD::~TargetSD ( )
virtual
TargetSD::TargetSD ( const G4String )
virtual TargetSD::~TargetSD ( )
virtual
TargetSD::TargetSD ( const TargetSD right)
private

Member Function Documentation

void TargetSD::clear ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 84 of file TargetSD.cc.

void TargetSD::clear ( )
virtual

Reimplemented from G4VSensitiveDetector.

virtual void TargetSD::clear ( )
virtual

Reimplemented from G4VSensitiveDetector.

void TargetSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 79 of file TargetSD.cc.

void TargetSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

virtual void TargetSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

virtual void TargetSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

void TargetSD::Initialize ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 63 of file TargetSD.cc.

References fRun, G4RunManager::GetNonConstCurrentRun(), and G4RunManager::GetRunManager().

+ Here is the call graph for this function:

void TargetSD::Initialize ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

virtual void TargetSD::Initialize ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

virtual void TargetSD::Initialize ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

const TargetSD& TargetSD::operator= ( const TargetSD right)
private
void TargetSD::PrintAll ( )
virtual

Reimplemented from G4VSensitiveDetector.

void TargetSD::PrintAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 89 of file TargetSD.cc.

virtual void TargetSD::PrintAll ( )
virtual

Reimplemented from G4VSensitiveDetector.

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

Implements G4VSensitiveDetector.

Definition at line 70 of file TargetSD.cc.

References Run::AddEnergy(), fRun, and G4Step::GetTotalEnergyDeposit().

+ Here is the call graph for this function:

G4bool TargetSD::ProcessHits ( G4Step ,
G4TouchableHistory  
)
virtual

Implements G4VSensitiveDetector.

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

Implements G4VSensitiveDetector.

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

Implements G4VSensitiveDetector.

Member Data Documentation

G4int TargetSD::fEvno
private

Definition at line 74 of file TargetSD.hh.

HistoManager * TargetSD::fHisto
private

Definition at line 71 of file TargetSD.hh.

Histo* TargetSD::fHisto
private

Definition at line 73 of file TargetSD.hh.

Run* TargetSD::fRun
private

Definition at line 70 of file TargetSD.hh.

Referenced by Initialize(), and ProcessHits().


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