ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/basic/B2/B2a/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 50 of file B2TrackerSD.hh.
View newest version in sPHENIX GitHub at line 50 of file B2TrackerSD.hh
Definition at line 39 of file B2TrackerSD.cc.
View newest version in sPHENIX GitHub at line 39 of file B2TrackerSD.cc
References G4VSensitiveDetector::collectionName, and G4CollectionNameVector::insert().
|
virtual |
Definition at line 49 of file B2TrackerSD.cc.
View newest version in sPHENIX GitHub at line 49 of file B2TrackerSD.cc
|
virtual |
|
virtual |
|
virtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 95 of file B2TrackerSD.cc.
View newest version in sPHENIX GitHub at line 95 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 54 of file B2TrackerSD.cc.
View newest version in sPHENIX GitHub at line 54 of file B2TrackerSD.cc
References G4HCofThisEvent::AddHitsCollection(), G4VSensitiveDetector::collectionName, fHitsCollection, G4SDManager::GetCollectionID(), G4SDManager::GetSDMpointer(), and G4VSensitiveDetector::SensitiveDetectorName.
|
virtual |
Implements G4VSensitiveDetector.
Definition at line 70 of file B2TrackerSD.cc.
View newest version in sPHENIX GitHub at line 70 of file B2TrackerSD.cc
References edep, 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 63 of file B2TrackerSD.hh.
View newest version in sPHENIX GitHub at line 63 of file B2TrackerSD.hh
Referenced by EndOfEvent(), Initialize(), and ProcessHits().