Hall-D Software
alpha
|
#include "TH1.h"
#include <TH2I.h>
#include "TF1.h"
#include "TROOT.h"
#include "TStyle.h"
#include "TMath.h"
#include "TFile.h"
#include "TCanvas.h"
#include "TAxis.h"
#include <TDirectory.h>
#include <TLine.h>
#include <TPaveLabel.h>
#include <TPaletteAxis.h>
#include <stdio.h>
#include <stdint.h>
#include <fstream>
Go to the source code of this file.
Functions | |
Double_t | fitf_pp (Double_t *x, Double_t *par) |
void | st_tw_fits (char const *input_filename) |
Variables | |
const Int_t | NCHANNELS = 30 |
const Double_t | tdc_thresh_mV = 50.0 |
const Double_t | tdc_gain_factor = 5.0 |
const Double_t | adc_max_chan = 4096.0 |
const Double_t | adc_max_mV = 2000.0 |
const Double_t | adc_thresh_calc = (tdc_thresh_mV/tdc_gain_factor)*(adc_max_chan/adc_max_mV) |
Double_t | sudo_mpv_chan [NCHANNELS] |
Double_t | t_pp_fit_params [NCHANNELS][3] |
Double_t | t_pp_fit_params_err [NCHANNELS][3] |
TF1 * | t_vs_pp_fit_chan [NCHANNELS] |
TCanvas * | TW_can [30] |
Double_t fitf_pp | ( | Double_t * | x, |
Double_t * | par | ||
) |
Definition at line 38 of file st_tw_fits.C.
References adc_thresh_calc.
void st_tw_fits | ( | char const * | input_filename | ) |
Definition at line 44 of file st_tw_fits.C.
References adc_thresh_calc, df, fitf_pp(), sudo_mpv_chan, t_pp_fit_params, t_pp_fit_params_err, t_vs_pp_fit_chan, and TW_can.
const Double_t adc_max_chan = 4096.0 |
Definition at line 27 of file st_tw_fits.C.
const Double_t adc_max_mV = 2000.0 |
Definition at line 28 of file st_tw_fits.C.
const Double_t adc_thresh_calc = (tdc_thresh_mV/tdc_gain_factor)*(adc_max_chan/adc_max_mV) |
Definition at line 29 of file st_tw_fits.C.
Referenced by fitf_pp(), and st_tw_fits().
const Int_t NCHANNELS = 30 |
Definition at line 24 of file st_tw_fits.C.
Double_t sudo_mpv_chan[NCHANNELS] |
Definition at line 30 of file st_tw_fits.C.
Referenced by st_tw_fits().
Double_t t_pp_fit_params[NCHANNELS][3] |
Definition at line 31 of file st_tw_fits.C.
Referenced by st_tw_fits().
Double_t t_pp_fit_params_err[NCHANNELS][3] |
Definition at line 32 of file st_tw_fits.C.
Referenced by st_tw_fits().
TF1* t_vs_pp_fit_chan[NCHANNELS] |
Definition at line 34 of file st_tw_fits.C.
Referenced by st_tw_fits().
const Double_t tdc_gain_factor = 5.0 |
Definition at line 26 of file st_tw_fits.C.
const Double_t tdc_thresh_mV = 50.0 |
Definition at line 25 of file st_tw_fits.C.
TCanvas* TW_can[30] |
Definition at line 36 of file st_tw_fits.C.
Referenced by st_tw_fits(), and st_tw_resols().