|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef ZMASSCONSTRAINT_CONSTRAINTFIT_H
15 #define ZMASSCONSTRAINT_CONSTRAINTFIT_H
76 const TLorentzVector& fsr4Vec,
97 const std::vector<
AmgMatrix(3,3)>& covariances);
103 const AmgMatrix(5,5)& covard0z0PhiThetaP,
135 #endif // ZMASSCONSTRAINT_CONSTRAINTFIT_H
Amg::MatrixX m_parametersInit
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
double massFitCalculation(const Amg::MatrixX &var, double mass, Amg::MatrixX &p0)
std::vector< double > m_objmass
ConstraintFit(const std::string &name)
Create a proper constructor for Athena.
Amg::MatrixX m_parametersFinal
bool doSanityChecksOnCovariance(const TLorentzVector &vector, const AmgMatrix(5, 5)&covar) const
Class providing the definition of the 4-vector interface.
#define AmgMatrix(rows, cols)
void massFitRun(ConstraintFitOutput &output, double zresol=-1.)
int massFitInterface(const ConstraintFitInput &theInput)
void convertCovXYZTod0z0PhiThetaP(const std::vector< TLorentzVector > &particleList, const Amg::MatrixX &covarXYZ, Amg::MatrixX &covard0z0PhiThetaP) const
double getMassError(const ConstraintFitInput &firstInput, const ConstraintFitInput &secondInput=ConstraintFitInput())
Calculate the mass error without fit - use just the inputs.
ConstraintFitInput m_theInput
Amg::MatrixX m_covarianceInit
void convertCovd0z0PhiThetaPToXYZ(const TLorentzVector &fourVec, const AmgMatrix(5, 5)&covard0z0PhiThetaP, AmgMatrix(5, 5)&covarXYZ) const
::StatusCode StatusCode
StatusCode definition for legacy code.
double likelihoodMass(double)
float retrieve_eta_calo(const xAOD::IParticle &part) const
double massFit(const Amg::MatrixX &, const Amg::MatrixX &var, double mass, Amg::MatrixX &pOut, Amg::MatrixX &)
void addFSRParticle(const xAOD::IParticle &part, const TLorentzVector &fsr4Vec, ConstraintFitInput &input)
Add in FSR photon to input, (energy resolution is obtain in method)
unsigned int m_parameters
StatusCode doMassFit(const ConstraintFitInput &input, ConstraintFitOutput &output)
Perform the constrained mass fit.
StatusCode initialize()
Initialize constraint fit.
ToolHandle< CP::IMuonCalibrationAndSmearingTool > m_mu_resolSFTool
ToolHandle< CP::IEgammaCalibrationAndSmearingTool > m_energyRescaler
void addParticle(const xAOD::Muon &part, ConstraintFitInput &input, MassConstraintMuonType muonType=isCombMCMT)
Add muon to input, must provide the resolution Scale Factor.
double likelihoodMass2(void)
Amg::MatrixX m_covarianceFinal