Skip to content
Snippets Groups Projects
Commit c02a5d9d authored by ebusato's avatar ebusato
Browse files

update

parent 0f1e85e7
No related branches found
Tags v2.18
No related merge requests found
......@@ -283,6 +283,9 @@ func (e *Event) FindLORs(xbeam, ybeam, RmarMax, DeltaTMax, Emin, Emax float64) {
//if pulseRight.Time30 < 20 || pulseRight.Time30 > 50 {
// continue
//}
if pulseRight.Time30 == 0 || pulseRight.Time30 > 170 {
continue
}
for j := idxFirstLeft; j < int(mult); j++ {
pulseLeft := pulses[j]
if pulseLeft.Hemi() != dpgadetector.Left {
......@@ -297,6 +300,9 @@ func (e *Event) FindLORs(xbeam, ybeam, RmarMax, DeltaTMax, Emin, Emax float64) {
//if pulseLeft.Time30 < 20 || pulseLeft.Time30 > 50 {
// continue
//}
if pulseLeft.Time30 == 0 || pulseLeft.Time30 > 170 {
continue
}
// do MAR
ch0 := pulseRight.Channel
ch1 := pulseLeft.Channel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment