Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
peeks.C File Reference
#include "TCanvas.h"
#include "TMath.h"
#include "TH1.h"
#include "TF1.h"
#include "TRandom.h"
#include "TSpectrum.h"
#include "TVirtualFitter.h"
+ Include dependency graph for peeks.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)
 
Double_t sipmpeaks (Double_t *x, Double_t *par)
 
Int_t spmcalib (TString hName)
 

 
void sccalib (nPeaks=20)
 

 

Variables

Int_t npeaks = 30
 

Function Documentation

Double_t fpeaks ( Double_t *  x,
Double_t *  par 
)

Definition at line 28 of file peeks.C.

View newest version in sPHENIX GitHub at line 28 of file peeks.C

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

+ Here is the call graph for this function:

void peaks ( Int_t  np = 10)

Definition at line 38 of file peeks.C.

View newest version in sPHENIX GitHub at line 38 of file peeks.C

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

+ Here is the call graph for this function:

void sccalib ( nPeaks  = 20)


Definition at line 216 of file peeks.C.

View newest version in sPHENIX GitHub at line 216 of file peeks.C

References cd(), Draw(), Acts::UnitConstants::fm, h, NCH, npeaks, merge_hashes::p, printf(), runId, physmon_simulation::s, scCalibDisplay, SetLineColor(), and SetNpx().

+ Here is the call graph for this function:

Double_t sipmpeaks ( Double_t *  x,
Double_t *  par 
)

Definition at line 116 of file peeks.C.

View newest version in sPHENIX GitHub at line 116 of file peeks.C

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

Referenced by spmcalib().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Int_t spmcalib ( TString  hName)


Definition at line 131 of file peeks.C.

View newest version in sPHENIX GitHub at line 131 of file peeks.C

References cd(), configureMap::data, Draw(), fit(), h, h2, npeaks, merge_hashes::p, peaks(), printf(), physmon_simulation::s, and sipmpeaks().

+ Here is the call graph for this function:

Variable Documentation

Int_t npeaks = 30

Definition at line 27 of file peeks.C.

View newest version in sPHENIX GitHub at line 27 of file peeks.C