Main Page
Namespaces
Classes
Package Documentation
CalibCalorimetry
HcalAlgos
interface
ThirdOrderDelayODE.h
Go to the documentation of this file.
1
#ifndef CalibCalorimetry_HcalAlgos_ThirdOrderDelayODE_h_
2
#define CalibCalorimetry_HcalAlgos_ThirdOrderDelayODE_h_
3
4
//
5
// Equation a/6*tau^3*V_out''' + b/2*tau^2*V_out'' + c*tau*V_out' + V_out = V_in,
6
// with parameters "a", "b", and "c". a = 1, b = 1, c = 1 corresponds to the
7
// Pade table delay equation with row = 0 and column = 3.
8
//
9
class
ThirdOrderDelayODE
10
{
11
public
:
12
inline
ThirdOrderDelayODE
(
unsigned
/* r */
,
unsigned
/* c */
) :
a_
(1.0) {}
13
14
void
calculate
(
double
tau
,
double
inputCurrent,
15
double
dIdt,
double
d2Id2t,
16
const
double
*
x
,
unsigned
lenX,
17
unsigned
firstNode,
double
*
derivative
)
const
;
18
19
inline
unsigned
getPadeRow
()
const
{
return
0
U
;}
20
inline
unsigned
getPadeColumn
()
const
{
return
3
U
;}
21
inline
unsigned
nParameters
()
const
{
return
3
U
;}
22
23
// The parameters should be set to the logs of their actual values
24
void
setParameters
(
const
double
* pars,
unsigned
nPars);
25
26
private
:
27
double
a_
;
28
double
b_
;
29
double
c_
;
30
};
31
32
#endif // CalibCalorimetry_HcalAlgos_ThirdOrderDelayODE_h_
ThirdOrderDelayODE
Definition:
ThirdOrderDelayODE.h:9
funct::derivative
Derivative< X, A >::type derivative(const A &_)
Definition:
Derivative.h:18
ThirdOrderDelayODE::c_
double c_
Definition:
ThirdOrderDelayODE.h:29
ThirdOrderDelayODE::nParameters
unsigned nParameters() const
Definition:
ThirdOrderDelayODE.h:21
ThirdOrderDelayODE::calculate
void calculate(double tau, double inputCurrent, double dIdt, double d2Id2t, const double *x, unsigned lenX, unsigned firstNode, double *derivative) const
Definition:
ThirdOrderDelayODE.cc:7
mitigatedMETSequence_cff.U
U
Definition:
mitigatedMETSequence_cff.py:36
ThirdOrderDelayODE::a_
double a_
Definition:
ThirdOrderDelayODE.h:27
ThirdOrderDelayODE::getPadeRow
unsigned getPadeRow() const
Definition:
ThirdOrderDelayODE.h:19
ThirdOrderDelayODE::b_
double b_
Definition:
ThirdOrderDelayODE.h:28
ThirdOrderDelayODE::getPadeColumn
unsigned getPadeColumn() const
Definition:
ThirdOrderDelayODE.h:20
metsig::tau
Definition:
SignAlgoResolutions.h:40
ThirdOrderDelayODE::ThirdOrderDelayODE
ThirdOrderDelayODE(unsigned, unsigned)
Definition:
ThirdOrderDelayODE.h:12
DDAxes::x
ThirdOrderDelayODE::setParameters
void setParameters(const double *pars, unsigned nPars)
Definition:
ThirdOrderDelayODE.cc:28
Generated for CMSSW Reference Manual by
1.8.11