#include <OOTPileupCorrDataFcn.h>
|
template<class Archive > |
void | serialize (Archive &ar, unsigned) |
|
Definition at line 7 of file OOTPileupCorrDataFcn.h.
◆ OOTPileupCorrDataFcn() [1/2]
OOTPileupCorrDataFcn::OOTPileupCorrDataFcn |
( |
| ) |
|
|
inline |
◆ OOTPileupCorrDataFcn() [2/2]
Definition at line 11 of file OOTPileupCorrDataFcn.h.
PiecewiseScalingPolynomial a1_
PiecewiseScalingPolynomial a3_
PiecewiseScalingPolynomial a2_
◆ getA1()
◆ getA2()
◆ getA3()
◆ getA_1()
◆ operator!=()
◆ operator==()
◆ pucorrection()
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_
◆ serialize()
template<class Archive >
void OOTPileupCorrDataFcn::serialize |
( |
Archive & |
ar, |
|
|
unsigned |
|
|
) |
| |
|
inlineprivate |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ a1_
◆ a2_
◆ a3_
◆ a_1_