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 Types | |
enum | { POSITION_WEIGHTED = 1, POSITION_MIDDLE = 2, POSITION_PREPOINT = 3, POSITION_POSTPOINT = 4 } |
Enumeration to define the calculation of the position of the energy deposit. More... | |
Public Member Functions | |
TrackerWeighted ()=default | |
Default constructor. More... | |
TrackerWeighted & | clear () |
Clear collected information and restart for new hit. More... | |
TrackerWeighted & | start (const G4Step *step, const G4StepPoint *point) |
Start a new hit. More... | |
TrackerWeighted & | update (const G4Step *step) |
Update energy and track information during hit info accumulation. 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 (EInside ended) |
Extract hit information and add the created hit to the collection. More... | |
TrackerWeighted & | calc_dist_out (const G4VSolid *solid) |
TrackerWeighted & | calc_dist_in (const G4VSolid *solid) |
void | extractHit (Geant4HitCollection *collection, EInside ended) |
G4bool | process (const G4Step *step, G4TouchableHistory *) |
Method for generating hit(s) using the information of G4Step object. More... | |
void | endEvent () |
Post-event action callback. More... | |
void | startEvent () |
Pre event action callback. More... | |
void | dumpStep (const Geant4StepHandler &h, const G4Step *s) |
dumpStep More... | |
G4bool | process (const Geant4FastSimSpot *, G4TouchableHistory *) |
GFLash processing callback. More... | |
Public Attributes | |
Geant4Tracker::Hit | pre |
Geant4Tracker::Hit | post |
Position | mean_pos |
Geant4Sensitive * | sensitive = 0 |
G4VSensitiveDetector * | thisSD = 0 |
G4VPhysicalVolume * | thisPV = 0 |
double | distance_to_inside = 0.0 |
double | distance_to_outside = 0.0 |
double | mean_time = 0.0 |
double | step_length = 0.0 |
double | e_cut = 0.0 |
int | current = -1 |
int | parent = 0 |
int | combined = 0 |
int | hit_position_type = POSITION_MIDDLE |
int | hit_flag = 0 |
int | g4ID = 0 |
EInside | last_inside = kOutside |
long long int | cell = 0 |
bool | single_deposit_mode = false |
Geant4 sensitive detector combining all deposits of one G4Track within one sensitive element.
Geant4SensitiveAction<TrackerWeighted>
Definition at line 64 of file Geant4TrackerWeightedSD.cpp.
anonymous enum |
Enumeration to define the calculation of the position of the energy deposit.
Enumerator | |
---|---|
POSITION_WEIGHTED | |
POSITION_MIDDLE | |
POSITION_PREPOINT | |
POSITION_POSTPOINT |
Definition at line 67 of file Geant4TrackerWeightedSD.cpp.
|
default |
Default constructor.
|
inline |
Definition at line 188 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Definition at line 180 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Clear collected information and restart for new hit.
Definition at line 98 of file Geant4TrackerWeightedSD.cpp.
|
inline |
dumpStep
Definition at line 404 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Post-event action callback.
Definition at line 387 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Extract hit information and add the created hit to the collection.
Definition at line 175 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Definition at line 196 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Helper function to decide if the hit has to be extracted and saved in the collection.
Definition at line 170 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Method for generating hit(s) using the information of G4Step object.
Definition at line 264 of file Geant4TrackerWeightedSD.cpp.
|
inline |
GFLash processing callback.
Definition at line 427 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Start a new hit.
Definition at line 118 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Pre event action callback.
Definition at line 399 of file Geant4TrackerWeightedSD.cpp.
|
inline |
Update energy and track information during hit info accumulation.
Definition at line 142 of file Geant4TrackerWeightedSD.cpp.
long long int dd4hep::sim::TrackerWeighted::cell = 0 |
Definition at line 91 of file Geant4TrackerWeightedSD.cpp.
int dd4hep::sim::TrackerWeighted::combined = 0 |
Definition at line 86 of file Geant4TrackerWeightedSD.cpp.
int dd4hep::sim::TrackerWeighted::current = -1 |
Definition at line 84 of file Geant4TrackerWeightedSD.cpp.
double dd4hep::sim::TrackerWeighted::distance_to_inside = 0.0 |
Definition at line 79 of file Geant4TrackerWeightedSD.cpp.
double dd4hep::sim::TrackerWeighted::distance_to_outside = 0.0 |
Definition at line 80 of file Geant4TrackerWeightedSD.cpp.
double dd4hep::sim::TrackerWeighted::e_cut = 0.0 |
Definition at line 83 of file Geant4TrackerWeightedSD.cpp.
int dd4hep::sim::TrackerWeighted::g4ID = 0 |
Definition at line 89 of file Geant4TrackerWeightedSD.cpp.
int dd4hep::sim::TrackerWeighted::hit_flag = 0 |
Definition at line 88 of file Geant4TrackerWeightedSD.cpp.
int dd4hep::sim::TrackerWeighted::hit_position_type = POSITION_MIDDLE |
Definition at line 87 of file Geant4TrackerWeightedSD.cpp.
EInside dd4hep::sim::TrackerWeighted::last_inside = kOutside |
Definition at line 90 of file Geant4TrackerWeightedSD.cpp.
Position dd4hep::sim::TrackerWeighted::mean_pos |
Definition at line 75 of file Geant4TrackerWeightedSD.cpp.
double dd4hep::sim::TrackerWeighted::mean_time = 0.0 |
Definition at line 81 of file Geant4TrackerWeightedSD.cpp.
int dd4hep::sim::TrackerWeighted::parent = 0 |
Definition at line 85 of file Geant4TrackerWeightedSD.cpp.
Geant4Tracker::Hit dd4hep::sim::TrackerWeighted::post |
Definition at line 74 of file Geant4TrackerWeightedSD.cpp.
Geant4Tracker::Hit dd4hep::sim::TrackerWeighted::pre |
Definition at line 74 of file Geant4TrackerWeightedSD.cpp.
Geant4Sensitive* dd4hep::sim::TrackerWeighted::sensitive = 0 |
Definition at line 76 of file Geant4TrackerWeightedSD.cpp.
bool dd4hep::sim::TrackerWeighted::single_deposit_mode = false |
Definition at line 92 of file Geant4TrackerWeightedSD.cpp.
double dd4hep::sim::TrackerWeighted::step_length = 0.0 |
Definition at line 82 of file Geant4TrackerWeightedSD.cpp.
G4VPhysicalVolume* dd4hep::sim::TrackerWeighted::thisPV = 0 |
Definition at line 78 of file Geant4TrackerWeightedSD.cpp.
G4VSensitiveDetector* dd4hep::sim::TrackerWeighted::thisSD = 0 |
Definition at line 77 of file Geant4TrackerWeightedSD.cpp.