31 using namespace Acts::UnitLiterals;
34 int main(
int argc,
char* argv[]) {
57 auto inputDir = vm[
"input-dir"].as<std::string>();
66 for (
auto cdr : geometry.second) {
74 particleReader.inputStem =
"particles_initial";
75 particleReader.outputParticles =
"particles_initial";
77 std::make_shared<CsvParticleReader>(particleReader, logLevel));
81 clusterReaderCfg.outputClusters =
"clusters";
82 clusterReaderCfg.outputHitIds =
"hit_ids";
83 clusterReaderCfg.outputHitParticlesMap =
"hit_particles_map";
84 clusterReaderCfg.outputSimulatedHits =
"hits";
86 std::make_shared<CsvPlanarClusterReader>(clusterReaderCfg, logLevel));
99 std::make_shared<HitSmearing>(hitSmearingCfg, logLevel));
104 const auto& inputParticles = particleReader.outputParticles;
111 std::make_shared<TruthTrackFinder>(trackFinderCfg, logLevel));
124 particleSmearingCfg.
sigmaPhi = 1_degree;
127 particleSmearingCfg.
sigmaT0 = 1_ns;
129 std::make_shared<ParticleSmearing>(particleSmearingCfg, logLevel));
139 magneticField, logLevel);
140 sequencer.
addAlgorithm(std::make_shared<FittingAlgorithm>(fitter, logLevel));
150 std::make_shared<RootTrajectoryWriter>(trackWriter, logLevel));
159 std::make_shared<TrackFinderPerformanceWriter>(perfFinder, logLevel));
165 std::make_shared<TrackFitterPerformanceWriter>(perfFitter, logLevel));
167 return sequencer.
run();