Skip to content

Commit 6b84796

Browse files
committed
Merge remote-tracking branch 'origin/develop' into greenlee_fix_cmake
2 parents 3a24305 + 5794d9d commit 6b84796

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
1717

1818
find_package(cetmodules 3.20.00 REQUIRED)
19-
project(sbncode VERSION 10.20.05 LANGUAGES CXX)
19+
project(sbncode VERSION 10.20.06 LANGUAGES CXX)
2020

2121
message(STATUS "\n\n ========================== ${PROJECT_NAME} ==========================")
2222

sbncode/SinglePhotonAnalysis/NCDeltaRadiative_module.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ bool NCDeltaRadiative::filter(art::Event & e) {
161161
simb::MCParticle const & mcp = mct.GetParticle(i);
162162
if(mcp.TrackId() != i) {
163163
std::cout << "ERROR: " << __LINE__ << " " << __PRETTY_FUNCTION__ << "\nTrackId does not match index\n";
164-
exit(1);
164+
return false;
165165
}
166166
if(!(mcp.StatusCode() == 1 && mcp.PdgCode() == 22)) continue;
167167
exiting_photon_parents.push_back(mcp.Mother());
@@ -173,7 +173,7 @@ bool NCDeltaRadiative::filter(art::Event & e) {
173173
//CHEKC hardcode, TPC filter:
174174
if(abs(mcp.Vx())>210 || abs(mcp.Vy())>210||mcp.Vz()>510 || mcp.Vz()<-1){
175175
std::cout<<"OUTSIDE TPC x y z ="<<mcp.Vx()<<" "<<mcp.Vy()<<" "<<mcp.Vz()<<std::endl;
176-
exit(0);
176+
return false;
177177
}
178178
if(abs(mcp.PdgCode()) == 2114 || abs(mcp.PdgCode()) == 2214) {
179179
if(ftree) FillTree(e, i, mcp.PdgCode(), true);

sbncode/SinglePhotonAnalysis/NCRadiativeResonant_module.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ bool NCRadiativeResonant::filter(art::Event & e) {
185185
//CHEKC hardcode, TPC filter:
186186
if(abs(mcp.Vx())>210 || abs(mcp.Vy())>210||mcp.Vz()>510 || mcp.Vz()<-1){
187187
std::cout<<"OUTSIDE TPC x y z ="<<mcp.Vx()<<" "<<mcp.Vy()<<" "<<mcp.Vz()<<std::endl;
188-
exit(0);
188+
return false;
189189
}
190190

191191
if(mcp.TrackId() != jth) {
192192
std::cout << "ERROR: " << __LINE__ << " " << __PRETTY_FUNCTION__ << "\nTrackId does not match index\n";
193-
exit(1);
193+
return false;
194194
}
195195
if(!(mcp.StatusCode() == 1 && mcp.PdgCode() == 22)) continue;//next, if this is not a photon with StatusCode 1
196196
exiting_photon_parents.push_back(mcp.Mother());//collect photon's parents

ups/product_deps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ libdir fq_dir lib
254254
product version qual flags <table_format=2>
255255
genie_xsec v3_06_00 -
256256
larcv2 v2_2_6 -
257-
larsoft v10_20_05 -
257+
larsoft v10_20_06 -
258258
sbnalg v10_20_05 -
259259
sbndaq_artdaq_core v1_10_06 -
260260
sbndata v01_08 -

0 commit comments

Comments
 (0)