Project

General

Profile

Bug #17250

Updated by Gianluca Petrillo about 3 years ago

Hi,

When loading the rotated protodune dual phase geometry (dunetpc/dune/Geometry/gdml/protodunedphase_rot.gdml) with drift in y and views in x (geo::View_t = geo::kX = 4) and z (geo::View_t = geo::kZ = 2), I got the following error:
<pre>%MSG-s


%MSG-s
ArtException: lar 16-May-2017 23:18:17 CEST JobSetup
cet::exception caught in art
---- OtherArt BEGIN
ServiceCreation
---- CalculateXTicksParams BEGIN
Bad view = 4
---- CalculateXTicksParams END
cet::exception caught during construction of service type detinfo::DetectorPropertiesServiceStandard:
---- OtherArt END
%MSG</pre> %MSG

The problem is that the @geo::kX@ geo::kX case (and @TimeOffsetX@) TimeOffsetX) is not implemented in @DetectorProperties@. DetectorProperties.
I added them, see branch @feature/chalt_XPlaneForRotatedDPGeometry@ feature/chalt_XPlaneForRotatedDPGeometry in @lardata@. lardata.
Files I changed:
@detectorproperties.fcl@ detectorproperties.fcl
@DetectorPropertiesStandard.h@ DetectorPropertiesStandard.h
@DetectorPropertiesStandard.cxx@ DetectorPropertiesStandard.cxx
@DetectorProperties.h@ DetectorProperties.h

The rotated geometry is loading with this fix (I can't test much more right now since the drift in y is not implemented yet at the g4 stage), but:

When loading the *unrotated* dual phase geometry (@dunetpc/dune/Geometry/gdml/protodunedphase.gdml@, (dunetpc/dune/Geometry/gdml/protodunedphase.gdml, with drift in x and views in y and z) with this fix, I get a segmentation fault from @trajcluster@ trajcluster and @pmtrack@ (@linecluster@ pmtrack (linecluster works). To reproduce, checkout my branch in @lardata@ lardata and do:

reco with raw hit finding and @trajcluster@: trajcluster:
<pre>lar lar -c srcs/dunetpc/fcl/protodunedp/gen/prod_protodunedp.fcl -n 1 -o gen.root (no problem)
lar -c srcs/dunetpc/fcl/protodunedp/g4/standard_g4_protodunedp.fcl gen.root -o g4.root (no problem)
lar -c srcs/dunetpc/fcl/protodunedp/detsim/standard_detsim_protodunedp.fcl g4.root -o detsim.root (no problem)
lar -c srcs/dunetpc/fcl/protodunedp/reco/rawhitfinding_reco_protodunedp.fcl detsim.root -o reco.root (segmentation fault from trajcluster)<pre> trajcluster)

reco with gauss hit finding and linecluster:
<pre>lar lar -c srcs/dunetpc/fcl/protodunedp/gen/prod_protodunedp.fcl -n 1 -o gen.root (no problem)
lar -c srcs/dunetpc/fcl/protodunedp/g4/standard_g4_protodunedp.fcl gen.root -o g4.root (no problem)
lar -c srcs/dunetpc/fcl/protodunedp/detsim/standard_detsim_protodunedp.fcl g4.root -o detsim.root (no problem)
lar -c srcs/dunetpc/fcl/protodunedp/reco/standard_reco_protodunedp.fcl detsim.root -o reco.root (segmentation fault from pmtrack)</pre> pmtrack)

Both reconstructions work fine without the fix.

Let me know if you need more information!

Thanks,
Christoph

P.S.: using @v06_44_00@ v06_44_00

Back