Skip to content

Commit cb9b56d

Browse files
ruse-travelerGitHub Copilotpre-commit-ci[bot]
authored
fix: remove 'Barrel' from endcap track-cluster match factory names (#2185)
The names for the backward endcap track-cluster match factories accidentally included 'Barrel' in their names. This fix removes it: - `EcalEndcapNBarrelTrackClusterMatches` → `EcalEndcapNTrackClusterMatches` - `HcalEndcapNBarrelTrackClusterMatches` → `HcalEndcapNTrackClusterMatches` ### What kind of change does this PR introduce - [x] Bug fix (issue #2184) - [ ] New feature (issue #__) - [ ] Documentation update - [ ] Other: __ ### Please check if this PR fulfills the following: - [ ] Tests for the changes have been added - [ ] Documentation has been added / updated - [x] Changes have been communicated to collaborators ### Does this PR introduce breaking changes? What changes might users need to make to their code? No. ### Does this PR change default behavior? No. --------- Co-authored-by: GitHub Copilot <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f4948e9 commit cb9b56d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/global/reco/reco.cc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,12 @@ void InitPlugin(JApplication* app) {
194194

195195
// Backward
196196
app->Add(new JOmniFactoryGeneratorT<TrackClusterMatch_factory>(
197-
"EcalEndcapNBarrelTrackClusterMatches",
198-
{"CalorimeterTrackProjections", "EcalEndcapNClusters"}, {"EcalEndcapNTrackClusterMatches"},
199-
{.calo_id = "EcalEndcapN_ID"}, app));
197+
"EcalEndcapNTrackClusterMatches", {"CalorimeterTrackProjections", "EcalEndcapNClusters"},
198+
{"EcalEndcapNTrackClusterMatches"}, {.calo_id = "EcalEndcapN_ID"}, app));
200199

201200
app->Add(new JOmniFactoryGeneratorT<TrackClusterMatch_factory>(
202-
"HcalEndcapNBarrelTrackClusterMatches",
203-
{"CalorimeterTrackProjections", "HcalEndcapNClusters"}, {"HcalEndcapNTrackClusterMatches"},
204-
{.calo_id = "HcalEndcapN_ID"}, app));
201+
"HcalEndcapNTrackClusterMatches", {"CalorimeterTrackProjections", "HcalEndcapNClusters"},
202+
{"HcalEndcapNTrackClusterMatches"}, {.calo_id = "HcalEndcapN_ID"}, app));
205203

206204
app->Add(new JOmniFactoryGeneratorT<TransformBreitFrame_factory>(
207205
"ReconstructedBreitFrameParticles",

0 commit comments

Comments
 (0)