#include "TCanvas.h"
#include "TChain.h"
#include "TCut.h"
#include "TLine.h"
#include "TFile.h"
#include "TF2.h"
#include "TF1.h"
#include "TH1D.h"
#include "TH2D.h"
#include "TStyle.h"
#include <cmath>
Go to the source code of this file.
Functions | |
void | FitForMinimum (TH2 *h2, double &x0, double &y0) |
void | cellPos () |
void | initialise (bool IsData) |
void | plot_residPerViewV (bool IsData) |
void | plot_sumcellsV (int cell) |
void | plot_sumcellsZ (int cell) |
void | plot_residPerViewZ (bool IsData) |
void | plot_resid (bool IsData, int p, int c) |
void | plot_residV (bool IsData, int p, int c) |
void | plot_residZ (bool IsData, int p, int c) |
void | plot_CellPos (bool IsData, int p, int c) |
void | plot_residPerPlane (int Plane) |
void | perView_labelV (bool IsData) |
void | perView_labelZ (bool IsData) |
void | plane_label (bool IsData, int p, int c) |
void | SetLimits (double minmax) |
void | save (bool IsData, bool Bad) |
Variables | |
const int | pmax = 200 |
const int | cmax = 96 |
const int | nbins = 200 |
TFile * | file = 0 |
TChain * | al = 0 |
TH1D * | fResidV [pmax][cmax] = {} |
TH1D * | fResidZ [pmax][cmax] = {} |
TH2D * | hCellPos [pmax][cmax] = {} |
TH2D * | p1X [pmax] = {} |
void cellPos | ( | ) |
Definition at line 26 of file cellShifts.C.
References initialise(), plot_residPerViewV(), and plot_residPerViewZ().
Referenced by align::SplitTracks::analyze(), slid::ParticleIDAlg::CalcPlaneCentroid(), jmshower::RecoJMShower::GetCellTransDedx(), and jmshower::RecoJMShower::GetTrkCPlaneCell().
void FitForMinimum | ( | TH2 * | h2, |
double & | x0, | ||
double & | y0 | ||
) |
Definition at line 472 of file cellShifts.C.
References func().
Referenced by plot_residPerViewV(), and plot_residPerViewZ().
void initialise | ( | bool | IsData | ) |
Definition at line 33 of file cellShifts.C.
References getBrightness::cell, cmax, om::cout, allTimeWatchdog::endl, file, fResidV, fResidZ, hCellPos, findDuplicateFiles::key, NDAPDHVSetting::plane, pmax, and PandAna.Demos.pi0_spectra::tot.
Referenced by cellPos().
void perView_labelV | ( | bool | IsData | ) |
Definition at line 360 of file cellShifts.C.
References kBlue.
Referenced by plot_residPerViewV().
void perView_labelZ | ( | bool | IsData | ) |
Definition at line 383 of file cellShifts.C.
References kBlue.
Referenced by plot_residPerViewZ().
Definition at line 407 of file cellShifts.C.
References make_syst_table_plots::h, hh, kBlue, and plotROC::title.
Referenced by plot_resid().
Definition at line 293 of file cellShifts.C.
References plot_validation_datamc::c, h3, and hCellPos.
Definition at line 257 of file cellShifts.C.
References plot_validation_datamc::c, make_syst_table_plots::h, and plane_label().
Definition at line 304 of file cellShifts.C.
References getBrightness::cell, cmax, fResidV, fResidZ, calib::j, plot_validation_datamc::p1, p1X, plot_validation_datamc::p2, NDAPDHVSetting::plane, and pmax.
void plot_residPerViewV | ( | bool | IsData | ) |
Definition at line 76 of file cellShifts.C.
References getBrightness::cell, cmax, om::cout, allTimeWatchdog::endl, FitForMinimum(), hCellPos, MECModelEnuComparisons::i, calib::j, nbins, perView_labelV(), NDAPDHVSetting::plane, and pmax.
Referenced by cellPos().
void plot_residPerViewZ | ( | bool | IsData | ) |
Definition at line 198 of file cellShifts.C.
References getBrightness::cell, cmax, om::cout, allTimeWatchdog::endl, FitForMinimum(), hCellPos, MECModelEnuComparisons::i, calib::j, nbins, perView_labelZ(), NDAPDHVSetting::plane, and pmax.
Referenced by cellPos().
void save | ( | bool | IsData, |
bool | Bad | ||
) |
Definition at line 453 of file cellShifts.C.
Referenced by median_contours(), and ana::process_list().
void SetLimits | ( | double | minmax | ) |
Definition at line 429 of file cellShifts.C.
TChain* al = 0 |
Definition at line 18 of file cellShifts.C.
const int cmax = 96 |
Definition at line 14 of file cellShifts.C.
Referenced by initialise(), dt::Cand::MinMaxLines(), dt::Cand::NSegs(), plot_residPerPlane(), plot_residPerViewV(), plot_residPerViewZ(), dt::Cand::PopSegHelper(), novaddt::calib::BufferManager< bufferType, Nbuffers >::SetCounterMax(), slicer_production_validation(), and dt::Cand::TryAddSeg().
TFile* file = 0 |
Definition at line 17 of file cellShifts.C.
Referenced by compareEvents(), countEvents(), d4sigma_plot(), DCMOffsetCalculator(), doUnfolding(), fake_future_data(), fiducial_accounting(), fill_simple(), bp::FindFiles(), mcmc::FullFilename(), test::FullFilename(), futureSig_reach_singlePOTcombo_syst(), generate_sk_flux_histograms(), genie_preds_make(), get_data_and_cosmic(), get_data_histogram(), get_fdmc_spectra(), get_files(), get_numu_data_histogram(), get_spectra_2dplots(), GetManualSubruns(), ana::GetNueData2020(), GetNumuData2018(), GetNumuData2019(), ana::GetNumuData2020(), GetPartList(), GetPartList_4DB(), getPlotsFromNtupleFD(), getPlotsFromNtupleND(), GetProcessed(), genie::utils::xml::GetTFile(), genie::utils::xml::GetTH1D(), genie::utils::xml::GetTH1F(), genie::utils::xml::GetTH2D(), getTimePeakTotal(), genie::utils::xml::GetTVectorD(), goodness_of_fit(), HadFit2sp(), HadFit4sp(), HadFitCC4sp(), ana::MultiHistContainer::Hist(), initialise(), LoadPPFX(), main(), make_calib_hists(), make_decomp(), make_estimate_energy(), make_esyst_hists(), make_extrap_figure_hists(), make_michel(), make_nueFDprediction_kinematics(), make_nueFDprediction_kinematics_FHC(), make_nueFDprediction_kinematics_FHC_pTExtrap(), make_nueFDprediction_kinematics_FHC_REW(), make_nueFDprediction_kinematics_FHC_REW_pTExtrap(), make_nueFDprediction_kinematics_REW(), make_nueFDprediction_kinematics_RHC(), make_nueFDprediction_kinematics_RHC_pTExtrap(), make_nueFDprediction_kinematics_RHC_REW(), make_nueFDprediction_kinematics_RHC_REW_pTExtrap(), make_prediction(), make_prediction_rhc(), make_predictions_systs(), make_predictions_systs_fakedata(), make_quantile_cuts_predictions(), make_starplots(), make_surfprof(), ana::MakeCosOutOfTimeList(), MakeDetCfgCSV(), MakeDQValidityCSV(), MakeDQValidityCSVND(), ana::MakeNumiUnblindList(), makePlots(), MakePlots(), MakeProfileHadEFD(), MakeProfileHadEND(), MakeProfileMuEFD(), MakeProfileMuEND(), MakeRunList(), ana::MakeUnblindList(), MakeUnblindList(), MakingProfile(), MakingProfileActCatcherND(), MakingProfileAllCatcherND(), MakingProfileHadCC(), MakingProfileHadCCND(), MakingProfileHadNonQE(), MakingProfileHadNonQEND(), MakingProfileHadQE(), MakingProfileHadQEND(), MakingProfileND(), mf::MaybeLogger_< SEV, VERBATIM >::MaybeLogger_(), mec_tuning_preds_2020(), modularextrap_demo_nue(), modularextrap_demo_numu(), mrbrem_get_initial_spectra(), mrbrem_get_reweighted_spectra(), MRDiFStudy_FHC_Step1(), MRDiFStudy_RHC_Step1(), mre_blessed(), mre_comp_split(), MuonFit4sp(), MuonFitLin(), neut_code_from_rootracker(), om::HistoTable::NewLineChar(), nuebar_signif(), nus17_fiducial_accounting(), NuSTreeMaker(), TMVA::TMVAGlob::OpenFile(), INukeNucleonCorr::OutputFiles(), PhotonSim(), PhotonSim_mp(), plot_cont_expfriends(), plot_contprof(), plot_datapredictions(), plot_NDvsFD_weights(), plot_NDvsFD_weights_FHC(), plot_NDvsFD_weights_RHC(), plot_nueFD_Signal_REWvsNOM_FHC(), plot_nueFD_Signal_REWvsNOM_pTExtrap_FHC(), plot_nueFD_Signal_REWvsNOM_pTExtrap_RHC(), plot_nueFD_Signal_REWvsNOM_RHC(), plot_prediction_systs(), plot_predictions(), plot_rationoosc(), plotContProf(), plotDataPred(), PlotDeltaFractionVsSignificance(), PlotDeltaFractionVsYear(), PlotSignificanceVsYear_FixDelta(), PlotSignificanceVsYear_FixTh23(), plotTime(), calib::CDPStorage::postCloseOutputFile(), calib::CDPStorage::postOpenFile(), ana::PredictionSyst3Flavor2020::PredictionSyst3Flavor2020(), nutools::dbi::Table::PrintPMUsed(), nova::dbi::Table::PrintPMUsed(), nutools::dbi::Table::PrintVMUsed(), nova::dbi::Table::PrintVMUsed(), reach_2018_dCPfractions(), read_file(), read_t2k_rootracker(), daq2raw::TestBeamRawInputDriver::readBeamline(), om::HistoTable::ReadFile(), red(), redND(), resolution2018(), resPlot(), resPlotND(), rock(), om::GUIModelData::SetCSVFile(), test_beam_errorband(), test_fluxhadr_prod_weights_Flux(), test_genieweights(), test_nue2018_surface(), stan::io::program_reader::trace(), train(), train_tmva_cosrej_nonc(), trim_caf(), ValidateRootFile(), mcdatadaq::Configuration::writeToFile(), xsec_extrap_plots(), and zerosstudy().
Definition at line 19 of file cellShifts.C.
Referenced by initialise(), plot_residPerPlane(), plot_residV(), and plot_sumcellsV().
Definition at line 20 of file cellShifts.C.
Referenced by initialise(), plot_residPerPlane(), plot_residZ(), and plot_sumcellsZ().
Definition at line 21 of file cellShifts.C.
Referenced by align::Alignment::GetChannelHists(), initialise(), plot_CellPos(), plot_residPerViewV(), and plot_residPerViewZ().
const int nbins = 200 |
Definition at line 15 of file cellShifts.C.
Referenced by genie::HadronizationModelBase::ApplyRijk(), nueccinc_test::NueCCIncGlobalFitter::CheckSystsSize(), cmf::CMFDecorrelator::CMFDecorrelator(), CombineHistograms(), ana::CompareNDDataMCFromVector(), ana::CompareNDDataOneMC(), ana::CompareNDDataTwoMC(), ana::CompareOneShiftPred(), ana::CompareTwoShiftPred(), genie::HadronizationModelBase::CreateMultProbHist(), datamc_ND_numu_kinematics_FHC_REW(), datamc_ND_numu_kinematics_FHC_REW_pTBins(), datamc_ND_numu_kinematics_REW(), datamc_ND_numu_kinematics_RHC_REW(), datamc_ND_numu_kinematics_RHC_REW_pTBins(), ana::PredictionInterp::DebugPlot(), ana::PredictionInterp::DebugPlotColz(), DiagonalErrors(), DrawBins(), DrawCompBarChart(), DrawCovMx(), DrawPulls(), rsim::ExcessNoiseMaker::DrawSmearedPE(), murem::MuonRemoveAna::endJob(), chaninfo::BadChanValidate::endSubRun(), ana::ErrorBarChart(), FCTutorial2020(), fd_plot(), osc::_OscCalcDMP< T >::FillCache(), FOMCalc(), ana::Hist::FromDirectory(), Gaus(), generate_sk_flux_histograms(), genie_syst_pca(), GetEdges(), GetMedian(), ana::GetNDComponents(), ana::GetNDDecompsFromDecomp(), RandHisto::GetRandom(), GoodDataSelDate(), GoodDataSelDuration(), GoodDataSelEmptySpillFrac(), GoodDataSelGoodDB(), GoodDataSelLiveTime(), GoodDataSelMipRate(), GoodDataSelNumSlices(), GoodDataSelRuns(), GoodDataSelTimingPeakEnd(), GoodDataSelTimingPeakStart(), GoodDataSelTrkFrac(), histCompare(), ana::Hist::Initialized(), levy_func_problem(), LinBins(), ana::FrequentistSurface::LoadFromMulti(), LogBins(), LOverEPlot(), make_nueFDprediction_kinematics_FHC_REW(), make_nueFDprediction_kinematics_FHC_REW_pTExtrap(), make_nueFDprediction_kinematics_REW(), make_nueFDprediction_kinematics_RHC_REW(), make_nueFDprediction_kinematics_RHC_REW_pTExtrap(), make_plots(), MakeLegend(), rsim::ExcessNoiseMaker::MakeTemplate(), MatrixValidation(), mix::MixSimEvents::MixSimEvents(), genie::KNOHadronization::MultiplicityProb(), myBarChart(), Nearline_Watchdog_Plots(), NominalRat(), ana::RecoReweight::OptimalBinningHelper(), plot_multiplicity_prob(), plot_residPerViewV(), plot_residPerViewZ(), PlotEfficiency(), ana::NumuCCIncAnalysis::PlotHelper(), ppfx_syst_pca_fn(), ana::PrintTableHeader(), ana::SystMaker::ProcessSyst(), ResolutionBars(), resolutionplotter(), resolutionplotterbias(), SavePCAForCAFAna(), set_labels_1D(), SetBinsOnOffShift(), SetBinsPlusMinusOne(), osc::_OscCalcDMP< T >::SetCachedEnergies(), SmoothWithFourierFit(), test_mc_rejection_method_lin(), test_mc_rejection_method_log(), cmf::CovarianceTools::TH2ToMat(), TransverseEff(), cmf::CovarianceMatrixMaker::writeResults(), ana::SystMakerShift::WriteTable(), and ana::SystMaker::WriteTable().
TH2D* p1X[pmax] = {} |
Definition at line 22 of file cellShifts.C.
Referenced by plot_residPerPlane().
const int pmax = 200 |
Definition at line 13 of file cellShifts.C.
Referenced by genie::GMCJDriver::ComputeEventProbability(), genie::GMCJDriver::ComputeInteractionProbabilities(), genie::GMCJDriver::ComputeProbScales(), genie::utils::nuclear::FmArea(), initialise(), main(), plot_residPerPlane(), plot_residPerViewV(), plot_residPerViewZ(), plot_sumcellsV(), plot_sumcellsZ(), slicer_production_validation(), and genie::GMCJDriver::~GMCJDriver().