Geant4
10.02.p02
|
Sensitive detector implementation for the ROOT hits persistency example. More...
#include <ExP01TrackerSD.hh>
Private Attributes | |
ExP01TrackerHitsCollection * | fTrackerCollection |
G4int | fHCID |
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 |
Sensitive detector implementation for the ROOT hits persistency example.
Definition at line 48 of file ExP01TrackerSD.hh.
ExP01TrackerSD::ExP01TrackerSD | ( | G4String | name | ) |
Definition at line 46 of file ExP01TrackerSD.cc.
References G4VSensitiveDetector::collectionName, fHCID, G4cout, G4endl, and G4CollectionNameVector::insert().
ExP01TrackerSD::~ExP01TrackerSD | ( | ) |
Definition at line 58 of file ExP01TrackerSD.cc.
References RootIO::Close(), and RootIO::GetInstance().
|
virtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 102 of file ExP01TrackerSD.cc.
References G4THitsCollection< T >::entries(), fTrackerCollection, G4cout, G4endl, RootIO::GetInstance(), and RootIO::Write().
|
virtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 65 of file ExP01TrackerSD.cc.
References G4HCofThisEvent::AddHitsCollection(), G4VSensitiveDetector::collectionName, fHCID, fTrackerCollection, G4cout, G4endl, G4SDManager::GetCollectionID(), G4SDManager::GetSDMpointer(), and G4VSensitiveDetector::SensitiveDetectorName.
|
virtual |
Implements G4VSensitiveDetector.
Definition at line 80 of file ExP01TrackerSD.cc.
References fTrackerCollection, G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4VTouchable::GetReplicaNumber(), G4Step::GetTotalEnergyDeposit(), G4StepPoint::GetTouchable(), G4Step::GetTrack(), G4Track::GetTrackID(), G4THitsCollection< T >::insert(), ExP01TrackerHit::SetChamberNb(), ExP01TrackerHit::SetEdep(), ExP01TrackerHit::SetPos(), and ExP01TrackerHit::SetTrackID().
|
private |
Definition at line 60 of file ExP01TrackerSD.hh.
Referenced by ExP01TrackerSD(), and Initialize().
|
private |
Definition at line 59 of file ExP01TrackerSD.hh.
Referenced by EndOfEvent(), Initialize(), and ProcessHits().