Skip to content

Commit 0e5c785

Browse files
committed
Account for geometry swap in GeoAlg
1 parent 5e43d88 commit 0e5c785

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sbndcode/Geometry/GeometryWrappers/CRTGeoAlg.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ namespace sbnd::crt {
169169
orientation = (modulePosMother[2] > 0);
170170

171171
// Location of SiPMs
172-
if(CRTCommonUtils::GetTaggerEnum(taggerName) == kBottomTagger || CRTCommonUtils::GetTaggerEnum(taggerName) == kNorthTagger)
172+
if(CRTCommonUtils::GetTaggerEnum(taggerName) == kBottomTagger || CRTCommonUtils::GetTaggerEnum(taggerName) == kNorthTagger
173+
|| CRTCommonUtils::GetTaggerEnum(taggerName) == kWestTagger || CRTCommonUtils::GetTaggerEnum(taggerName) == kEastTagger)
173174
top = (orientation == 1) ? (modulePosMother[1] > 0) : (modulePosMother[0] < 0);
174175
else
175176
top = (orientation == 0) ? (modulePosMother[1] > 0) : (modulePosMother[0] < 0);

0 commit comments

Comments
 (0)