32 using namespace Acts::UnitLiterals;
33 using namespace ActsExamples;
35 int main(
int argc,
char* argv[]) {
66 particleReaderConfig.
treeName =
"particles";
67 sequencer.addReader(std::make_shared<RootParticleReader>(
73 select.outputParticles =
"detectorAcceptanceSelectedTruthParticles";
74 sequencer.addAlgorithm(
75 std::make_shared<ActsExamples::ParticleSelector>(select,
logLevel));
78 trackSummaryReader.
outputTracks =
"fittedTrackParameters";
81 sequencer.addReader(std::make_shared<RootTrajectorySummaryReader>(
88 trackSelectorConfig.
absEtaMax = vars[
"vertexing-eta-max"].as<
double>();
89 trackSelectorConfig.
loc0Max = vars[
"vertexing-rho-max"].as<
double>() * 1_mm;
90 trackSelectorConfig.
ptMin = vars[
"vertexing-pt-min"].as<
double>() * 1_MeV;
91 sequencer.addAlgorithm(
92 std::make_shared<TrackParameterSelector>(trackSelectorConfig,
logLevel));
100 sequencer.addAlgorithm(std::make_shared<AdaptiveMultiVertexFinderAlgorithm>(
112 vertexWriterConfig.
filePath = outputDir +
"/vertexperformance_AMVF.root";
113 vertexWriterConfig.
treeName =
"amvf";
115 std::make_shared<VertexPerformanceWriter>(vertexWriterConfig,
logLevel));
117 return sequencer.run();