DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Geant4 sensitive detector combining all deposits of one G4Track within one sensitive element. More...
Public Member Functions | |
TrackerCombine () | |
void | start_collecting (const G4Track *track) |
Start a new hit. More... | |
void | start (const G4Step *step, const G4StepPoint *point) |
void | start (const Geant4FastSimSpot *spot) |
void | update_collected_hit (const G4VTouchable *h, G4ThreeVector &&global) |
Update energy and track information during hit info accumulation. More... | |
void | update (const Geant4StepHandler &h) |
void | update (const Geant4FastSimHandler &h) |
void | clear () |
Clear collected information and restart for new hit. More... | |
bool | mustSaveTrack (const G4Track *tr) const |
Helper function to decide if the hit has to be extracted and saved in the collection. More... | |
void | extractHit (Geant4HitCollection *collection) |
Extract hit information and add the created hit to the collection. More... | |
G4bool | process (const G4Step *step, G4TouchableHistory *) |
Method for generating hit(s) using the information of G4Step object. More... | |
G4bool | process (const Geant4FastSimSpot *spot, G4TouchableHistory *) |
Method for generating hit(s) using the information of fast simulation spot object. More... | |
void | endEvent (const G4Event *) |
Post-event action callback. More... | |
Public Attributes | |
Geant4Tracker::Hit | pre |
Geant4Tracker::Hit | post |
Position | mean_pos |
Geant4Sensitive * | sensitive { nullptr } |
G4VPhysicalVolume * | firstSpotVolume { nullptr } |
double | mean_time { 0e0 } |
double | e_cut { 0e0 } |
int | current { -1 } |
int | combined { 0 } |
long long int | cell { 0 } |
Geant4 sensitive detector combining all deposits of one G4Track within one sensitive element.
Geant4SensitiveAction<TrackerCombine>
Definition at line 553 of file Geant4SDActions.cpp.
|
inline |
Definition at line 564 of file Geant4SDActions.cpp.
|
inline |
Clear collected information and restart for new hit.
Definition at line 615 of file Geant4SDActions.cpp.
|
inline |
Post-event action callback.
Definition at line 721 of file Geant4SDActions.cpp.
|
inline |
Extract hit information and add the created hit to the collection.
Definition at line 632 of file Geant4SDActions.cpp.
|
inline |
Helper function to decide if the hit has to be extracted and saved in the collection.
Definition at line 627 of file Geant4SDActions.cpp.
|
inline |
Method for generating hit(s) using the information of G4Step object.
If we are handling a new track, then store the content of the previous one.
Initialize the deposits of the next hit.
....update .....
Definition at line 654 of file Geant4SDActions.cpp.
|
inline |
Method for generating hit(s) using the information of fast simulation spot object.
If we are handling a new track, then store the content of the previous one.
Initialize the deposits of the next hit.
....update .....
Definition at line 689 of file Geant4SDActions.cpp.
|
inline |
Definition at line 578 of file Geant4SDActions.cpp.
|
inline |
Definition at line 583 of file Geant4SDActions.cpp.
|
inline |
Start a new hit.
Definition at line 568 of file Geant4SDActions.cpp.
|
inline |
Definition at line 609 of file Geant4SDActions.cpp.
|
inline |
Definition at line 605 of file Geant4SDActions.cpp.
|
inline |
Update energy and track information during hit info accumulation.
Definition at line 590 of file Geant4SDActions.cpp.
long long int dd4hep::sim::TrackerCombine::cell { 0 } |
Definition at line 562 of file Geant4SDActions.cpp.
int dd4hep::sim::TrackerCombine::combined { 0 } |
Definition at line 561 of file Geant4SDActions.cpp.
int dd4hep::sim::TrackerCombine::current { -1 } |
Definition at line 560 of file Geant4SDActions.cpp.
double dd4hep::sim::TrackerCombine::e_cut { 0e0 } |
Definition at line 559 of file Geant4SDActions.cpp.
G4VPhysicalVolume* dd4hep::sim::TrackerCombine::firstSpotVolume { nullptr } |
Definition at line 557 of file Geant4SDActions.cpp.
Position dd4hep::sim::TrackerCombine::mean_pos |
Definition at line 555 of file Geant4SDActions.cpp.
double dd4hep::sim::TrackerCombine::mean_time { 0e0 } |
Definition at line 558 of file Geant4SDActions.cpp.
Geant4Tracker::Hit dd4hep::sim::TrackerCombine::post |
Definition at line 554 of file Geant4SDActions.cpp.
Geant4Tracker::Hit dd4hep::sim::TrackerCombine::pre |
Definition at line 554 of file Geant4SDActions.cpp.
Geant4Sensitive* dd4hep::sim::TrackerCombine::sensitive { nullptr } |
Definition at line 556 of file Geant4SDActions.cpp.