Skip to content

Commit 8f0ac0a

Browse files
Merge branch 'production/v10_06_00' into feature/acastill_springprod_bfm
2 parents 67ee78c + be10ed1 commit 8f0ac0a

10 files changed

Lines changed: 52 additions & 6 deletions

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
1717

18-
set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING 10.06.00.05)
18+
set(${PROJECT_NAME}_CMAKE_PROJECT_VERSION_STRING 10.06.00.06)
1919
find_package(cetmodules REQUIRED)
2020
project(sbndcode LANGUAGES CXX)
2121

sbndcode/Calibration/TPCCalorimetry/NormalizeYZ_tool.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ namespace sbnd {
133133
return dQdx;
134134
}
135135

136-
return dQdx / scale;
136+
return dQdx*scale;
137137
}
138138

139139
DEFINE_ART_CLASS_TOOL(NormalizeYZ)

sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd_sce.fcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ physics.producers.pandoraTrackRange.TrackLabel: "pandoraSCETrack"
2424

2525
physics.producers.cafmaker.FlashMatchOpDetSuffixes: ["", "op", "ara", "opara"]
2626
physics.producers.cafmaker.FlashMatchSCECryoSuffixes: ["SCE"]
27+
physics.producers.cafmaker.TrackHitFillRRStartCut: 1000
28+
physics.producers.cafmaker.TrackHitFillRREndCut: 1000
2729

2830
physics.producers.pandoraShowerSelectionVars.PandoraLabel: "pandoraSCE"
2931
physics.producers.pandoraShowerSelectionVars.ShowerLabel: "pandoraSCEShowerSBN"

sbndcode/JobConfigurations/standard/reco/reco2_data.fcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ physics.reco2: [ pandora, pandoraTrack, pandoraShower, pandoraShowerSBN, pandora
4343
cvnSCE, opt0finderSCE, tpcpmtbarycentermatchingSCE, crtspacepointmatchingSCE, crttrackmatchingSCE,
4444
caloskimCalorimetry, frameshift]
4545

46+
services.DetectorPropertiesService.Electronlifetime: 35.0e3 #microseconds
47+
4648
physics.analyzers.caloskim.G4producer: ""
4749
physics.analyzers.caloskim.SimChannelproducer: ""
4850
physics.analyzers.crtana: @local::crtana_data_sbnd

sbndcode/Timing/FrameShift/FrameShift_module.cc

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,11 +661,21 @@ void sbnd::FrameShift::produce(art::Event& e)
661661
// + Data: t = 0 = abitrary. All subsystem electronics time is reference to the last PPS
662662

663663
if(_isBeam){
664-
_frame_tdc_rwm += fShiftRWM2Gate; //
665-
_frame_apply_at_caf = _frame_tdc_rwm; // +frame_data2mc
664+
if (_frame_tdc_rwm != 0){
665+
_frame_tdc_rwm += fShiftRWM2Gate; //align RWM signal to gate opening frame
666+
_frame_apply_at_caf = _frame_tdc_rwm; // +frame_data2mc
667+
}else if(_frame_hlt_gate != 0){
668+
_frame_apply_at_caf = _frame_hlt_gate; //+frame_data2mc
669+
}else{
670+
_frame_apply_at_caf = 0;
671+
}
666672
}
667673
else if(_isOffbeam){
668-
_frame_apply_at_caf = _frame_hlt_gate; //+frame_data2mc
674+
if(_frame_hlt_gate != 0){
675+
_frame_apply_at_caf = _frame_hlt_gate; //+frame_data2mc
676+
}else{
677+
_frame_apply_at_caf = 0;
678+
}
669679
}
670680
else if(_isXmuon){
671681
_frame_apply_at_caf = 0;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
#include "standard_detsim_sbnd.fcl"
22

33
services.NuRandomService.policy: "perEvent"
4+
5+
#Adding these drops because the WireCell Toolkit simulation
6+
# is not deterministic, but they would like to keep these
7+
# in main production to further develop.
8+
outputs.out1.outputCommands: [ "keep *_*_*_*"
9+
,"drop *_simtpc2d_badmasks_*"
10+
,"drop *_simtpc2d_badchannels_*"
11+
]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
#include "sbnd_ci_nucosmics_detsim_quick_test_sbndcode.fcl"
2+
3+
#Adding these drops because the WireCell Toolkit simulation
4+
# is not deterministic, but they would like to keep these
5+
# in main production to further develop.
6+
outputs.out1.outputCommands: [ "keep *_*_*_*"
7+
,"drop *_simtpc2d_badmasks_*"
8+
,"drop *_simtpc2d_badchannels_*"
9+
]

test/ci/sbnd_ci_single_detsim_quick_test_sbndcode.fcl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@
22

33
services.NuRandomService.policy: "perEvent"
44

5+
6+
#Adding these drops because the WireCell Toolkit simulation
7+
# is not deterministic, but they would like to keep these
8+
# in main production to further develop.
9+
outputs.out1.outputCommands: [ "keep *_*_*_*"
10+
,"drop *_simtpc2d_badmasks_*"
11+
,"drop *_simtpc2d_badchannels_*"
12+
]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
#include "sbnd_ci_single_detsim_quick_test_sbndcode.fcl"
2+
3+
#Adding these drops because the WireCell Toolkit simulation
4+
# is not deterministic, but they would like to keep these
5+
# in main production to further develop.
6+
outputs.out1.outputCommands: [ "keep *_*_*_*"
7+
,"drop *_simtpc2d_badmasks_*"
8+
,"drop *_simtpc2d_badchannels_*"
9+
]

ups/product_deps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ wpdir product_dir wire-cell-cfg
253253
#
254254
####################################
255255
product version qual flags <table_format=2>
256-
sbncode v10_06_00_07 -
256+
sbncode v10_06_00_08 -
257257
cetmodules v3_24_01 - only_for_build
258258
sbnd_data v01_35_00 -
259259
sbndutil v10_06_00_02 - optional

0 commit comments

Comments
 (0)