30 using namespace Acts::UnitLiterals;
31 using namespace ActsExamples;
33 int main(
int argc,
char* argv[]) {
57 auto inputDir = vm[
"input-dir"].as<std::string>();
59 auto rnd = std::make_shared<ActsExamples::RandomNumbers>(
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));
94 particleSelectorCfg.
inputParticles = particleReader.outputParticles;
96 clusterReaderCfg.outputHitParticlesMap;
98 particleSelectorCfg.
ptMin = 1_GeV;
101 std::make_shared<TruthSeedSelector>(particleSelectorCfg, logLevel));
112 std::make_shared<HitSmearing>(hitSmearingCfg, logLevel));
121 particleSmearingCfg.
sigmaD0 = 20_um;
124 particleSmearingCfg.
sigmaZ0 = 20_um;
127 particleSmearingCfg.
sigmaPhi = 1_degree;
130 particleSmearingCfg.
sigmaT0 = 1_ns;
132 std::make_shared<ParticleSmearing>(particleSmearingCfg, logLevel));
139 trackFindingCfg.inputInitialTrackParameters =
141 trackFindingCfg.outputTrajectories =
"trajectories";
142 trackFindingCfg.findTracks = TrackFindingAlgorithm::makeTrackFinderFunction(
145 std::make_shared<TrackFindingAlgorithm>(trackFindingCfg, logLevel));
153 std::make_shared<CKFPerformanceWriter>(perfWriterCfg, logLevel));
155 return sequencer.
run();