35 #include <boost/program_options.hpp>
37 using namespace Acts::UnitLiterals;
38 using namespace ActsExamples;
41 int argc,
char* argv[],
42 const std::shared_ptr<ActsExamples::IBaseDetector>&
detector) {
55 detector->addOptions(desc);
69 auto contextDecorators =
geometry.second;
74 for (
const auto& cdr : contextDecorators) {
89 simHitReaderCfg.outputSimHits);
96 particleSelectorCfg.
inputParticles = particleReader.outputParticles;
98 digiCfg.outputMeasurementParticlesMap;
100 particleSelectorCfg.
ptMin = 1_GeV;
101 particleSelectorCfg.
etaMax = 2.5;
102 particleSelectorCfg.
etaMin = -2.5;
105 std::make_shared<TruthSeedSelector>(particleSelectorCfg,
logLevel));
133 houghCfg.
xMin = -0.05;
134 houghCfg.
xMax = 0.25;
135 houghCfg.
yMin = -1.25;
136 houghCfg.
yMax = 1.25;
152 houghCfg.
kA = 0.0003;
162 std::make_shared<HoughTransformSeeder>(houghCfg,
logLevel));
170 sequencer.
addAlgorithm(std::make_shared<TrackParamsEstimationAlgorithm>(
178 digiCfg.outputMeasurementParticlesMap;
181 std::make_shared<TrackFinderPerformanceWriter>(tfPerfCfg,
logLevel));
187 digiCfg.outputMeasurementParticlesMap;
190 std::make_shared<SeedingPerformanceWriter>(seedPerfCfg,
logLevel));
197 trackParamsWriterCfg.
inputParticles = particleReader.outputParticles;
198 trackParamsWriterCfg.
inputSimHits = simHitReaderCfg.outputSimHits;
200 digiCfg.outputMeasurementParticlesMap;
202 digiCfg.outputMeasurementSimHitsMap;
204 trackParamsWriterCfg.
treeName =
"estimatedparams";
205 sequencer.
addWriter(std::make_shared<RootTrackParameterWriter>(
208 return sequencer.
run();