Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-18 09:56:22

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 namespace Acts::Experimental {
0012 
0013 /// GBTS region of interest, as the eta and z bounds the seeder cuts on.
0014 ///
0015 /// The eta bounds are only kept as the dz/dr gradients they imply. There is no
0016 /// phi range: the seeder searches the full azimuth.
0017 class GbtsRoiDescriptor {
0018  public:
0019   /// @param etaMin eta at rear of RoI
0020   /// @param etaMax eta at front of RoI
0021   /// @param zMin z at rear of RoI
0022   /// @param zMax z at front of RoI
0023   GbtsRoiDescriptor(double etaMin, double etaMax, double zMin = 0,
0024                     double zMax = 0);
0025 
0026   /// Get z at the most backward end of the RoI
0027   /// @return Z at rear
0028   double zMin() const { return m_zMin; }
0029   /// Get z at the most forward end of the RoI
0030   /// @return Z at front
0031   double zMax() const { return m_zMax; }
0032 
0033   /// Get dz/dr at the rear of the RoI
0034   /// @return Gradient dzdr at rear
0035   double dzdrMin() const { return m_dzdrMin; }
0036   /// Get dz/dr at the front of the RoI
0037   /// @return Gradient dzdr at front
0038   double dzdrMax() const { return m_dzdrMax; }
0039 
0040  private:
0041   float m_zMin{};  //!< z position at most negative position along the beamline
0042   float m_zMax{};  //!< z position at most positive position along the beamline
0043 
0044   float m_dzdrMin{};  //!<  dz/dr at the rear of the RoI
0045   float m_dzdrMax{};  //!<  dz/dr at the front of the RoI
0046 };
0047 
0048 }  // namespace Acts::Experimental