Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fitter.C File Reference
#include "TCanvas.h"
#include "TH1.h"
#include "TF1.h"
#include "TRandom.h"
#include "TSpectrum.h"
#include "TVirtualFitter.h"
+ Include dependency graph for fitter.C:

Go to the source code of this file.

Functions

Double_t fpeaks (Double_t *x, Double_t *par)
 
void peaks (Int_t np=10)
 

Variables

Int_t npeaks = 30
 

Function Documentation

Double_t fpeaks ( Double_t *  x,
Double_t *  par 
)

Definition at line 9 of file fitter.C.

View newest version in sPHENIX GitHub at line 9 of file fitter.C

References mean(), norm, npeaks, merge_hashes::p, and sigma.

Referenced by peaks().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void peaks ( Int_t  np = 10)

Definition at line 19 of file fitter.C.

View newest version in sPHENIX GitHub at line 19 of file fitter.C

References f, fit(), fpeaks(), h, h2, npeaks, merge_hashes::p, printf(), and physmon_simulation::s.

Referenced by sipmCalib(), and spmcalib().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

Int_t npeaks = 30

Definition at line 8 of file fitter.C.

View newest version in sPHENIX GitHub at line 8 of file fitter.C

Referenced by fpeaks(), peaks(), sccalib(), sipmpeaks(), and spmcalib().