ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackFinderPerformanceWriter.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrackFinderPerformanceWriter.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2019 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
10 
11 #include <memory>
12 #include <string>
13 
16 
17 namespace FW {
18 
23 class TrackFinderPerformanceWriter final : public WriterT<ProtoTrackContainer> {
24  public:
25  struct Config {
27  std::string inputParticles;
29  std::string inputHitParticlesMap;
31  std::string inputProtoTracks;
33  std::string outputDir;
35  std::string outputFilename = "performance_track_finder.root";
36  };
37 
40 
41  ProcessCode endRun() final override;
42 
43  private:
45  const ProtoTrackContainer& tracks) final override;
46 
47  struct Impl;
48  std::unique_ptr<Impl> m_impl;
49 };
50 
51 } // namespace FW