#include <TwoBodyDecayDerivatives.h>
Public Types | |
enum | { dimension = 6 } |
enum | DerivativeParameterName { px = 1, py = 2, pz = 3, theta = 4, phi = 5, mass = 6 } |
Public Member Functions | |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | derivatives (const TwoBodyDecay &tbd) const |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | derivatives (const TwoBodyDecayParameters ¶m) const |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | selectedDerivatives (const TwoBodyDecay &tbd, const std::vector< bool > &selector) const |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | selectedDerivatives (const TwoBodyDecayParameters ¶m, const std::vector< bool > &selector) const |
TwoBodyDecayDerivatives (double mPrimary=91.1876, double mSecondary=0.105658) | |
~TwoBodyDecayDerivatives () | |
Private Member Functions | |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | dqsdm (const TwoBodyDecayParameters ¶m) const |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | dqsdphi (const TwoBodyDecayParameters ¶m) const |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | dqsdpx (const TwoBodyDecayParameters ¶m) const |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | dqsdpy (const TwoBodyDecayParameters ¶m) const |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | dqsdpz (const TwoBodyDecayParameters ¶m) const |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | dqsdtheta (const TwoBodyDecayParameters ¶m) const |
const std::pair< AlgebraicMatrix, AlgebraicMatrix > | dqsdzi (const TwoBodyDecayParameters ¶m, const DerivativeParameterName &i) const |
Private Attributes | |
double | thePrimaryMass |
double | theSecondaryMass |
/class TwoBodyDecayDerivatives
This class provides the derivatives matrices need by the class TwoBodyDecayEstimator.
/author Edmund Widl
Definition at line 14 of file TwoBodyDecayDerivatives.h.
anonymous enum |
TwoBodyDecayDerivatives::TwoBodyDecayDerivatives | ( | double | mPrimary = 91.1876 , |
double | mSecondary = 0.105658 |
||
) |
Definition at line 9 of file TwoBodyDecayDerivatives.cc.
TwoBodyDecayDerivatives::~TwoBodyDecayDerivatives | ( | ) |
Definition at line 12 of file TwoBodyDecayDerivatives.cc.
const std::pair< AlgebraicMatrix, AlgebraicMatrix > TwoBodyDecayDerivatives::derivatives | ( | const TwoBodyDecay & | tbd | ) | const |
Derivatives of the lab frame momenta (in cartesian representation) of the secondaries w.r.t. z=(px,py,pz,theta,phi,m).
Definition at line 14 of file TwoBodyDecayDerivatives.cc.
References TwoBodyDecay::decayParameters().
Referenced by TwoBodyDecayTrajectoryState::construct(), and TwoBodyDecayEstimator::constructMatrices().
const std::pair< AlgebraicMatrix, AlgebraicMatrix > TwoBodyDecayDerivatives::derivatives | ( | const TwoBodyDecayParameters & | param | ) | const |
Derivatives of the lab frame momenta (in cartesian representation) of the secondaries w.r.t. z=(px,py,pz,theta,phi,m).
Definition at line 18 of file TwoBodyDecayDerivatives.cc.
References dimension, dqsdm(), dqsdphi(), dqsdpx(), dqsdpy(), dqsdpz(), dqsdtheta(), mass, phi, px, py, pz, and theta.
|
private |
Derivatives of the lab frame momenta of the secondaries w.r.t. the mass of the primary
Definition at line 379 of file TwoBodyDecayDerivatives.cc.
References alignmentValidation::c1, funct::cos(), callgraph::m2, SiStripOfflineCRack_cfg::p2, TwoBodyDecayParameters::phi, phi, HLT_2022v14_cff::pT2, TwoBodyDecayParameters::px, px, TwoBodyDecayParameters::py, py, TwoBodyDecayParameters::pz, pz, TwoBodyDecayModel::rotationMatrix(), funct::sin(), mathSSE::sqrt(), thePrimaryMass, theSecondaryMass, TwoBodyDecayParameters::theta, and theta.
Referenced by derivatives(), and dqsdzi().
|
private |
Derivatives of the lab frame momenta of the secondaries w.r.t. the decay angle phi in the primary's rest frame.
Definition at line 340 of file TwoBodyDecayDerivatives.cc.
References alignmentValidation::c1, funct::cos(), TwoBodyDecayParameters::phi, phi, TwoBodyDecayParameters::px, px, TwoBodyDecayParameters::py, py, TwoBodyDecayParameters::pz, pz, TwoBodyDecayModel::rotationMatrix(), funct::sin(), mathSSE::sqrt(), thePrimaryMass, theSecondaryMass, TwoBodyDecayParameters::theta, and theta.
Referenced by derivatives(), and dqsdzi().
|
private |
Derivatives of the lab frame momenta of the secondaries w.r.t. px of the primary particle.
Definition at line 78 of file TwoBodyDecayDerivatives.cc.
References alignmentValidation::c1, funct::cos(), AlCaHLTBitMon_ParallelJobs::p, SiStripOfflineCRack_cfg::p2, TwoBodyDecayParameters::phi, phi, BPhysicsValidation_cfi::pminus, BPhysicsValidation_cfi::pplus, PVValHelper::pT, HLT_2022v14_cff::pT2, TwoBodyDecayParameters::px, px, TwoBodyDecayParameters::py, py, TwoBodyDecayParameters::pz, pz, funct::sin(), mathSSE::sqrt(), thePrimaryMass, theSecondaryMass, TwoBodyDecayParameters::theta, and theta.
Referenced by derivatives(), and dqsdzi().
|
private |
Derivatives of the lab frame momenta of the secondaries w.r.t. py of the primary particle.
Definition at line 150 of file TwoBodyDecayDerivatives.cc.
References alignmentValidation::c1, funct::cos(), AlCaHLTBitMon_ParallelJobs::p, SiStripOfflineCRack_cfg::p2, TwoBodyDecayParameters::phi, phi, BPhysicsValidation_cfi::pminus, BPhysicsValidation_cfi::pplus, PVValHelper::pT, HLT_2022v14_cff::pT2, TwoBodyDecayParameters::px, px, TwoBodyDecayParameters::py, py, TwoBodyDecayParameters::pz, pz, funct::sin(), mathSSE::sqrt(), thePrimaryMass, theSecondaryMass, TwoBodyDecayParameters::theta, and theta.
Referenced by derivatives(), and dqsdzi().
|
private |
Derivatives of the lab frame momenta of the secondaries w.r.t. pz of the primary particle.
Definition at line 222 of file TwoBodyDecayDerivatives.cc.
References alignmentValidation::c1, funct::cos(), AlCaHLTBitMon_ParallelJobs::p, SiStripOfflineCRack_cfg::p2, TwoBodyDecayParameters::phi, phi, BPhysicsValidation_cfi::pminus, BPhysicsValidation_cfi::pplus, PVValHelper::pT, HLT_2022v14_cff::pT2, TwoBodyDecayParameters::px, px, TwoBodyDecayParameters::py, py, TwoBodyDecayParameters::pz, pz, funct::sin(), mathSSE::sqrt(), thePrimaryMass, theSecondaryMass, TwoBodyDecayParameters::theta, and theta.
Referenced by derivatives(), and dqsdzi().
|
private |
Derivatives of the lab frame momenta of the secondaries w.r.t. the decay angle theta in the primary's rest frame.
Definition at line 294 of file TwoBodyDecayDerivatives.cc.
References alignmentValidation::c1, funct::cos(), SiStripOfflineCRack_cfg::p2, TwoBodyDecayParameters::phi, phi, HLT_2022v14_cff::pT2, TwoBodyDecayParameters::px, px, TwoBodyDecayParameters::py, py, TwoBodyDecayParameters::pz, pz, TwoBodyDecayModel::rotationMatrix(), funct::sin(), mathSSE::sqrt(), thePrimaryMass, theSecondaryMass, TwoBodyDecayParameters::theta, and theta.
Referenced by derivatives(), and dqsdzi().
|
private |
Definition at line 423 of file TwoBodyDecayDerivatives.cc.
References dqsdm(), dqsdphi(), dqsdpx(), dqsdpy(), dqsdpz(), dqsdtheta(), Exception, mps_fire::i, mass, phi, px, py, pz, and theta.
Referenced by selectedDerivatives().
const std::pair< AlgebraicMatrix, AlgebraicMatrix > TwoBodyDecayDerivatives::selectedDerivatives | ( | const TwoBodyDecay & | tbd, |
const std::vector< bool > & | selector | ||
) | const |
Derivatives of the lab frame momenta (in cartesian representation) of the secondaries w.r.t. the selected parameters.
Definition at line 47 of file TwoBodyDecayDerivatives.cc.
References TwoBodyDecay::decayParameters().
const std::pair< AlgebraicMatrix, AlgebraicMatrix > TwoBodyDecayDerivatives::selectedDerivatives | ( | const TwoBodyDecayParameters & | param, |
const std::vector< bool > & | selector | ||
) | const |
Derivatives of the lab frame momenta (in cartesian representation) of the secondaries w.r.t. the selected parameters.
Definition at line 52 of file TwoBodyDecayDerivatives.cc.
References submitPVResolutionJobs::count, dimension, dqsdzi(), Exception, and mps_fire::i.
|
private |
Definition at line 79 of file TwoBodyDecayDerivatives.h.
Referenced by dqsdm(), dqsdphi(), dqsdpx(), dqsdpy(), dqsdpz(), and dqsdtheta().
|
private |
Definition at line 80 of file TwoBodyDecayDerivatives.h.
Referenced by dqsdm(), dqsdphi(), dqsdpx(), dqsdpy(), dqsdpz(), and dqsdtheta().