Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:28:01

0001 // This file is part of the Acts project.
0002 //
0003 // Copyright (C) 2021 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 http://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include "ActsFatras/Digitization/Segmentizer.hpp"
0012 
0013 #include <vector>
0014 
0015 namespace ActsExamples {
0016 
0017 /// Simple struct holding cluster information.
0018 struct Cluster {
0019   using Cell = ActsFatras::Segmentizer::ChannelSegment;
0020   std::size_t sizeLoc0 = 0;
0021   std::size_t sizeLoc1 = 0;
0022   std::vector<Cell> channels;
0023 };
0024 
0025 /// Clusters have a one-to-one relation with measurements
0026 using ClusterContainer = std::vector<Cluster>;
0027 
0028 }  // namespace ActsExamples