#include <OOTPileupCorrDataFcn.h>
|
template<class Archive > |
void | serialize (Archive &ar, unsigned) |
|
Definition at line 7 of file OOTPileupCorrDataFcn.h.
OOTPileupCorrDataFcn::OOTPileupCorrDataFcn |
( |
| ) |
|
|
inline |
Definition at line 11 of file OOTPileupCorrDataFcn.h.
PiecewiseScalingPolynomial a1_
PiecewiseScalingPolynomial a3_
PiecewiseScalingPolynomial a2_
void OOTPileupCorrDataFcn::pucorrection |
( |
double * |
ts, |
|
|
const int |
tsTrig |
|
) |
| const |
|
inline |
Definition at line 23 of file OOTPileupCorrDataFcn.h.
References a1_, a2_, and a_1_.
25 double ts20 = ts[tsTrig - 2];
26 double ts30 = ts[tsTrig - 1] -
a_1_(ts[tsTrig]);
27 double ts21 = ts20 > 0 ?
a2_(ts20) : 0;
28 double ts22 = ts20 > 0 ?
a1_(ts20) : 0;
29 double ts321 = ts30 - ts22 > 0 ?
a1_(ts30 - ts22) : 0;
30 ts[tsTrig] -= (ts321 + ts21);
33 ts[tsTrig + 1] =
a1_(ts[tsTrig]);
PiecewiseScalingPolynomial a1_
PiecewiseScalingPolynomial a2_
template<class Archive >
void OOTPileupCorrDataFcn::serialize |
( |
Archive & |
ar, |
|
|
unsigned |
|
|
) |
| |
|
inlineprivate |
Definition at line 49 of file OOTPileupCorrDataFcn.h.
References a_1_.
PiecewiseScalingPolynomial a1_
PiecewiseScalingPolynomial a3_
PiecewiseScalingPolynomial a2_
friend class boost::serialization::access |
|
friend |