Go to the source code of this file.
Functions | |
c1 | SetGridx () |
c1 | SetGridy () |
c1 | SetLogx () |
c1 | SetLogy () |
for (int i=0;i< n;i++) | |
input_file_1 | cd () |
input_file_1 | ls () |
t1 | SetBranchAddress ("Energy",&energy) |
t1 | SetBranchAddress ("Weight",&weight) |
cout<< t1-> | GetEntries () |
h_2 | SetLineStyle (kDashed) |
h_2 | SetLineColor (kBlue) |
h_2 | Draw () |
h_1 | Draw ("same") |
c1 | Update () |
c1 | Print ("./test35.png") |
input_file_1 | Close () |
Variables | |
TFile * | input_file_2 = new TFile("test35b.root") |
TCanvas * | c1 = new TCanvas("c1", "test35", 200, 10, 700, 500) |
int | n = 41 |
float | bin [41] |
TH1 * | h_1 = new TH1D("unbiased","Source spectrum",40,bin) |
TH1 * | h_2 = new TH1D("biased","Source spectrum",40,bin) |
double | energy |
double | weight |
TTree * | t1 = (TTree *) input_file_1->Get("MyTuple") |
TTree * | t2 = (TTree *) input_file_2->Get("MyTuple") |
input_file_1 cd | ( | ) |
input_file_1 Close | ( | ) |
h_2 Draw | ( | ) |
h_1 Draw | ( | "same" | ) |
for | ( | ) |
cout<<t1-> GetEntries | ( | ) |
Definition at line 29 of file plottest35.C.
References MECModelEnuComparisons::i.
Referenced by genie::GHepRecord::AddParticle(), slid::ParticleIDAlg::CalcPlaneLongDedxProb(), slid::ParticleIDAlg::CalcPlaneTransDedxProb(), genie::GHepRecord::CompactifyDaughterLists(), compare_cos_numi(), ana::ComparisonTableNbins(), genie::TuneId::Decode(), genie::BaryonResonanceDecayer::EvolveDeltaBR(), genie::GHepRecord::FindParticle(), get_cosmic_sample(), jmshower::RecoJMShower::GetCellTransDedxProb(), getEffDiffErrPc(), jmshower::RecoJMShower::GetPlaneDedxProb(), genie::GHepRecord::GetStableDescendants(), slid::DedxDistribution::LoadDedxHistograms(), jmshower::RecoJMShower::LoadDedxHistograms(), main(), MakeCSV(), ana::MakeNueSystematicsFile(), MakeNus17CosBkgd(), MakeNus18CosBkgd(), genie::GHepRecord::NEntries(), overlayFBplotsH(), genie::GHepRecord::Particle(), genie::GHepRecord::ParticlePosition(), genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), ana::PrintRawEventCounts(), lem::AlignLibToVtx::produce(), DataMCPair::Purity(), genie::BaryonResonanceDecayer::SelectDecayChannel(), genie::GHepRecord::SwapParticles(), and genie::GHepRecord::UpdateDaughterLists().
input_file_1 ls | ( | ) |
c1 Print | ( | "./test35.png" | ) |
t2 SetBranchAddress | ( | "Energy" | , |
& | energy | ||
) |
t2 SetBranchAddress | ( | "Weight" | , |
& | weight | ||
) |
c1 SetGridx | ( | ) |
Referenced by MakeCanvasForData(), and MakeCanvasForSim().
c1 SetGridy | ( | ) |
fBaryonPT2pdfTwk2 SetLineStyle | ( | kDashed | ) |
gPad SetLogx | ( | ) |
Referenced by MakeCanvasForData(), and MakeCanvasForSim().
c1 SetLogy | ( | ) |
c1 Update | ( | ) |
float bin[41] |
Definition at line 14 of file plottest35.C.
Referenced by ana::FCSurface::Add(), hough::LiteTH2::AddBinContent(), hv::LiteTH2::AddBinContent(), align::Alignment::analyze(), cheat::TestTrackIds::beginJob(), BinByBinTemplateFit(), BinByBinTemplateFit_TemplateResults(), cmf::CovarianceBinUtility::BinToKey(), ana::nueccinc::NueCCIncTemplateFitter::CalculateOneSigmaShift(), ana::NumuCCIncPionTemplateFitter::CalculateOneSigmaShift(), nueccinc_test::NueCCIncGlobalFitter::CalculateOneSigmaShiftFull(), nueccinc_test::NueCCIncGlobalFitter::CalculateOneSigmaShiftReduced(), ana::nueccinc::NueCCIncTemplateFitter::CheckIfBinShouldBeUsed(), ana::NumuCCIncPionTemplateFitter::CheckIfBinShouldBeUsed(), ana::CovMxExperiment::ChiSq(), CombineHistograms(), CutThreshold(), data_over_mc_profile(), ana::PredictionInterp::DebugPlot(), ana::PredictionInterp::DebugPlotColz(), ana::FCSurface::DrawBins(), ana::SystMakerShift::DrawBkg(), ana::SystMaker::DrawBkg(), DrawResBin(), ana::SystMakerShift::DrawShift(), ana::SystMakerShift::DrawSig(), ana::SystMaker::DrawSig(), DrawUniverses(), tbana::BeamStructureAna::endJob(), rwgt::MakeGENIEReweightTable::endJob(), ana::PredictionExtendToPeripheral::ExtendRecoWeight(), ana::PredictionExtendToPeripheral::ExtendRecoWeightOscillatable(), cmf::ShifterAndWeighter::FileSystWeight(), caldp::LiteProfile::Fill(), ana::Hist::Fill(), ana::FrequentistSurface::FillSurface(), ana::Binning::FindBin(), ana::FrequentistSurface::FindMinimum(), ana::FixGibuuWeight::FixGibuuWeight(), ana::ModularExtrapComponent::FormSmartRatio(), fragmentAngularDistributionHistogram(), generate_fc_binlists(), genie::supernova::GFluxGenerator::GenerateNext(), ana::ISurface::GetBestFitY(), hough::LiteTH2::GetBinContent(), hv::LiteTH2::GetBinContent(), GetCovMx(), GetDefaultAxis(), SystEntry::GetLimits(), GetLimits(), om::HitMaps::GetNanoSliceSummary(), ana::NumuCCIncPionTemplateFitter::getPIDFitTemplates(), ana::nueccinc::NueCCIncTemplateFitter::getPIDFitTemplates(), ana::GetQuantileBins(), graphAsymmError(), ana::graphAsymmErrorScaled(), ana::graphAsymmErrorWithBkgScaled(), IntInBin(), joint_fit_2017_fc_submit(), PandAna.cut.analysis_cuts::kNueApplyMask(), PandAna.cut.analysis_cuts::kNumuOptimizedContainFD(), ana::FrequentistSurface::LoadFromMulti(), make_fc_slices_nersc_2018(), make_fc_slices_nersc_2018_stats(), make_fc_slices_nersc_2019(), make_fc_surfaces_2020(), make_fc_surfaces_2020_validation(), make_fc_surfaces_nersc_2018(), make_fc_surfaces_nersc_2018_stats(), make_fc_surfaces_nersc_2019(), highe::HighEnergyAna::make_histo(), novaddt::SNAna::make_histo(), mono::SlowMonopoleAna::make_histo(), make_nus17_fc_surfs(), make_nus_fc_surfs(), makeDataCryRatio(), makeEffPlot(), makeEffPlotNoRatio(), MakeNuEnergyPlots(), makePlot(), MakePlots(), MakeTestStandPlots_AllRuns(), MakeTestStandPlots_NewRuns(), makeWgtdEffPlot(), makeWgtdPlot(), fhicl::maximally_munched_dss(), mec_tuning_preds_2020(), mrbrem_get_reweighted_spectra(), MRDiFStudy_FHC_Step2(), MRDiFStudy_RHC_Step2(), cmf::CovarianceBinUtility::NuMuHighEdges(), NuSCalculateCorr(), ana::RecoReweight::OptimalBinningHelper(), genie::geometry::PlaneParam::PlaneParam(), plot_3flavor_withsysts(), plot_abstree(), plot_ehade_quantbound(), plot_quantbound_twosamples(), plot_quantile_boundaries_2020(), plot_quantile_boundaries_twosamples_2020(), plot_rationoosc(), plot_recoE_numu(), ana::PlotDataMC(), PlotDataMC(), plotDataPred(), ana::PlotSyst(), Plotting_DataAndPrediction(), genie::LocalFGM::Prob(), genie::EffectiveSF::Prob(), genie::FGMBodekRitchie::Prob(), getGoodRuns4SAM::processFarDetData(), ana::SystMaker::ProcessSyst(), ana::Bayesian1DMarginal::QuantileRanges(), ana::RatioAsymmError(), ana::RatioAsymmErrorScaled(), ana::RatioAsymmErrorWithBkg(), ana::RatioAsymmErrorWithBkgScaled(), Ratiofit(), readTree(), sn::HighEnergyRemover::remove(), ResolutionBars(), RunCalibration(), ana::FCSurface::SaveToFile(), hough::LiteTH2::SetBinContent(), hv::LiteTH2::SetBinContent(), DrawUtils::SetRatioErrors(), SplitHistograms(), ana::FCSurface::SurfaceForSignificance(), ana::Multiverse::ToSpectrum(), ana::Bayesian1DMarginal::ToTH1(), ana::Nus17SystFromHist::WeightFor(), ana::NusSystFromHist::WeightFor(), ana::NuISyst::WeightFor(), ana::Nus18SystFromHist::WeightFor(), and calib::AttenuationFit::writeResults().
TCanvas* c1 = new TCanvas("c1", "test35", 200, 10, 700, 500) |
Definition at line 6 of file plottest35.C.
double energy |
Definition at line 25 of file plottest35.C.
Referenced by Analyse_Data2DataComp(), mcchk::CosmicAna::analyze(), murem::MuonRemoveAna::analyze(), ncs::GenieTruth::analyze(), INukeNucleonCorr::AvgCorrection(), caf_numu_nd_cutflow(), caf_numu_nuenergy_vs_xy(), caf_numu_reco_minus_true(), caf_numu_vars(), lem::CalcEnergy(), caf::Proxy< caf::SRBpfId >::CheckEquals(), caf::Proxy< caf::SRBpfTrack >::CheckEquals(), caf::Proxy< caf::StandardRecord >::CheckEquals(), flat::Flat< caf::SRBpfId >::Clear(), flat::Flat< caf::SRBpfTrack >::Clear(), flat::Flat< caf::StandardRecord >::Clear(), ana::constructBPFPng3dVar(), genie::flux::GAtmoFlux::CosZenith(), CreateKNNTrainingTrees(), genie::GVldContext::DecodeENERGY(), DrawCCOscillations(), jmshower::EID::EID(), cheat::BackTracker::EnergyFromTrackId(), evgen::CosmicsGen::Enhance(), cmf::ShifterAndWeighter::FileSystWeight(), flat::Flat< caf::SRBpfId >::Fill(), flat::Flat< caf::SRBpfTrack >::Fill(), flat::Flat< caf::StandardRecord >::Fill(), LSTME::FillLSTME::fillEnergies(), genie::flux::GHAKKMAtmoFlux::FillFluxHisto(), genie::flux::GFLUKAAtmoFlux::FillFluxHisto(), genie::flux::GBGLRSAtmoFlux::FillFluxHisto(), calib::StopperThreshold::FillHist(), calib::EnergyStandardCandles::FillMichelRecoInfo(), calib::StopperThreshold::FillTree(), fit_fcn(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), genie::MECGenerator::GenerateNSVInitialHadrons(), INukeNucleonCorr::generateTargetNucleon(), getCosmicList(), genie::flux::GFluxBlender::GetFlavorMixer(), GetHistsFD(), GetHistsND(), getInputList(), ana::BeamSystOrWeightBase::GetWeight(), ana::GeniePCASyst::GetWeight(), HAProbeFSI(), main(), cvn::MakeParticleLabel(), genie::geometry::GeomVolSelectorRockBox::MakeRockBox(), makeTraj(), numue::NumuEAlg::MuonEnergies(), ana::NueRecoE_2020FHCFit(), numu_validation_numuvars(), cmf::CovarianceBinUtility::NuMuHighEdges(), caf::Proxy< caf::SRBpfId >::operator=(), caf::Proxy< caf::SRBpfTrack >::operator=(), caf::Proxy< caf::StandardRecord >::operator=(), INukeNucleonCorr::OutputFiles(), Plotting_Data2DataComp(), g4n::ParticleListAction::PostTrackingAction(), PredictionInfo::PredictionInfo(), genie::utils::intranuke::PreEquilibrium(), genie::utils::intranuke2018::PreEquilibrium(), g4n::ParticleListAction::PreTrackingAction(), printEventToJson(), evgen::GFlavorOsc::Probability(), wsnumu::WSNumu::produce(), jmshower::JMClusterMerge::produce(), evgen::CORSIKAGen::produce(), bpfit::BPFEnergyEstimator::produce(), bpfit::BPFEnergyEstimatorOnly::produce(), ProducingSA(), LSTME::ProngBPFVars::saveToDict(), jmshower::EID::SetDetEnergy(), jmshower::JMShower::SetEnergy(), jmshower::EID::SetNuEnergy(), brb::MuonStackTrack::SetRecoEnergy(), jmshower::EID::SetTrueNuEnergy(), ana::NumuSummedSmallGENIESyst::Shift(), g4n::RockCutterAction::StackClassifyNewTrack(), g4n::ParticleListAction::SteppingAction(), ana::takeOutTrash(), ana::takeOutTrashByTruth(), test_fluxhadr_prod_weights_Flux(), train_reduce(), treeContentsToFile(), and jmshower::JMShower::~JMShower().
TH1* h_1 = new TH1D("unbiased","Source spectrum",40,bin) |
Definition at line 20 of file plottest35.C.
TH1* h_2 = new TH1D("biased","Source spectrum",40,bin) |
Definition at line 21 of file plottest35.C.
TFile* input_file_2 = new TFile("test35b.root") |
Definition at line 4 of file plottest35.C.
int n = 41 |
Definition at line 13 of file plottest35.C.
TTree* t1 = (TTree *) input_file_1->Get("MyTuple") |
Definition at line 26 of file plottest35.C.
TTree* t2 = (TTree *) input_file_2->Get("MyTuple") |
Definition at line 36 of file plottest35.C.
double weight |
Definition at line 25 of file plottest35.C.