File indexing completed on 2025-01-18 09:11:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #include "Acts/TrackFinding/RoiDescriptor.hpp"
0011
0012 #include <cmath>
0013 #include <sstream>
0014
0015 namespace Acts {
0016
0017 Acts::RoiDescriptor::RoiDescriptor(double eta, double etaMinus, double etaPlus,
0018 double phi, double phiMinus, double phiPlus,
0019 double zed, double zedMinus, double zedPlus)
0020 : m_phi(phi),
0021 m_eta(eta),
0022 m_zed(zed),
0023 m_phiMinus(phiMinus),
0024 m_phiPlus(phiPlus),
0025 m_etaMinus(etaMinus),
0026 m_etaPlus(etaPlus),
0027 m_zedMinus(zedMinus),
0028 m_zedPlus(zedPlus) {
0029
0030
0031
0032
0033
0034 m_drdzMinus = std::tan(2 * std::atan(std::exp(-m_etaMinus)));
0035 m_drdzPlus = std::tan(2 * std::atan(std::exp(-m_etaPlus)));
0036
0037 m_dzdrMinus = 1 / m_drdzMinus;
0038 m_dzdrPlus = 1 / m_drdzPlus;
0039 }
0040
0041 Acts::RoiDescriptor::~RoiDescriptor() = default;
0042
0043 }