D.Pankova 04/2019
New parameter 'Deepcore' was added. Default = false. If set to true DeepCore DOMs would also be checked for compatibility. Otherwise only DOMs outide DeepCore, in the 'veto'
D.Pankova 03/2019
This is a part of StartingTrackVeto algorithm by K.Jero. This part finds compatible hits for a given track. Compatible Hits are the hits that could have come from that Track. They are found using probabily tables:
- You take a source - a segment of the track and a hit DOM
- You Look into the tables to read out mean PE vs time (given time interval and number of bins)
- Find Max of mean PE vs time graph
- Find two instances of time where mean PE = pecent*Max (default percent = 0.01). This is time window, for compatible hits
- Check if Pulses in the Dom occur during that time window (then they are compatible)
- Repeat for every segment and hit DOM
Unlike STV TrackHits module iterates over hit DOMs only, not all the doms withtin R (min_cad_dist). So it's faster.
Usage: look at /TrackHits/resources/test/RunTrackHits.py