10 #include "G4VTouchable.hh" 46 friend ostream &operator<<(ostream &stream, vector<identifier>);
50 bool operator<= (
const identifier& I)
const {
return !(*
this > I);}
51 bool operator>= (
const identifier& I)
const {
return !(*
this < I);}
52 bool operator!= (
const identifier& I)
const {
return !(*
this == I);}
57 vector<identifier>
SetId(vector<identifier>, G4VTouchable*,
double,
double,
int);
vector< identifier > get_identifiers(string var)
int id
manually assing ID. 0 if "ncopy" (will be set at hit processing time)
string name
Name of the detector.
double TimeWindow
Time Window. If abs(steptime - time) is smaller than TimeWindow, it's the same hit.
int TrackId
If Time Window is 0, it's a "flux" detector: if it's the same track, it's the same hit...
double id_sharing
A single step can generate multiple identifiers. This variable represent the percentage sharing of th...
double time
Time of the first step.
vector< identifier > SetId(vector< identifier >, G4VTouchable *, double, double, int)
Sets the ncopy ID accordingly to Geant4 Volumes copy number. Sets time, TimeWindow, TrackId.
string rule
"manual" or "ncopy"