#include <TwoBodyDecayModel.h>
Public Member Functions | |
const std::pair< AlgebraicVector, AlgebraicVector > | cartesianSecondaryMomenta (const AlgebraicVector ¶m) |
const std::pair< AlgebraicVector, AlgebraicVector > | cartesianSecondaryMomenta (const TwoBodyDecay &tbd) |
const std::pair< AlgebraicVector, AlgebraicVector > | cartesianSecondaryMomenta (const TwoBodyDecayParameters &tbdparam) |
AlgebraicVector | convertCurvilinearToCartesian (const AlgebraicVector &curv, double zMagField) |
AlgebraicMatrix | curvilinearToCartesianJacobian (double rho, double theta, double phi, double zMagField) |
AlgebraicMatrix | curvilinearToCartesianJacobian (const AlgebraicVector &curv, double zMagField) |
AlgebraicMatrix | rotationMatrix (double px, double py, double pz) |
TwoBodyDecayModel (double mPrimary=91.1876, double mSecondary=0.105658) | |
~TwoBodyDecayModel () | |
Private Attributes | |
double | thePrimaryMass |
double | theSecondaryMass |
/class TwoBodyDecayModel
This class provides useful methods needed for the two-body decay model used by implementations of e.g. class TwoBodyDecayEstimator or TwoBodyDecayLinearizationPointFinder.
/author Edmund Widl
Definition at line 16 of file TwoBodyDecayModel.h.
TwoBodyDecayModel::TwoBodyDecayModel | ( | double | mPrimary = 91.1876 , |
double | mSecondary = 0.105658 |
||
) |
Definition at line 5 of file TwoBodyDecayModel.cc.
TwoBodyDecayModel::~TwoBodyDecayModel | ( | ) |
Definition at line 9 of file TwoBodyDecayModel.cc.
const std::pair< AlgebraicVector, AlgebraicVector > TwoBodyDecayModel::cartesianSecondaryMomenta | ( | const AlgebraicVector & | param | ) |
Momenta of the secondaries in cartesian repraesentation.
Definition at line 88 of file TwoBodyDecayModel.cc.
References alignmentValidation::c1, funct::cos(), AlCaHLTBitMon_ParallelJobs::p, p2, phi, TwoBodyDecayParameters::phi, BPhysicsValidation_cfi::pminus, BPhysicsValidation_cfi::pplus, TwoBodyDecayParameters::px, TwoBodyDecayParameters::py, TwoBodyDecayParameters::pz, rotationMatrix(), funct::sin(), mathSSE::sqrt(), thePrimaryMass, theSecondaryMass, TwoBodyDecayParameters::theta, and theta().
Referenced by cartesianSecondaryMomenta(), TwoBodyDecayTrajectoryState::construct(), and TwoBodyDecayEstimator::constructMatrices().
const std::pair< AlgebraicVector, AlgebraicVector > TwoBodyDecayModel::cartesianSecondaryMomenta | ( | const TwoBodyDecay & | tbd | ) |
Momenta of the secondaries in cartesian repraesentation.
Definition at line 130 of file TwoBodyDecayModel.cc.
References cartesianSecondaryMomenta(), and TwoBodyDecay::parameters().
const std::pair< AlgebraicVector, AlgebraicVector > TwoBodyDecayModel::cartesianSecondaryMomenta | ( | const TwoBodyDecayParameters & | tbdparam | ) |
Momenta of the secondaries in cartesian repraesentation.
Definition at line 135 of file TwoBodyDecayModel.cc.
References cartesianSecondaryMomenta(), and TwoBodyDecayParameters::parameters().
AlgebraicVector TwoBodyDecayModel::convertCurvilinearToCartesian | ( | const AlgebraicVector & | curv, |
double | zMagField | ||
) |
Convert vector from curvilinear to cartesian coordinates (needs the z-component of magnetic field in inverse GeV as input).
Definition at line 75 of file TwoBodyDecayModel.cc.
References funct::cos(), funct::sin(), and funct::tan().
AlgebraicMatrix TwoBodyDecayModel::curvilinearToCartesianJacobian | ( | double | rho, |
double | theta, | ||
double | phi, | ||
double | zMagField | ||
) |
Jacobian for transformation from curvilinear to cartesian representation (needs the z-component of magnetic field in inverse GeV as input).
Definition at line 39 of file TwoBodyDecayModel.cc.
References conv, funct::cos(), lumiQueryAPI::q, and funct::sin().
Referenced by curvilinearToCartesianJacobian().
AlgebraicMatrix TwoBodyDecayModel::curvilinearToCartesianJacobian | ( | const AlgebraicVector & | curv, |
double | zMagField | ||
) |
Jacobian for transformation from curvilinear to cartesian representation (needs the z-component of magnetic field in inverse GeV as input).
Definition at line 69 of file TwoBodyDecayModel.cc.
References curvilinearToCartesianJacobian().
AlgebraicMatrix TwoBodyDecayModel::rotationMatrix | ( | double | px, |
double | py, | ||
double | pz | ||
) |
Rotates a vector pointing in z-direction into the direction defined by p=(px,py,pz).
Definition at line 12 of file TwoBodyDecayModel.cc.
References AlCaHLTBitMon_ParallelJobs::p, p2, PVValHelper::pT, and mathSSE::sqrt().
Referenced by cartesianSecondaryMomenta(), TwoBodyDecayDerivatives::dqsdm(), TwoBodyDecayDerivatives::dqsdphi(), TwoBodyDecayDerivatives::dqsdtheta(), and TwoBodyDecayLinearizationPointFinder::getLinearizationPoint().
|
private |
Definition at line 56 of file TwoBodyDecayModel.h.
Referenced by cartesianSecondaryMomenta().
|
private |
Definition at line 57 of file TwoBodyDecayModel.h.
Referenced by cartesianSecondaryMomenta().