1 #ifndef sbncode_Simpleflashmatchvars_H
2 #define sbncode_Simpleflashmatchvars_H
14 Charge(
double q_ = -1., TVector3 center_ = TVector3(-999, -999, -999)) :
21 Flash(
double pe_ = -1., TVector3 center_ = TVector3(-999, -999, -999)) :
33 double y_ = -1.,
double z_ = -1.,
34 double rr_ = -1.,
double ratio_ = -1.) :
38 total(no_score),
y(no_score),
z(no_score),
rr(no_score),
ratio(no_score)
43 bool present_ =
false,
double time_ = -1,
double y
score for y metric
double z
score for z metric
Flash light
object that contains flash pe and its position
TVector3 center
Weighted center position [cm].
double ratio
score for ratio metric
SimpleFlashMatch(bool present_=false, double time_=-1, Charge charge_=Charge(), Flash flash_=Flash(), Score score_=Score())
TVector3 center
Weighted center position [cm].
Score score
overall and partial scores to the match
double rr
score for rr metric
Charge charge
object that contains charge and its position
double pe
photo-electrons on flash
bool present
Whether there's a match.
Charge(double q_=-1., TVector3 center_=TVector3(-999,-999,-999))
double total
total score, sum of terms
Flash(double pe_=-1., TVector3 center_=TVector3(-999,-999,-999))
Score(double total_=-1., double y_=-1., double z_=-1., double rr_=-1., double ratio_=-1.)