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() [1/2]

ConeAreaRootFunction::ConeAreaRootFunction ( )

Definition at line 37 of file ConeAreaRootFunction.cc.

37 : ConeAreaFunction() { coneArea_ = 0; }

References coneArea_.

Referenced by Clone().

◆ ConeAreaRootFunction() [2/2]

ConeAreaRootFunction::ConeAreaRootFunction ( const ConeAreaRootFunction bluePrint)

Definition at line 39 of file ConeAreaRootFunction.cc.

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

References coneArea_.

◆ ~ConeAreaRootFunction()

ConeAreaRootFunction::~ConeAreaRootFunction ( )
override

Definition at line 43 of file ConeAreaRootFunction.cc.

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

Member Function Documentation

◆ Clone()

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

Definition at line 39 of file ConeAreaRootFunction.h.

39 { return new ConeAreaRootFunction(*this); }

References ConeAreaRootFunction().

◆ DoEval()

double ConeAreaRootFunction::DoEval ( double  x) const
overrideprivate

Definition at line 78 of file ConeAreaRootFunction.cc.

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 }

References coneArea_, ConeAreaFunction::DoEval(), and x.

◆ operator=()

ConeAreaRootFunction & ConeAreaRootFunction::operator= ( const ConeAreaRootFunction bluePrint)

Definition at line 51 of file ConeAreaRootFunction.cc.

51  {
52  ConeAreaFunction::operator=(bluePrint);
53 
54  coneArea_ = bluePrint.coneArea_;
55 
56  return (*this);
57 }

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

◆ SetParameterConeArea()

void ConeAreaRootFunction::SetParameterConeArea ( double  coneArea)

Definition at line 63 of file ConeAreaRootFunction.cc.

63 { coneArea_ = coneArea; }

References coneArea_.

Referenced by FixedAreaIsolationCone::operator()().

◆ SetParameters()

void ConeAreaRootFunction::SetParameters ( const double *  param)
overrideprivate

Definition at line 65 of file ConeAreaRootFunction.cc.

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 }

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

Member Data Documentation

◆ coneArea_

double ConeAreaRootFunction::coneArea_
private

◆ debugLevel_

const unsigned int ConeAreaRootFunction::debugLevel_ = 0
staticprivate

Definition at line 48 of file ConeAreaRootFunction.h.

Referenced by SetParameters().

ConeAreaRootFunction::ConeAreaRootFunction
ConeAreaRootFunction()
Definition: ConeAreaRootFunction.cc:37
DDAxes::x
ConeAreaRootFunction::debugLevel_
static const unsigned int debugLevel_
Definition: ConeAreaRootFunction.h:48
ConeAreaFunction::DoEval
double DoEval(double x) const override
Definition: ConeAreaFunction.cc:127
ConeAreaRootFunction::coneArea_
double coneArea_
Definition: ConeAreaRootFunction.h:46
ConeAreaFunction::operator=
ConeAreaFunction & operator=(const ConeAreaFunction &bluePrint)
Definition: ConeAreaFunction.cc:70
ConeAreaFunction::ConeAreaFunction
ConeAreaFunction()
Definition: ConeAreaFunction.cc:40
edm::LogVerbatim
Definition: MessageLogger.h:297
ConeAreaFunction::SetParameters
void SetParameters(double const *param) override
Definition: ConeAreaFunction.cc:92