Geant4
10.00.p01
|
Example of Sensitive detector. More...
#include <ExTGTrackerSD.hh>
Private Attributes | |
ExTGTrackerHitsCollection * | fTrackerCollection |
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 |
G4VReadOutGeometry * | ROgeometry |
G4VSDFilter * | filter |
Example of Sensitive detector.
Definition at line 42 of file ExTGTrackerSD.hh.
ExTGTrackerSD::ExTGTrackerSD | ( | G4String | name | ) |
Definition at line 40 of file ExTGTrackerSD.cc.
References G4VSensitiveDetector::collectionName, and G4CollectionNameVector::insert().
ExTGTrackerSD::~ExTGTrackerSD | ( | ) |
Definition at line 48 of file ExTGTrackerSD.cc.
|
virtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 87 of file ExTGTrackerSD.cc.
References G4THitsCollection< T >::entries(), fTrackerCollection, G4cout, and G4endl.
|
virtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 53 of file ExTGTrackerSD.cc.
References G4HCofThisEvent::AddHitsCollection(), G4VSensitiveDetector::collectionName, fTrackerCollection, G4SDManager::GetCollectionID(), G4SDManager::GetSDMpointer(), and G4VSensitiveDetector::SensitiveDetectorName.
|
virtual |
Implements G4VSensitiveDetector.
Definition at line 66 of file ExTGTrackerSD.cc.
References fTrackerCollection, G4VTouchable::GetCopyNumber(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4Step::GetTotalEnergyDeposit(), G4StepPoint::GetTouchableHandle(), G4Step::GetTrack(), G4Track::GetTrackID(), G4THitsCollection< T >::insert(), ExTGTrackerHit::SetChamberNb(), ExTGTrackerHit::SetEdep(), ExTGTrackerHit::SetPos(), and ExTGTrackerHit::SetTrackID().
|
private |
Definition at line 55 of file ExTGTrackerSD.hh.
Referenced by EndOfEvent(), Initialize(), and ProcessHits().