Skip to content

Commit a148f68

Browse files
Merge pull request #733 from SBNSoftware/feature/yatesla_intime_cosmic_timing
Update parameters of in-time cosmic MC gen filter modules
2 parents 31580b9 + a9764c0 commit a148f68

3 files changed

Lines changed: 14 additions & 13 deletions

File tree

sbndcode/Filters/fcls/filtersgenintime_sbnd.fcl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ BEGIN_PROLOG
66
sbnd_filtergenintime: {
77
KeepOnlyMuons: false
88
MinKE: 1e-1 # some energy threshold to produce a PE
9-
MaxT: 1900 # [ns] add a little buffer on the far end of the photon time window
10-
# About 1 in 30e6 particles will produce a flash 15us after entering the cryostat
11-
# so this gives us a good buffer and is still computationally feasible
12-
# MinT: -15202 # [ns]
13-
MinT: -200 # [ns] Change: filter to only allow muons starting at the beam spill (with a small buffer)
9+
# Filter to only allow muons starting within the Run 1 trigger acceptance window of [-873, 2467] ns
10+
# With a 200 ns buffer on the leading side and a 100 ns buffer on the late side
11+
MaxT: 2567 # [ns]
12+
MinT: -1073 # [ns]
1413
SortParticles: true
1514
module_type: "FilterGenInTime"
1615
}

sbndcode/Filters/fcls/filterssimphotonlitetime_sbnd.fcl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ BEGIN_PROLOG
33
sbnd_timefilterssimphotonlitetime: {
44
module_type: "FilterSimPhotonLiteTime"
55
SimPhotonsLiteCollectionLabel: larg4intime
6-
# Currently in overlay generation, events are generated
7-
# uniformly in a window [0, 1596ns] to approximate a beam spill.
8-
# Add a little width here to up that width to 2000ns
9-
TimeWindows: [ [-202, 1798] ] # ns
6+
# Generate in-time cosmics uniformly in a window [-873, 2467] ns
7+
# To simulate a 3.34us trigger acceptance window that starts 1.24us before the beam spill that starts at +367ns
8+
# Consistent with the trigger acceptance window for light-based trigger streams in Run 1 data (docdb-40000, slides from Feb 21)
9+
# With a 100 ns buffer on either side
10+
TimeWindows: [ [-973, 2567] ] # ns
1011
# 10 PE
1112
MinTotalPhotons: 10
1213
# Reflected photons are not used in trigger -- we can ignore them

sbndcode/Filters/fcls/filterssimphotontime_sbnd.fcl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ BEGIN_PROLOG
33
sbnd_timefilterssimphotontime: {
44
module_type: "FilterSimPhotonTime"
55
SimPhotonsCollectionLabel: largeant
6-
# Currently in overlay generation, events are generated
7-
# uniformly in a window [0, 1596ns] to approximate a beam spill.
8-
# Add a little width here to up that width to 2000ns
9-
TimeWindows: [ [-202, 1798] ] # ns
6+
# Generate in-time cosmics uniformly in a window [-873, 2467] ns
7+
# To simulate a 3.34us trigger acceptance window that starts 1.24us before the beam spill that starts at +367ns
8+
# Consistent with the trigger acceptance window for light-based trigger streams in Run 1 data (docdb-40000, slides from Feb 21)
9+
# With a 100 ns buffer on either side
10+
TimeWindows: [ [-973, 2567] ] # ns
1011
MinPhotonEnergy: -1
1112
# 10 PE -- in the case of reflected photons, this may be more than 10 photons
1213
MinTotalEnergy: 9.7e-5

0 commit comments

Comments
 (0)