CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
 
 ConeAreaRootFunction ()
 
 ConeAreaRootFunction (const ConeAreaRootFunction &bluePrint)
 
ConeAreaRootFunctionoperator= (const ConeAreaRootFunction &bluePrint)
 
void SetParameterConeArea (double coneArea)
 
 ~ConeAreaRootFunction ()
 
- Public Member Functions inherited from ConeAreaFunction
 ConeAreaFunction ()
 
 ConeAreaFunction (const ConeAreaFunction &bluePrint)
 
ConeAreaFunctionoperator= (const ConeAreaFunction &bluePrint)
 
void SetAcceptanceLimit (double etaMax)
 
void SetParameterPhi0 (double phi0)
 
void SetParameterTheta0 (double theta0)
 
 ~ConeAreaFunction ()
 

Private Member Functions

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

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
 
virtual double DoEvalPar (double, const double *) const
 
virtual double DoParameterDerivative (double, const double *, unsigned int) const
 
void DoParameterGradient (double x, double *paramGradient) const
 
void SetParameters (double *param)
 
- 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 30 of file ConeAreaRootFunction.h.

Constructor & Destructor Documentation

ConeAreaRootFunction::ConeAreaRootFunction ( )

Definition at line 38 of file ConeAreaRootFunction.cc.

References coneArea_.

Referenced by Clone().

40 {
41  coneArea_ = 0;
42 }
ConeAreaRootFunction::ConeAreaRootFunction ( const ConeAreaRootFunction bluePrint)

Definition at line 44 of file ConeAreaRootFunction.cc.

References coneArea_.

45  : ConeAreaFunction(bluePrint)
46 {
47  coneArea_ = bluePrint.coneArea_;
48 }
ConeAreaRootFunction::~ConeAreaRootFunction ( )

Definition at line 50 of file ConeAreaRootFunction.cc.

51 {
52 //--- nothing to be done yet...
53 }

Member Function Documentation

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

Reimplemented from ConeAreaFunction.

Definition at line 41 of file ConeAreaRootFunction.h.

References ConeAreaRootFunction().

41 { return new ConeAreaRootFunction(*this); }
double ConeAreaRootFunction::DoEval ( double  x) const
private

Definition at line 91 of file ConeAreaRootFunction.cc.

References coneArea_, and ConeAreaFunction::DoEval().

92 {
93 //--- calculate difference between area covered by cone of opening angle alpha
94 // (given as function argument and measured from cone axis)
95 // and cone area set as parameter
96 
98 }
double DoEval(double x) const
x
Definition: VDTMath.h:216
ConeAreaRootFunction & ConeAreaRootFunction::operator= ( const ConeAreaRootFunction bluePrint)

Definition at line 59 of file ConeAreaRootFunction.cc.

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

60 {
61  ConeAreaFunction::operator=(bluePrint);
62 
63  coneArea_ = bluePrint.coneArea_;
64 
65  return (*this);
66 }
ConeAreaFunction & operator=(const ConeAreaFunction &bluePrint)
void ConeAreaRootFunction::SetParameterConeArea ( double  coneArea)

Definition at line 72 of file ConeAreaRootFunction.cc.

References coneArea_.

Referenced by FixedAreaIsolationCone::operator()().

73 {
74  coneArea_ = coneArea;
75 }
void ConeAreaRootFunction::SetParameters ( double *  param)
private

Definition at line 77 of file ConeAreaRootFunction.cc.

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

78 {
79  if ( debugLevel_ > 0 ) {
80  edm::LogVerbatim("") << "<ConeAreaRootFunction::SetParameters>:" << std::endl
81  << " theta0 = " << param[0] << std::endl
82  << " phi0 = " << param[1] << std::endl
83  << " coneArea = " << param[2] << std::endl;
84  }
85 
87 
88  coneArea_ = param[2];
89 }
void SetParameters(double *param)
static const unsigned int debugLevel_

Member Data Documentation

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

Definition at line 50 of file ConeAreaRootFunction.h.

Referenced by SetParameters().