26 int main(
int argv,
char *argc[]) {
static const std::vector< double > waveform(trace_sans_baseline.begin()+71, trace_sans_baseline.begin()+86)
static const std::pair< double, double > fitting_parameters(0.2659404170, 0.2080547991796)
static const std::pair< unsigned int, double > max_pair(max_position, maximum_value)
This is the pair made from the expected maximum information.
static const std::pair< double, double > baseline_pair(baseline, standard_deviation)
double CalculatePhase(const std::vector< double > &data, const std::pair< double, double > &pars, const std::pair< unsigned int, double > &maxInfo, std::pair< double, double > baseline)
Perform CFD analysis on the waveform using the pol2 algorithm.
This header provides sample data that can be used by Unit Tests to ensure proper functionality.
int main(int argv, char *argc[])
Class to handle fitting traces using ROOT.