Functions | Variables
DrawCollectionRate.C File Reference

Go to the source code of this file.

Functions

 CenterTitles (histo)
 
histo SetStats (false)
 
histo SetTitle (";|Z^{collection} - Z^{emission}| (cm);T^{collection} - T^{emission} (ns);")
 
histo SetMinimum (1.0e-9)
 
canv SetLogz ()
 
histo Draw ("colz")
 
 Simulation ()
 

Variables

TFile * file = new TFile("dT_dZ_CollectionRate.root")
 
TH2D * histo = (TH2D*)file->Get("dT_dZ_CollectionRate")
 
TCanvas * canv = new TCanvas("cdT_dZ_CollectionRate","cdT_dZ_CollectionRate")
 

Function Documentation

CenterTitles ( histo  )
hist2 Draw ( "colz"  )
gPad SetLogz ( )
histo SetMinimum ( 1.0e-  9)
histo SetStats ( false  )
histo SetTitle ( ";|Z^{collection} - Z^{emission}| (cm);T^{collection} - T^{emission} (ns);"  )
Simulation ( )

Definition at line 16 of file tools.h.

References prelim.

Referenced by calculateWrongSignNue(), calculateWrongSignNumuQ1(), calculateWrongSignNumuQ2(), calculateWrongSignNumuQ3(), calculateWrongSignNumuQ4(), compare_fits(), CompareDecompDataMC(), CompareToTrueSignal(), DifferenceOverlay(), DoUnfolding(), doUnfolding(), Draw2DSurface(), drawSystsShiftingNDdata(), drawSystsShiftingNDdata_updatedAna(), HadEFit(), jointsensitivity(), main(), ana::Make2DFrom1D(), make_muonid_opt(), MakeCovarianceCorrelationPlots(), MakePlots(), MakePlots1D(), ana::BENDecomp::MakeWeightsNumuFromPion(), makeXSecPlots_TemplateFit(), monoprob(), MuonFit(), numu_sig_nonmax(), PaintReachCanvas(), Plot1DSlice(), Plot2DSlices(), plot_quantile_boundaries_2020(), plot_quantile_boundaries_twosamples_2020(), PlotFitResults(), ana::PlotMultiSyst(), PlotPionPlots(), PlotPurEff(), PlotSignalBackground(), ana::PlotSpectra(), PlotStack(), ana::PlotStack(), PlotSyst(), ana::PlotSyst(), ana::PlotSystBand(), PlotSysts(), Print(), PrintPlots(), ResolutionBars(), ResolutionPanels(), ana::BENDecomp::SavePlots(), ana::BENDecomp::SavePlotsPi(), sensitivity2018(), sensitivity2020(), template_basic(), template_GENIE_systs(), template_nonGENIE_systs(), xsec_tot_uncert_optimization(), and xsec_uncertainty_per_bin().

17 {
18  TLatex* prelim = new TLatex(.9, .95, "NOvA Simulation");
19  prelim->SetTextColor(kGray+1);
20  prelim->SetNDC();
21  prelim->SetTextSize(2/30.);
22  prelim->SetTextAlign(32);
23  prelim->Draw();
24 }
TLatex * prelim
Definition: Xsec_final.C:133

Variable Documentation

TCanvas* canv = new TCanvas("cdT_dZ_CollectionRate","cdT_dZ_CollectionRate")

Definition at line 7 of file DrawCollectionRate.C.

TFile* file = new TFile("dT_dZ_CollectionRate.root")

Definition at line 4 of file DrawCollectionRate.C.

TH2D* histo = (TH2D*)file->Get("dT_dZ_CollectionRate")