13 #ifndef IMPBFF_DECAYLIFETIMEHANDLER_H
14 #define IMPBFF_DECAYLIFETIMEHANDLER_H
16 #include <IMP/bff/bff_config.h>
24 IMPBFF_BEGIN_NAMESPACE
34 std::vector<double> _lifetime_spectrum = std::vector<double>();
35 std::vector<double> lt_ = std::vector<double>();
36 double amplitude_threshold = std::numeric_limits<double>::epsilon();
37 bool use_amplitude_threshold =
false;
38 bool abs_lifetime_spectrum =
true;
45 double get_amplitude_threshold();
51 void set_amplitude_threshold(
double v);
57 bool get_use_amplitude_threshold();
63 void set_use_amplitude_threshold(
bool v);
69 bool get_abs_lifetime_spectrum()
const;
75 void set_abs_lifetime_spectrum(
bool v);
81 void set_lifetime_spectrum(std::vector<double> v);
88 void add_lifetime(
double amplitude,
double lifetime);
94 std::vector<double>& get_lifetime_spectrum();
101 void get_lifetime_spectrum(
double **output_view,
int *n_output);
111 std::vector<double> lifetime_spectrum = std::vector<double>(),
112 bool use_amplitude_threshold =
false,
113 bool abs_lifetime_spectrum =
false,
114 double amplitude_threshold = std::numeric_limits<double>::epsilon()
122 #endif // IMPBFF_DECAYLIFETIMEHANDLER_H
Helper macros for implementing IMP Objects.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Decay routines (e.g. convolution, scaling, and lamp shift routines)
Common base class for heavy weight IMP objects.
A shared base class to help in debugging and things.
Store and handle lifetime spectra.