CMS 3D CMS Logo

Namespaces | Functions

/data/refman/pasoursint/CMSSW_6_1_1/src/DataFormats/PatCandidates/interface/ParametrizationHelper.h File Reference

#include "DataFormats/PatCandidates/interface/CandKinResolution.h"
#include <string>

Go to the source code of this file.

Namespaces

namespace  pat
namespace  pat::helper
namespace  pat::helper::ParametrizationHelper

Functions

AlgebraicVector4 pat::helper::ParametrizationHelper::diffToParameters (pat::CandKinResolution::Parametrization parametrization, const math::XYZTLorentzVector &p4ini, const math::XYZTLorentzVector &p4fin)
 Expresses the difference between two 4-momentum vectors as a shift in coordinates in a given frame.
AlgebraicVector4 pat::helper::ParametrizationHelper::diffToParameters (pat::CandKinResolution::Parametrization parametrization, const math::PtEtaPhiMLorentzVector &p4ini, const math::PtEtaPhiMLorentzVector &p4fin)
 Expresses the difference between two 4-momentum vectors as a shift in coordinates in a given frame.
uint32_t pat::helper::ParametrizationHelper::dimension (pat::CandKinResolution::Parametrization parametrization)
 Returns the number of free parameters in a parametrization (3 or 4)
pat::CandKinResolution::Parametrization pat::helper::ParametrizationHelper::fromString (const std::string &name)
 Convert a name into a parametrization code.
bool pat::helper::ParametrizationHelper::isAlwaysMassive (pat::CandKinResolution::Parametrization parametrization)
 Is this parametrization usable only with massive objects?
bool pat::helper::ParametrizationHelper::isAlwaysMassless (pat::CandKinResolution::Parametrization parametrization)
 Is this parametrization usable only with massless objects?
bool pat::helper::ParametrizationHelper::isMassConstrained (pat::CandKinResolution::Parametrization parametrization)
 If this parametrization has a mass constraint (including the 'isAlwaysMassless' case)
bool pat::helper::ParametrizationHelper::isPhysical (pat::CandKinResolution::Parametrization parametrization, const AlgebraicVector4 &v4, const math::PtEtaPhiMLorentzVector &initialP4)
const char * pat::helper::ParametrizationHelper::name (pat::CandKinResolution::Parametrization param)
 Convert a number into a string.
math::XYZTLorentzVector pat::helper::ParametrizationHelper::p4fromParameters (pat::CandKinResolution::Parametrization parametrization, const AlgebraicVector4 &parameters, const math::XYZTLorentzVector &initialP4)
AlgebraicVector4 pat::helper::ParametrizationHelper::parametersFromP4 (pat::CandKinResolution::Parametrization parametrization, const math::PtEtaPhiMLorentzVector &p4)
 Returns a vector of coordinates values given a coordinate frame and a 4-vector.
AlgebraicVector4 pat::helper::ParametrizationHelper::parametersFromP4 (pat::CandKinResolution::Parametrization parametrization, const math::XYZTLorentzVector &p4)
 Returns a vector of coordinates values given a coordinate frame and a 4-vector.
math::PtEtaPhiMLorentzVector pat::helper::ParametrizationHelper::polarP4fromParameters (pat::CandKinResolution::Parametrization parametrization, const AlgebraicVector4 &parameters, const math::PtEtaPhiMLorentzVector &initialP4)
template<typename T >
void pat::helper::ParametrizationHelper::setParametersFromAnyVector (pat::CandKinResolution::Parametrization parametrization, AlgebraicVector4 &pars, const T &p4)
 For internal use only, so we provide only the interface. Use the 'setParametersFromP4'.
void pat::helper::ParametrizationHelper::setParametersFromP4 (pat::CandKinResolution::Parametrization parametrization, AlgebraicVector4 &pars, const math::XYZTLorentzVector &p4)
 Set the values of the parameters for a given 4-momentum.
void pat::helper::ParametrizationHelper::setParametersFromP4 (pat::CandKinResolution::Parametrization parametrization, AlgebraicVector4 &pars, const math::PtEtaPhiMLorentzVector &p4)
 Set the values of the parameters for a given 4-momentum.