Skip to content

Commit

Permalink
try to use onlinel2 splinempe instead of bestfit
Browse files Browse the repository at this point in the history
  • Loading branch information
mlincett committed Oct 13, 2023
1 parent 6d1be89 commit 6e3ed29
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions skymap_scanner/recos/splinempe.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ class SplineMPE(RecoInterface):
]

# Names used in the reco.
energy_reco_seed = "OnlineL2_BestFit"
# energy_reco_seed = "OnlineL2_BestFit"
energy_reco_seed = "OnlineL2_SplineMPE"
energy_estimator = "OnlineL2_BestFit_MuEx"

# This may be configurable in the future.
Expand Down Expand Up @@ -202,12 +203,12 @@ def prepare_frames(cls, tray, name: str, logger, pulsesName) -> None:
result=cls.energy_estimator,
energy=True,
detail=True,
compat=True,
compat=False,
lcspan=0,
If=lambda f: True,
)

tray.Add(check_name, logger=logger, key=cls.energy_estimator)
# tray.Add(check_name, logger=logger, key=cls.energy_estimator)
tray.Add(check_name, logger=logger, key=cls.base_pulseseries_hlc)

tray.Add(
Expand Down Expand Up @@ -330,7 +331,7 @@ def notify0(frame):
# Multiple energy estimators can be provided but they should be run beforehand.
# =============================================================================

tray.AddModule(checkName, name=self.energy_estimator)
# tray.AddModule(checkName, name=self.energy_estimator)

tray.Add(
"I3SplineRecoLikelihoodFactory",
Expand Down

0 comments on commit 6e3ed29

Please sign in to comment.