#include <TDirectory.h>
#include <TH1.h>
#include <TH2.h>
#include <TF1.h>
#include <TMath.h>
#include <TCanvas.h>
#include <TProfile.h>
#include <TFitResult.h>
#include <TFitResultPtr.h>
#include <TString.h>
#include <fstream>
Go to the source code of this file.
|
Double_t | fitf (Double_t *x, Double_t *par) |
|
void | tw_fit (TProfile *h_tw, int arm, int module) |
|
void | tw_plot (char const *inputFile) |
|
void | tw_corr (char const *inputFile) |
|
Double_t fitf |
( |
Double_t * |
x, |
|
|
Double_t * |
par |
|
) |
| |
void tw_corr |
( |
char const * |
inputFile | ) |
|
Definition at line 362 of file tw_corr.C.
References c, c0, c1, c2, dtMeanL, dtMeanR, flog(), h_dt_l_corr, h_dt_r_corr, h_dt_vs_pp_l, h_dt_vs_pp_l_corr, h_dt_vs_pp_r, h_dt_vs_pp_r_corr, h_means_a, h_means_b, h_sigmas_a, h_sigmas_b, mpv, NMODULES, outfile, pad, sigma, THRESHOLD, and tw_plot().
void tw_fit |
( |
TProfile * |
h_tw, |
|
|
int |
arm, |
|
|
int |
module |
|
) |
| |
void tw_plot |
( |
char const * |
inputFile | ) |
|
Definition at line 133 of file tw_corr.C.
References BINS_DT, BINS_PP, c, DT_MAX, DT_MIN, dtMeanL, dtMeanR, g_dt_vs_pp_l, g_dt_vs_pp_r, h_dt_l, h_dt_r, h_dt_vs_pp_l, h_dt_vs_pp_l_corr, h_dt_vs_pp_r, h_dt_vs_pp_r_corr, h_means_a, h_means_b, h_pp_l, h_pp_r, h_sigmas_a, h_sigmas_b, infile, mpv, NMODULES, outfile, PP_MAX, PP_MIN, PROF_MAX, PROF_MIN, PROF_WIDTH, and tw_fit().
Referenced by tw_corr().
const Int_t BINS_DT = 100 |
const Int_t BINS_PP = 1000 |
Definition at line 67 of file tw_corr.C.
Referenced by DBCALUnifiedHit_factory::brun(), DTAGHHit_factory_Calib::evnt(), DTAGMHit_factory_Calib::evnt(), ExtractCDCDeformation(), ExtractTimeWalk(), FitCathodeAlignment(), fitparm_summary(), fits_errors(), hist_read(), plot_bcal_hadronic_eff(), plot_compare_hists(), plot_p2pi_trees(), plot_Z2pi_trees(), Read_bcal_hadronic_eff2::Terminate(), tw_corr(), tw_fit(), and twopi_primakoff().
Definition at line 68 of file tw_corr.C.
Referenced by AddPlot(), bcal_hist_eff_summary(), BCAL_SiPM_saturation(), DBCALUnifiedHit_factory::brun(), Btot_vs_r_vs_z(), CDC_dedx(), DEventProcessor_dc_alignment::cdc_drift_distance(), JEventProcessor_FDCProjectionResiduals::CDCDriftDistance(), DTrackFitterStraightTrack::CDCDriftDistance(), ChebyshevTestFit(), DTrackFitterKalmanSIMD::ComputeCDCDrift(), ConvertFromNDC1D(), ConvertFromNDC2D(), covariance_compare(), daq_words(), daq_words_compare(), dBtot_vs_r_vs_z(), density_vs_r_vs_z(), display(), DMatrix1x2::DMatrix1x2(), DMatrix1x3::DMatrix1x3(), DMatrix1x4::DMatrix1x4(), DMatrix1x5::DMatrix1x5(), JEventProcessor_BCAL_inv_mass::evnt(), DTAGHHit_factory_Calib::evnt(), DTAGMHit_factory_Calib::evnt(), DPSCHit_factory::evnt(), DEventProcessor_BCAL_Shower::evnt(), ExtractCDCDeformation(), ExtractTimeWalk(), fcal_invmass(), JEventProcessor_BCAL_TimeCalibration::fini(), FitCathodeAlignment(), fitparm_summary(), fits_errors(), FitTimeToDistance(), if(), DBCALCluster_factory::overlap(), DBCALCluster_factory::overlap_charged(), P_vs_r(), P_vs_z(), Parameterize(), plot_bcal_hadronic_eff(), Plot_BCAL_LED_Ratio_low_up(), Plot_BCAL_LED_Ratio_low_up_quadavg(), Plot_BCAL_LED_Ratio_stack(), Plot_BCAL_LED_Ratio_stack_quadavg(), plot_cdc_offsets(), plot_compare_hists(), plot_fdc_offsets(), plot_gain_factors(), plot_p2pi_trees(), plot_Z2pi_trees(), DEventProcessor_bcal_calib::PlotLines(), DEventProcessor_dc_alignment::PlotLines(), PSEcorr(), radlen_vs_r_vs_z(), SC_PTC_Plot(), SC_PTC_ResolvsZPlot(), DMatrix2x1::Set(), DTrackFitterStraightTrack::Smooth(), ST_Monitoring_Eff(), ST_Monitoring_Pid(), TAGH_doubles_E(), TAGH_doubles_ID(), TAGM_clusters_E(), TAGM_clusters_occ(), TAGM_clusters_t(), Read_bcal_hadronic_eff2::Terminate(), TimeToDistance(), trkeff(), tw_corr(), tw_fit(), and twopi_primakoff().
Definition at line 69 of file tw_corr.C.
Referenced by bcal_hist_eff_summary(), BCAL_SiPM_saturation(), DBCALUnifiedHit_factory::brun(), DEventProcessor_dc_alignment::cdc_drift_distance(), JEventProcessor_FDCProjectionResiduals::CDCDriftDistance(), DTrackFitterStraightTrack::CDCDriftDistance(), DTrackFitterKalmanSIMD::ComputeCDCDrift(), DMatrix1x2::DMatrix1x2(), DMatrix1x3::DMatrix1x3(), DMatrix1x4::DMatrix1x4(), DMatrix1x5::DMatrix1x5(), DTAGHHit_factory_Calib::evnt(), DTAGMHit_factory_Calib::evnt(), DPSCHit_factory::evnt(), ExtractCDCDeformation(), ExtractTimeWalk(), FitCathodeAlignment(), FitTimeToDistance(), if(), DBCALCluster_factory::overlap(), DBCALCluster_factory::overlap_charged(), Plot_BCAL_LED_Ratio_low_down(), Plot_BCAL_LED_Ratio_low_down_quadavg(), plot_compare_hists(), plot_gain_factors(), plot_p2pi_trees(), plot_Z2pi_trees(), SC_PTC_Plot(), SC_PTC_ResolvsZPlot(), DMatrix2x1::Set(), DTrackFitterStraightTrack::Smooth(), Read_bcal_hadronic_eff2::Terminate(), TimeToDistance(), trkeff(), tw_corr(), tw_fit(), and twopi_primakoff().
Definition at line 46 of file tw_corr.C.
Referenced by AddPlot(), c_eff_linear_fit(), c_eff_pol2(), CDC_gains(), ExtractTimeOffsets(), find_dead_straws(), JEventProcessor_CDC_roc_hits::fini(), fit_ADC_4ns(), hist_read(), MakeFDCConstraintsFile(), MakeParameterFile(), PSEcorr(), Read_bcal_hadronic_eff2::Terminate(), trainBDT(), tw_corr(), tw_plot(), and z_point_pol2().
const Int_t PP_MAX = 1000 |
const Int_t PROF_MAX = 1000 |
const Int_t PROF_MIN = 180 |
const Int_t PROF_WIDTH = 82 |
const Double_t THRESHOLD = 16 |