-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: CalorimeterHitsMerger factory simplification
This applies the #666 treatment to the CalorimeterHitsMerger algorithms: - put all configuration in a single configuration struct for use with WithPodConfig mixin, - create a templated factory-factory to use in the plugins, - replace all old explicit CalorimeterHit factories with the new factory-factory.
- Loading branch information
Showing
11 changed files
with
164 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Subject to the terms in the LICENSE file found in the top-level directory. | ||
// | ||
|
||
#pragma once | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace eicrecon { | ||
|
||
struct CalorimeterHitsMergerConfig { | ||
|
||
std::string readout{""}; | ||
std::vector<std::string> fields{}; | ||
std::vector<int> refs{}; | ||
|
||
}; | ||
|
||
} // eicrecon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 0 additions & 57 deletions
57
src/detectors/BEMC/CalorimeterHit_factory_EcalBarrelScFiMergedHits.h
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
src/detectors/EHCAL/CalorimeterHit_factory_HcalEndcapNMergedHits.h
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 0 additions & 56 deletions
56
src/detectors/FHCAL/CalorimeterHit_factory_HcalEndcapPInsertMergedHits.h
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.