Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-03-28 07:45:42

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 #include "Acts/Seeding2/GbtsRoiDescriptor.hpp"
0010 
0011 #include <cmath>
0012 
0013 namespace Acts::Experimental {
0014 
0015 GbtsRoiDescriptor::GbtsRoiDescriptor(double eta, double etaMin, double etaMax,
0016                                      double phi, double phiMin, double phiMax,
0017                                      double z, double zMin, double zMax)
0018     : m_phi(phi),
0019       m_eta(eta),
0020       m_z(z),
0021       m_phiMin(phiMin),
0022       m_phiMax(phiMax),
0023       m_etaMin(etaMin),
0024       m_etaMax(etaMax),
0025       m_zMin(zMin),
0026       m_zMax(zMax) {
0027   m_drdzMin = std::tan(2 * std::atan(std::exp(-m_etaMin)));
0028   m_drdzMax = std::tan(2 * std::atan(std::exp(-m_etaMax)));
0029 
0030   m_dzdrMin = 1 / m_drdzMin;
0031   m_dzdrMax = 1 / m_drdzMax;
0032 }
0033 
0034 }  // namespace Acts::Experimental