Geant4
10.00.p03
|
B2Tracker sensitive detector class. More...
#include <B2TrackerSD.hh>
Private Attributes | |
B2TrackerHitsCollection * | fHitsCollection |
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 |
B2Tracker sensitive detector class.
The hits are accounted in hits in ProcessHits() function which is called by Geant4 kernel at each step. A hit is created with each step with non zero energy deposit.
Definition at line 51 of file B2TrackerSD.hh.
Definition at line 40 of file B2TrackerSD.cc.
References G4VSensitiveDetector::collectionName, and G4CollectionNameVector::insert().
|
virtual |
Definition at line 50 of file B2TrackerSD.cc.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 96 of file B2TrackerSD.cc.
References G4THitsCollection< T >::entries(), fHitsCollection, G4cout, G4endl, and G4VSensitiveDetector::verboseLevel.
|
virtual |
Reimplemented from G4VSensitiveDetector.
|
virtual |
Reimplemented from G4VSensitiveDetector.
|
virtual |
Reimplemented from G4VSensitiveDetector.
|
virtual |
Reimplemented from G4VSensitiveDetector.
|
virtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 55 of file B2TrackerSD.cc.
References G4HCofThisEvent::AddHitsCollection(), G4VSensitiveDetector::collectionName, fHitsCollection, G4SDManager::GetCollectionID(), G4SDManager::GetSDMpointer(), and G4VSensitiveDetector::SensitiveDetectorName.
|
virtual |
Implements G4VSensitiveDetector.
Definition at line 71 of file B2TrackerSD.cc.
References fHitsCollection, G4VTouchable::GetCopyNumber(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4Step::GetTotalEnergyDeposit(), G4StepPoint::GetTouchableHandle(), G4Step::GetTrack(), G4Track::GetTrackID(), G4THitsCollection< T >::insert(), B2TrackerHit::SetChamberNb(), B2TrackerHit::SetEdep(), B2TrackerHit::SetPos(), and B2TrackerHit::SetTrackID().
|
virtual |
Implements G4VSensitiveDetector.
|
virtual |
Implements G4VSensitiveDetector.
|
private |
Definition at line 64 of file B2TrackerSD.hh.
Referenced by EndOfEvent(), Initialize(), and ProcessHits().