CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
ConeAreaRootFunction Class Reference

#include <PhysicsTools/IsolationUtils/src/ConeAreaRootFunction.cc>

Inheritance diagram for ConeAreaRootFunction:
ConeAreaFunction

Public Member Functions

ROOT::Math::IGenFunction * Clone () const override
 
 ConeAreaRootFunction ()
 
 ConeAreaRootFunction (const ConeAreaRootFunction &bluePrint)
 
ConeAreaRootFunctionoperator= (const ConeAreaRootFunction &bluePrint)
 
void SetParameterConeArea (double coneArea)
 
 ~ConeAreaRootFunction () override
 
- Public Member Functions inherited from ConeAreaFunction
ROOT::Math::IGenFunction * Clone () const override
 
 ConeAreaFunction ()
 
 ConeAreaFunction (const ConeAreaFunction &bluePrint)
 
ConeAreaFunctionoperator= (const ConeAreaFunction &bluePrint)
 
void SetAcceptanceLimit (double etaMax)
 
void SetParameterPhi0 (double phi0)
 
void SetParameterTheta0 (double theta0)
 
 ~ConeAreaFunction () override
 

Private Member Functions

double DoEval (double x) const override
 
void SetParameters (const double *param) override
 

Private Attributes

double coneArea_
 

Static Private Attributes

static const unsigned int debugLevel_ = 0
 

Additional Inherited Members

- Protected Member Functions inherited from ConeAreaFunction
double DoDerivative (double x) const
 
double DoEval (double x) const override
 
double DoEvalPar (double, const double *) const override
 
double DoParameterDerivative (double, const double *, unsigned int) const override
 
void DoParameterGradient (double x, double *paramGradient) const
 
void SetParameters (double const *param) override
 
- Protected Attributes inherited from ConeAreaFunction
double etaMax_
 
double phi0_
 
double theta0_
 

Detailed Description

Description: low level class to compute three-dimensional opening angle of isolation cone corresponding to area given as function argument

Implementation: imported into CMSSW on 05/18/2007

Definition at line 29 of file ConeAreaRootFunction.h.

Constructor & Destructor Documentation

ConeAreaRootFunction::ConeAreaRootFunction ( )

Definition at line 37 of file ConeAreaRootFunction.cc.

References coneArea_.

Referenced by Clone().

ConeAreaRootFunction::ConeAreaRootFunction ( const ConeAreaRootFunction bluePrint)

Definition at line 39 of file ConeAreaRootFunction.cc.

References coneArea_.

39  : ConeAreaFunction(bluePrint) {
40  coneArea_ = bluePrint.coneArea_;
41 }
ConeAreaRootFunction::~ConeAreaRootFunction ( )
override

Definition at line 43 of file ConeAreaRootFunction.cc.

43  {
44  //--- nothing to be done yet...
45 }

Member Function Documentation

ROOT::Math::IGenFunction* ConeAreaRootFunction::Clone ( ) const
inlineoverride

Definition at line 39 of file ConeAreaRootFunction.h.

References ConeAreaRootFunction(), DoEval(), SetParameters(), and x.

39 { return new ConeAreaRootFunction(*this); }
double ConeAreaRootFunction::DoEval ( double  x) const
overrideprivate

Definition at line 78 of file ConeAreaRootFunction.cc.

References coneArea_, and ConeAreaFunction::DoEval().

Referenced by Clone().

78  {
79  //--- calculate difference between area covered by cone of opening angle alpha
80  // (given as function argument and measured from cone axis)
81  // and cone area set as parameter
82 
84 }
double DoEval(double x) const override
ConeAreaRootFunction & ConeAreaRootFunction::operator= ( const ConeAreaRootFunction bluePrint)

Definition at line 51 of file ConeAreaRootFunction.cc.

References coneArea_, and ConeAreaFunction::operator=().

51  {
52  ConeAreaFunction::operator=(bluePrint);
53 
54  coneArea_ = bluePrint.coneArea_;
55 
56  return (*this);
57 }
ConeAreaFunction & operator=(const ConeAreaFunction &bluePrint)
void ConeAreaRootFunction::SetParameterConeArea ( double  coneArea)

Definition at line 63 of file ConeAreaRootFunction.cc.

References coneArea_.

Referenced by FixedAreaIsolationCone::operator()().

63 { coneArea_ = coneArea; }
void ConeAreaRootFunction::SetParameters ( const double *  param)
overrideprivate

Definition at line 65 of file ConeAreaRootFunction.cc.

References coneArea_, debugLevel_, and ConeAreaFunction::SetParameters().

Referenced by Clone().

65  {
66  if (debugLevel_ > 0) {
67  edm::LogVerbatim("") << "<ConeAreaRootFunction::SetParameters>:" << std::endl
68  << " theta0 = " << param[0] << std::endl
69  << " phi0 = " << param[1] << std::endl
70  << " coneArea = " << param[2] << std::endl;
71  }
72 
74 
75  coneArea_ = param[2];
76 }
void SetParameters(double const *param) override
static const unsigned int debugLevel_

Member Data Documentation

double ConeAreaRootFunction::coneArea_
private
const unsigned int ConeAreaRootFunction::debugLevel_ = 0
staticprivate

Definition at line 48 of file ConeAreaRootFunction.h.

Referenced by SetParameters().