/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
PhysicsTools/IsolationUtils/interface/IntegrandThetaFunction.h
65 строк
2 KB
Cms Build
Clang-Format
03 июн 2019, 06:45
03 июн 2019, 06:45
d4f6565
Код
Авторство
О чём код?
#ifndef PhysicsTools_IsolationUtils_IntegrandThetaFunction_h #define PhysicsTools_IsolationUtils_IntegrandThetaFunction_h // -*- C++ -*- // // Package: IntegrandThetaFunction // Class: IntegrandThetaFunction // /**\class IntegrandThetaFunction IntegrandThetaFunction.cc PhysicsTools/IsolationUtils/src/IntegrandThetaFunction.cc Description: auxialiary class for fixed area isolation cone computation (this class performs the integration over the polar angle) Implementation: imported into CMSSW on 05/18/2007 */ // // Original Author: Christian Veelken, UC Davis // Created: Thu Nov 2 13:47:40 CST 2006 // // // ROOT include files #include <Math/ParamFunction.h> #include <Math/Integrator.h> class IntegralOverPhiFunction; // // class declaration // class IntegrandThetaFunction : public ROOT::Math::ParamFunction<ROOT::Math::IParametricGradFunctionOneDim> { public: IntegrandThetaFunction(); IntegrandThetaFunction(const IntegrandThetaFunction& bluePrint); ~IntegrandThetaFunction() override; IntegrandThetaFunction& operator=(const IntegrandThetaFunction& bluePrint); void SetParameterTheta0(double theta0); void SetParameterPhi0(double phi0); void SetParameterAlpha(double alpha); ROOT::Math::IGenFunction* Clone() const override { return new IntegrandThetaFunction(*this); } private: void SetParameters(double const* param) override; double DoEval(double x) const override; double DoEvalPar(double, const double*) const override; double DoDerivative(double x) const; double DoParameterDerivative(double, const double*, unsigned int) const override; void DoParameterGradient(double x, double* paramGradient) const; mutable double theta0_; // polar angle of cone axis mutable double phi0_; // azimuth angle of cone axis mutable double alpha_; // opening angle of cone (measured from cone axis) mutable IntegralOverPhiFunction* fPhi_; static const unsigned int debugLevel_ = 0; }; #endif