34 using namespace ActsExamples;
41 simHitReaderCfg.inputStem =
"hits";
42 simHitReaderCfg.outputSimHits =
"hits";
44 std::make_shared<CsvSimHitReader>(simHitReaderCfg,
logLevel));
46 return simHitReaderCfg;
52 using namespace ActsExamples;
59 particleReader.inputStem =
"particles_initial";
60 particleReader.outputParticles =
"particles_initial";
62 std::make_shared<CsvParticleReader>(particleReader,
logLevel));
64 return particleReader;
70 std::shared_ptr<const ActsExamples::RandomNumbers>
rnd,
73 using namespace ActsExamples;
79 vars[
"digi-merge"].as<bool>(), vars[
"digi-merge-nsigma"].as<double>(),
80 vars[
"digi-merge-common-corner"].as<bool>(),
82 vars[
"digi-config-file"].as<std::string>()));
84 digiCfg.inputSimHits = inputSimHits;
86 digiCfg.trackingGeometry =
std::move(trackingGeometry);
88 std::make_shared<DigitizationAlgorithm>(digiCfg,
logLevel));
90 if (not vars[
"dump-digi-config"].as<std::string>().empty()) {
101 std::shared_ptr<const ActsExamples::RandomNumbers>
rnd,
103 using namespace ActsExamples;
104 using namespace Acts::UnitLiterals;
113 particleSmearingCfg.outputTrackParameters =
"smearedparameters";
114 particleSmearingCfg.randomNumbers =
std::move(rnd);
116 std::make_shared<ParticleSmearing>(particleSmearingCfg,
logLevel));
118 return particleSmearingCfg;
124 using namespace ActsExamples;
130 measurementsReader.outputMeasurements =
"measurements";
131 measurementsReader.outputMeasurementSimHitsMap =
"measurements2hits";
132 measurementsReader.outputSourceLinks =
"source_links";
133 measurementsReader.outputClusters =
"clusters";
135 std::make_shared<CsvMeasurementReader>(measurementsReader,
logLevel));
137 return measurementsReader;