Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /acts/Plugins/DD4hep/src/DDG4/detail/RecordedMaterialTracks.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include "Acts/Material/MaterialInteraction.hpp"
0012 
0013 #include <map>
0014 
0015 namespace ActsPlugins::detail {
0016 
0017 /// @brief Material tracks recorded in one event
0018 ///
0019 /// Attached to the DDG4 event as an extension by `ActsMaterialRecorder`, and
0020 /// written at the end of the event by `ActsMaterialTrackWriter`.
0021 struct RecordedMaterialTracks {
0022   /// The material tracks, ordered by Geant4 track ID
0023   std::map<int, Acts::RecordedMaterialTrack> tracks;
0024 };
0025 
0026 }  // namespace ActsPlugins::detail