MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
DedupStrategy.hpp File Reference

Go to the source code of this file.

Enumerations

enum  DedupStrategy {
  kCLOSEST_TO_FIRST_GRID , kSMALLEST_ENERGY , kLARGEST_ENERGY , kLATEST_TIMESTAMP ,
  kDISCARD
}
 How to resolve more than one hit on the same channel within an event. More...

Enumeration Type Documentation

◆ DedupStrategy

How to resolve more than one hit on the same channel within an event.

The first four values pick a survivor and keep the event. kDISCARD is not a selection at all — it throws the whole event away.

Enumerator
kCLOSEST_TO_FIRST_GRID 

Keep the hit whose timestamp is nearest the first grid hit.

kSMALLEST_ENERGY 

Keep the lowest-energy hit.

kLARGEST_ENERGY 

Keep the highest-energy hit.

kLATEST_TIMESTAMP 

Keep the last hit to arrive.

kDISCARD 

Discard the entire event if any anode channel has a repeated hit.

Mirrors the upstream builder, which sets event_rej on a second hit to de_l or de_r and never fills that event.

Definition at line 10 of file DedupStrategy.hpp.