Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-28 09:20:44

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2026 Dmitry Romanov
0003 
0004 #pragma once
0005 
0006 #include <edm4eic/unit_system.h>
0007 #include <numbers>
0008 
0009 namespace eicrecon {
0010 
0011 struct ChargedLambdaReconstructionConfig {
0012 
0013   /** maximum opening angle between the two daughter momenta [rad] */
0014   double openingAngleMax = 34e-3;
0015   /** maximum polar angle of the summed pair momentum [rad]; Lambdas from ep events
0016    *  that decay in the far-forward region are within tens of mrad of the beam */
0017   double pairThetaMax = 57e-3;
0018   /** maximum distance of closest approach between the two daughter track lines [mm];
0019    *  straight-line approximation, see ChargedLambdaReconstruction.h */
0020   double dcaMax = 90.0 * edm4eic::unit::mm;
0021   /** accepted z range of the two-line closest-approach midpoint (decay-vertex proxy) [mm].
0022    *  The proxy follows the true decay z out to the B0 reach (~6 m) for B0 daughters; the
0023    *  window is wider to keep pairings with Roman-Pot and off-momentum protons, for which
0024    *  the proxy is weakly constrained (see ChargedLambdaReconstruction.h) */
0025   double vertexZMin = -1.5 * edm4eic::unit::m;
0026   double vertexZMax = 32.0 * edm4eic::unit::m;
0027   /** maximum angle between the pair momentum and the direction from the origin to the
0028    *  decay-vertex proxy [rad]. Disabled by default (pi): Roman-Pot and off-momentum
0029    *  candidates combine a transfer-matrix momentum at the IP with a reference point at
0030    *  their station, so their straight line does not locate the decay. The variable
0031    *  becomes meaningful once far-forward candidates carry an independent vertex estimate. */
0032   double pointingMax = std::numbers::pi;
0033   /** minimum momentum asymmetry (|p_p| - |p_pi|) / (|p_p| + |p_pi|); the proton carries
0034    *  approximately m_p/m_Lambda of the Lambda momentum, so signal sits at 0.7-0.9 */
0035   double momAsymMin = 0.47;
0036   /** half-width of the accepted invariant-mass window around the Lambda mass [GeV] */
0037   double massWindow = 25.0 * edm4eic::unit::MeV;
0038 };
0039 
0040 } // namespace eicrecon