Skip to content

Commit 9f882f5

Browse files
author
Mun Jung Jung
committed
revert changes blocking PR
1 parent bfa1a1b commit 9f882f5

7 files changed

Lines changed: 455 additions & 119 deletions

File tree

sbndcode/Calibration/CRT/crtskim_sbnd.fcl

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,9 @@
22
#include "crtbacktrackeralg_sbnd.fcl"
33

44
BEGIN_PROLOG
5-
6-
crtskim_sbnd:
7-
{
8-
module_type: "CRTCalibAna"
9-
CRTBackTrackerAlg: @local::crtbacktrackeralg_sbnd
10-
CRTGeoAlg: @local::crtgeoalg_sbnd
5+
crtskim_sbnd: {
6+
module_type: "CRTCalibAna"
7+
CRTBackTrackerAlg: @local::crtbacktrackeralg_sbnd
8+
CRTGeoAlg: @local::crtgeoalg_sbnd
119
}
12-
13-
crtskim_no_sce_sbnd: @local::crtskim_sbnd
14-
crtskim_no_sce_sbnd.TPCTrackModuleLabel: "pandoraTrack"
15-
crtskim_no_sce_sbnd.CRTSpacePointMatchingModuleLabel: "crtspacepointmatching"
16-
crtskim_no_sce_sbnd.CRTTrackMatchingModuleLabel: "crttrackmatching"
17-
1810
END_PROLOG

sbndcode/Decoders/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ add_subdirectory(PTB)
33
add_subdirectory(SPECTDC)
44
add_subdirectory(PMT)
55
add_subdirectory(CRT)
6-
install_fhicl()
76
add_subdirectory(XARAPUCA)
7+
8+
install_fhicl()

sbndcode/Geometry/GeometryWrappers/CRTGeoAlg.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,11 @@ namespace sbnd::crt {
172172
orientation = (modulePosMother[2] > 0);
173173

174174
// Location of SiPMs
175-
if(CRTCommonUtils::GetTaggerEnum(taggerName) == kSouthTagger || _adID == 82)
176-
top = (orientation == 0) ? (modulePosMother[1] < 0) : (modulePosMother[0] > 0);
177-
else
175+
if(CRTCommonUtils::GetTaggerEnum(taggerName) == kBottomTagger || CRTCommonUtils::GetTaggerEnum(taggerName) == kNorthTagger
176+
|| CRTCommonUtils::GetTaggerEnum(taggerName) == kWestTagger || CRTCommonUtils::GetTaggerEnum(taggerName) == kEastTagger)
178177
top = (orientation == 1) ? (modulePosMother[1] < 0) : (modulePosMother[0] > 0);
178+
else
179+
top = (orientation == 0) ? (modulePosMother[1] < 0) : (modulePosMother[0] > 0);
179180

180181
// Fill edges
181182
minX = std::min(limitsWorld.X(), limitsWorld2.X());

0 commit comments

Comments
 (0)