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