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));
169 std::make_shared<SeedingAlgorithm>(seedingCfg,
logLevel));
175 std::make_shared<SeedsToPrototracks>(seedsToPrototrackCfg,
logLevel));
183 sequencer.
addAlgorithm(std::make_shared<TrackParamsEstimationAlgorithm>(
191 digiCfg.outputMeasurementParticlesMap;
194 std::make_shared<TrackFinderPerformanceWriter>(tfPerfCfg,
logLevel));
200 digiCfg.outputMeasurementParticlesMap;
203 std::make_shared<SeedingPerformanceWriter>(seedPerfCfg,
logLevel));
211 trackParamsWriterCfg.
inputParticles = particleReader.outputParticles;
212 trackParamsWriterCfg.
inputSimHits = simHitReaderCfg.outputSimHits;
214 digiCfg.outputMeasurementParticlesMap;
216 digiCfg.outputMeasurementSimHitsMap;
218 trackParamsWriterCfg.
treeName =
"estimatedparams";
219 sequencer.
addWriter(std::make_shared<RootTrackParameterWriter>(
222 return sequencer.
run();