32 using namespace Acts::UnitLiterals;
33 using namespace ActsExamples;
35 int main(
int argc,
char* argv[]) {
58 auto inputDir = vm[
"input-dir"].as<std::string>();
60 auto rnd = std::make_shared<ActsExamples::RandomNumbers>(
67 for (
auto cdr : geometry.second) {
75 particleReader.inputStem =
"particles_initial";
76 particleReader.outputParticles =
"particles_initial";
78 std::make_shared<CsvParticleReader>(particleReader, logLevel));
82 clusterReaderCfg.outputClusters =
"clusters";
83 clusterReaderCfg.outputHitIds =
"hit_ids";
84 clusterReaderCfg.outputHitParticlesMap =
"hit_particles_map";
85 clusterReaderCfg.outputSimulatedHits =
"hits";
87 std::make_shared<CsvPlanarClusterReader>(clusterReaderCfg, logLevel));
95 particleSelectorCfg.
inputParticles = particleReader.outputParticles;
97 clusterReaderCfg.outputHitParticlesMap;
101 std::make_shared<TruthSeedSelector>(particleSelectorCfg, logLevel));
112 std::make_shared<HitSmearing>(hitSmearingCfg, logLevel));
124 std::make_shared<TruthTrackFinder>(trackFinderCfg, logLevel));
131 particleSmearingCfg.
sigmaD0 = 20_um;
134 particleSmearingCfg.
sigmaZ0 = 20_um;
137 particleSmearingCfg.
sigmaPhi = 1_degree;
140 particleSmearingCfg.
sigmaT0 = 1_ns;
142 std::make_shared<ParticleSmearing>(particleSmearingCfg, logLevel));
153 sequencer.
addAlgorithm(std::make_shared<FittingAlgorithm>(fitter, logLevel));
163 std::make_shared<RootTrajectoryWriter>(trackWriter, logLevel));
172 std::make_shared<TrackFinderPerformanceWriter>(perfFinder, logLevel));
178 std::make_shared<TrackFitterPerformanceWriter>(perfFitter, logLevel));
180 return sequencer.
run();