CMS 3D CMS Logo

ConeAreaRootFunction.cc
Go to the documentation of this file.
2 
3 // -*- C++ -*-
4 //
5 // Package: ConeAreaRootFunction
6 // Class: ConeAreaRootFunction
7 //
16 //
17 // Original Author: Christian Veelken, UC Davis
18 // Created: Thu Nov 2 13:47:40 CST 2006
19 //
20 //
21 
22 // C++ standard library include files
23 #include <iostream>
24 #include <iomanip>
25 #include <string>
26 
27 // ROOT include files
28 #include <TMath.h>
29 
30 // CMSSW include files
32 
33 //
34 // constructors and destructor
35 //
36 
38 
40  coneArea_ = bluePrint.coneArea_;
41 }
42 
44  //--- nothing to be done yet...
45 }
46 
47 //
48 // assignment operator
49 //
50 
52  ConeAreaFunction::operator=(bluePrint);
53 
54  coneArea_ = bluePrint.coneArea_;
55 
56  return (*this);
57 }
58 
59 //
60 // member functions
61 //
62 
63 void ConeAreaRootFunction::SetParameterConeArea(double coneArea) { coneArea_ = coneArea; }
64 
65 void ConeAreaRootFunction::SetParameters(const double* param) {
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 }
77 
78 double ConeAreaRootFunction::DoEval(double x) const {
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 }
void SetParameters(const double *param) override
void SetParameters(double const *param) override
void SetParameterConeArea(double coneArea)
ConeAreaRootFunction & operator=(const ConeAreaRootFunction &bluePrint)
double DoEval(double x) const override
static const unsigned int debugLevel_
ConeAreaFunction & operator=(const ConeAreaFunction &bluePrint)
double DoEval(double x) const override