Geant4  10.03
DMXPmtSD Class Reference

#include <DMXPmtSD.hh>

+ Inheritance diagram for DMXPmtSD:
+ Collaboration diagram for DMXPmtSD:

Public Member Functions

 DMXPmtSD (G4String)
 
 ~DMXPmtSD ()
 
void Initialize (G4HCofThisEvent *)
 
G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
void EndOfEvent (G4HCofThisEvent *)
 
void clear ()
 
void DrawAll ()
 
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
 
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 Attributes

DMXPmtHitsCollectionpmtCollection
 
G4int HitID
 

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 DMXPmtSD.hh.

Constructor & Destructor Documentation

DMXPmtSD::DMXPmtSD ( G4String  name)

Definition at line 55 of file DMXPmtSD.cc.

References G4VSensitiveDetector::collectionName, and G4CollectionNameVector::insert().

+ Here is the call graph for this function:

DMXPmtSD::~DMXPmtSD ( )

Definition at line 63 of file DMXPmtSD.cc.

Member Function Documentation

void DMXPmtSD::clear ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 117 of file DMXPmtSD.cc.

void DMXPmtSD::DrawAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 120 of file DMXPmtSD.cc.

void DMXPmtSD::EndOfEvent ( G4HCofThisEvent HCE)
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 96 of file DMXPmtSD.cc.

References G4HCofThisEvent::AddHitsCollection(), G4VSensitiveDetector::collectionName, G4THitsCollection< T >::entries(), G4cout, G4endl, G4SDManager::GetCollectionID(), G4SDManager::GetSDMpointer(), pmtCollection, G4THitsCollection< T >::PrintAllHits(), and G4VSensitiveDetector::verboseLevel.

+ Here is the call graph for this function:

void DMXPmtSD::Initialize ( G4HCofThisEvent )
virtual
void DMXPmtSD::PrintAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 123 of file DMXPmtSD.cc.

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

Implements G4VSensitiveDetector.

Definition at line 81 of file DMXPmtSD.cc.

References G4StepPoint::GetGlobalTime(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), DMXPmtHit::SetPos(), and DMXPmtHit::SetTime().

+ Here is the call graph for this function:

Member Data Documentation

G4int DMXPmtSD::HitID
private

Definition at line 72 of file DMXPmtSD.hh.

Referenced by Initialize().

DMXPmtHitsCollection* DMXPmtSD::pmtCollection
private

Definition at line 71 of file DMXPmtSD.hh.

Referenced by EndOfEvent(), and Initialize().


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