Skip to content

Commit c21311b

Browse files
author
Carlos Martin Morales
committed
Eliminated comments from older versions of the code. The new FlashFinder algorithm creates shortened flashes for some interactions that were vetoed before
1 parent 354cce2 commit c21311b

3 files changed

Lines changed: 0 additions & 23 deletions

File tree

sbndcode/OpDetReco/OpFlash/FlashFinder/SimpleFlashAlgo.cxx

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,10 @@ namespace lightana{
3535
//_pe_baseline_v.clear();
3636
//_pe_baseline_v = p.get<std::vector<double> >("PEBaseline",_pe_baseline_v);
3737

38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
4838
_min_pe_repeated = p.get<double>("MinPECoincRepeated", 20); // Minimum PE in one bin to declare a repeated flash during an existing OpFlash
4939
_min_time_before = p.get<double>("MinTimeBefore", 0.5); // minimum time separation to declare a repeated flash before an existing OpFlash
5040
_time_dif_flash_before = p.get<double>("TimeDifferenceFlashBefore", 0.05); // minimum time separation to declare a repeated flash before an existing OpFlash
5141

52-
53-
54-
55-
56-
57-
58-
59-
60-
6142
// Check that integral_time > veto_time (they are set equal)
6243
if(_integral_time > _veto_time) {
6344
std::cerr << "Integral time cannot exceed veto time!" << std::endl;

sbndcode/OpDetReco/OpFlash/FlashFinder/SimpleFlashAlgo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ namespace lightana
3737
double _time_res; // time resolution of pe sum
3838
double _pre_sample; // time pre-sample
3939
int _tpc; // tpc
40-
4140
double _min_pe_repeated; // Minimum PE in one bin to declare a repeated flash during an existing OpFlash
4241
double _min_time_before; // minimum time separation to declare a repeated flash before an existing OpFlash
4342
double _time_dif_flash_before; // minimum time separation to declare a repeated flash before an existing OpFlash

sbndcode/OpDetReco/OpFlash/job/sbnd_flashalgo.fcl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ SimpleFlashStandard:
1818
DebugMode: true
1919

2020
MinPECoincRepeated: 20
21-
#MinTimeRepeated: 0.5
2221
MinTimeBefore: 0.5
2322
TimeDifferenceFlashBefore: 0.05
24-
#TimeIntervalAfter: 0.3
25-
#TimeIntervalBefore: 0.5
2623
}
2724

2825
SimpleFlashTPC0: @local::SimpleFlashStandard

0 commit comments

Comments
 (0)