root_mcp.extended.analysis.kinematics module
Kinematics calculations for particle physics analysis.
- class root_mcp.extended.analysis.kinematics.KinematicsOperations(config, file_manager)[source]
Bases:
objectParticle physics kinematics calculations.
Provides: - Invariant mass calculations - Transverse momentum (pT) - Pseudorapidity (eta) - Azimuthal angle (phi) - Delta R separation - Lorentz transformations - Dalitz variables
- Parameters:
config (Config)
file_manager (FileManager)
- __init__(config, file_manager)[source]
Initialize kinematics operations.
- Parameters:
config (Config) – Server configuration
file_manager (FileManager) – File manager instance
- compute_boost_to_cm(path, tree_name, pt_branches, eta_branches, phi_branches, mass_branches, selection=None)[source]
Boost particles to center-of-mass frame.
- Parameters:
- Returns:
Dictionary with boosted 4-vectors
- Return type:
- compute_dalitz_variables(path, tree_name, pt_branches, eta_branches, phi_branches, mass_branches, selection=None)[source]
Compute Dalitz plot variables for 3-body decay.
- Parameters:
- Returns:
Dictionary with m12_squared and m23_squared arrays
- Return type:
- compute_delta_r(path, tree_name, eta1, phi1, eta2, phi2, selection=None)[source]
Compute Delta R separation between two objects.
- Parameters:
- Returns:
Dictionary with Delta R array
- Return type:
- compute_invariant_mass(path, tree_name, pt_branches, eta_branches, phi_branches, mass_branches=None, selection=None)[source]
Compute invariant mass from 4-vectors.