1 #ifndef ANALYSIS_WAVEFORM_HH 2 #define ANALYSIS_WAVEFORM_HH 5 #include "TGraphAligned.h" 6 #include "Math/Interpolator.h" 66 REGULARIZED_SPARSE_YEN
84 : max_distance(8), regularization_order(0), mu(1e-3) {; }
87 int regularization_order;
97 : method(FFT), window_size(64) { type = &FFTtools::GAUSSIAN_WINDOW; }
144 double getRMS()
const;
169 static void setCorrelationNag(
bool nag);
238 void drawEven(
const char * opt =
"",
int color=-1)
const;
244 void drawUneven(
const char * opt =
"",
int color=-1)
const;
247 void drawPower(
const char * opt =
"",
int color=-1)
const;
251 void drawPowerdB(
const char * opt =
"",
int color=-1)
const;
254 void drawPhase(
const char * opt =
"",
int color=-1)
const;
289 void padEven(
int factor,
int where = 1);
316 void setTitle(
const char * title);
318 void setColor(
int c);
320 void setWidth(
int w);
323 void setFreqDisplayRange(
double low,
double high);
326 void setTimeDisplayRange(
double low,
double high);
329 void calculateEvenFromUneven()
const;
330 void calculateEvenFromFreq()
const;
331 void calculateFreqFromEven()
const;
332 void calculateUnevenFromEven()
const;
349 mutable ROOT::Math::Interpolator theEvenAkimaInterpolator;
350 const ROOT::Math::Interpolator * evenAkimaInterpolator()
const;
353 InterpolationOptions interpolation_options;
354 PowerCalculationOptions power_options;
357 mutable bool just_padded;
358 mutable bool must_update_uneven;
359 mutable bool must_update_freq;
360 mutable bool must_update_even;
361 mutable bool uneven_equals_even;
362 mutable bool power_dirty;
363 mutable bool power_db_dirty;
364 mutable bool phase_dirty;
365 mutable bool group_delay_dirty;
366 mutable bool hilbert_envelope_dirty;
367 mutable bool hilbert_dirty;
368 mutable bool even_akima_interpolator_dirty;
370 mutable int force_even_size;
This is a wrapper class for a complex number.