ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Sensitive detector implementation for the ROOT hits persistency example. More...
#include <geant4/tree/geant4-10.6-release/examples/extended/persistency/P01/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 47 of file ExP01TrackerSD.hh.
View newest version in sPHENIX GitHub at line 47 of file ExP01TrackerSD.hh
ExP01TrackerSD::ExP01TrackerSD | ( | G4String | name | ) |
Definition at line 45 of file ExP01TrackerSD.cc.
View newest version in sPHENIX GitHub at line 45 of file ExP01TrackerSD.cc
References G4VSensitiveDetector::collectionName, fHCID, G4cout, G4endl, and G4CollectionNameVector::insert().
ExP01TrackerSD::~ExP01TrackerSD | ( | ) |
Definition at line 57 of file ExP01TrackerSD.cc.
View newest version in sPHENIX GitHub at line 57 of file ExP01TrackerSD.cc
References RootIO::Close(), and RootIO::GetInstance().
|
virtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 101 of file ExP01TrackerSD.cc.
View newest version in sPHENIX GitHub at line 101 of file ExP01TrackerSD.cc
References G4THitsCollection< T >::entries(), fTrackerCollection, G4cout, G4endl, RootIO::GetInstance(), and RootIO::Write().
|
virtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 64 of file ExP01TrackerSD.cc.
View newest version in sPHENIX GitHub at line 64 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 79 of file ExP01TrackerSD.cc.
View newest version in sPHENIX GitHub at line 79 of file ExP01TrackerSD.cc
References edep, 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 59 of file ExP01TrackerSD.hh.
View newest version in sPHENIX GitHub at line 59 of file ExP01TrackerSD.hh
Referenced by ExP01TrackerSD(), and Initialize().
|
private |
Definition at line 58 of file ExP01TrackerSD.hh.
View newest version in sPHENIX GitHub at line 58 of file ExP01TrackerSD.hh
Referenced by EndOfEvent(), Initialize(), and ProcessHits().