CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: ConeAreaRootFunction.cc,v 1.1 2007/05/23 20:21:37 veelken Exp $
20 //
21 //
22 
23 // C++ standard library include files
24 #include <iostream>
25 #include <iomanip>
26 #include <string>
27 
28 // ROOT include files
29 #include <TMath.h>
30 
31 // CMSSW include files
33 
34 //
35 // constructors and destructor
36 //
37 
40 {
41  coneArea_ = 0;
42 }
43 
45  : ConeAreaFunction(bluePrint)
46 {
47  coneArea_ = bluePrint.coneArea_;
48 }
49 
51 {
52 //--- nothing to be done yet...
53 }
54 
55 //
56 // assignment operator
57 //
58 
60 {
61  ConeAreaFunction::operator=(bluePrint);
62 
63  coneArea_ = bluePrint.coneArea_;
64 
65  return (*this);
66 }
67 
68 //
69 // member functions
70 //
71 
73 {
74  coneArea_ = coneArea;
75 }
76 
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 }
90 
91 double ConeAreaRootFunction::DoEval(double x) const
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 }
void SetParameters(double *param)
double DoEval(double x) const
double DoEval(double x) const
void SetParameterConeArea(double coneArea)
ConeAreaRootFunction & operator=(const ConeAreaRootFunction &bluePrint)
void SetParameters(double *param)
static const unsigned int debugLevel_
x
Definition: VDTMath.h:216
ConeAreaFunction & operator=(const ConeAreaFunction &bluePrint)