Functions | Variables
PandAna.Demos.demo1 Namespace Reference

Functions

def kPngE (tables)
 
def kFiducial (tables)
 

Variables

 kPngE = Var(kPngE)
 
 kFiducial = Cut(kFiducial)
 
string loc = '/pnfs/nova/persistent/users/karlwarb/HDF5-Training-19-02-26/FD-FluxSwap-FHC'
 
list files = [os.path.join(loc, f) for f in os.listdir(loc) if 'h5caf.h5' in f]
 
 tables = loader(files, limit=100)
 
 myspectrum = spectrum(tables, kFiducial, kPngE)
 
 n
 
 bins
 
 range
 
 weights
 

Function Documentation

def PandAna.Demos.demo1.kFiducial (   tables)

Definition at line 17 of file demo1.py.

References PandAna.Demos.demo1.kFiducial.

17 def kFiducial(tables):
18  df = tables['rec.vtx.elastic']
19  return (df['vtx.x'] < 180) & \
20  (df['vtx.x'] > -180) & \
21  (df['vtx.y'] < 180) & \
22  (df['vtx.y'] > -180) & \
23  (df['vtx.z'] < 1000) & \
24  (df['vtx.z'] > 50)
def PandAna.Demos.demo1.kPngE (   tables)

Definition at line 9 of file demo1.py.

References PandAna.Demos.demo1.kPngE, and sum.

9 def kPngE(tables):
10  df = tables['rec.vtx.elastic.fuzzyk.png']['calE']
11  return df.groupby(level = KL).sum()
Double_t sum
Definition: plot.C:31

Variable Documentation

PandAna.Demos.demo1.bins

Definition at line 42 of file demo1.py.

list PandAna.Demos.demo1.files = [os.path.join(loc, f) for f in os.listdir(loc) if 'h5caf.h5' in f]

Definition at line 30 of file demo1.py.

PandAna.Demos.demo1.kFiducial = Cut(kFiducial)

Definition at line 25 of file demo1.py.

Referenced by PandAna.Demos.demo1.kFiducial().

PandAna.Demos.demo1.kPngE = Var(kPngE)

Definition at line 12 of file demo1.py.

Referenced by PandAna.Demos.demo1.kPngE().

PandAna.Demos.demo1.loc = '/pnfs/nova/persistent/users/karlwarb/HDF5-Training-19-02-26/FD-FluxSwap-FHC'

Definition at line 29 of file demo1.py.

PandAna.Demos.demo1.myspectrum = spectrum(tables, kFiducial, kPngE)

Definition at line 34 of file demo1.py.

PandAna.Demos.demo1.n

Definition at line 42 of file demo1.py.

PandAna.Demos.demo1.range

Definition at line 42 of file demo1.py.

Referenced by PandAna.core.core.Cut.__call__(), mcscore.MCVertex.__del__(), PandAna.core.core.Cut.__invert__(), run_unfold_genie_multiprocess.Task.__str__(), python._list_material(), python3._list_material(), HTMLView.HTMLView.add_figure(), highe::HighEnergyAna.analyze(), comi::NearlineAna.analyze(), generic.models.PlotInfo.ComparisonSummary.AndersonDarling(), canMan.autoPlaceLegend(), spectra_to_pyobj.bin_contents(), spectra_to_pyobj.bin_edges(), HandyFuncs.BinWidthNormalize(), SupernovaUtilities.BookThreeFlavourHistograms(), chisquared.CalcChi2(), PandAna.Demos.tute_plots.CalculateEffPur(), canMan.canUp(), HandyFuncs.ChisqCount(), demo.App.cmd_beamOn(), Lesson1.App.cmd_beamOn(), ExN03.App.cmd_beamOn(), moon_position_table_new3.computeDayBoundaryMoon(), getGoodRuns4SAM.consolidate(), test.ConstructGeom(), run.ConstructGeom(), GetFEBsFromWatchList.convertCsvToPythonObject(), SupernovaUtilities.ConvertTimeEnergyFluenceToSnowglobesFormat(), ProductionTestTools.cosmicVetoEfficiencyDefunct(), ProductionTestTools.crontabToGantt(), data_over_mc_profile(), plot_xsec_1d.do_focusing_1bin(), canMan.drawOverlay(), test.DumpTree(), calib::AttenFit.expFit(), calib::AttenuationFit.expFit(), PlotUtilityNew.file_list(), mcscorerootio.MCScoreROOTIO.fill_tree(), generic.tools.HistogramTools.findMinMax(), common_tools.findMinMax(), calib::AttenFit.fit_channel_prof(), calib::AttenuationFit.fit_channel_prof(), txt_utils.PixelmapGenerator.flow(), check_jobs.get_complete_jobs(), plot_xsec_1d.get_genie_universes(), plot_xsec_2d.get_genie_universes(), plot_xsec_1d.get_ppfx_universes(), plot_xsec_2d.get_ppfx_universes(), PlotUtilityNew.get_time_array(), SupernovaUtilities.GetBins(), caf_tools.GetBins(), plotROC.getEfficiencies(), view_tools.getHistogramStatErrors(), generic.tools.HistogramTools.getHistogramStatErrors(), om::HitMaps.GetNanoSliceSummary(), om::FEBRatesByDiblock.GetNanoSliceSummary(), generic.tools.HistogramTools.getQuantiles(), common_tools.getQuantiles(), GetFEBsFromWatchList.getRecentFilesList(), evd::XZYZProjectionsView.GetRightAxesRange(), canMan.getTVectorFromList(), HandyFuncs.gIntersections(), PandAna.var.numuE_utils.SplineFit.InitIntercept(), HandyFuncs.Intersections(), generic.models.Organizational.PlotSet.iter_plot_collections(), PandAna.cut.analysis_cuts.kDibMaskHelper(), PandAna.cut.analysis_cuts.kNumuDibMaskHelper(), PandAna.core.core.load_tree(), GetSpillData.main(), garching_flux_to_genie_root.main(), GetFEBsFromWatchList.main(), POTSpillRate.main(), MCenterSpills.main(), POTPopulateData.main(), POTGetData.main(), nova_uptime.main(), run_unfold_genie_multiprocess.make_cmd(), run_unfold_ppfx_multiprocess.make_cmd(), run_unfold_systs_multiprocess.make_cmd(), publish_reco_validation.make_yaml(), HandyFuncs.MakeBins(), PandAna.Demos.tute_plots.MakeCVNDistPlot(), FirstAnaPageMakers.makeDatasetPage(), PandAna.Demos.tute_plots.MakeDeltaCVNPlots(), HandyFuncs.MakeGradient(), runNovaSAM.makeMetadataJSONs(), make_reco_miniprod5_plots.MakePlots(), make_reco_plots.MakePlots(), view_tools.makeRatioHistograms(), generic.tools.HistogramTools.makeRatioHistograms(), makeSystTable(), makeSystTable_reduced(), runNovaSAM.MakeTransposeJson(), ViewHTML.metricsToHTMLTable(), view_tools.normaliseHistogram(), generic.tools.HistogramTools.normaliseHistogram(), OnMonPlotMaker(), stan::lang::empty_range.operator()(), SupernovaUtilities.ParameterisedDataToHistograms(), submit_concat_project.ParseParts(), SupernovaUtilities.ParseSNDFile(), plotfiles.plot_2_files(), emcalc_gui.plot_charged(), PandAna.reco_validation.prod5_pid_validation_data_mc.plot_data_mc(), emcalc_gui.plot_gamma(), PandAna.reco_validation.prod5_pid_validation.plot_ratio(), canMan.posUp(), file_size_ana.prettyPrint(), daqdataformats::VERSION_NAMESPACE::RawTrigger.print(), checkCalibrationCSV.NovaCalibTest.printSummary(), plot_xsec_2d.process_ckv_calibshape(), plot_xsec_2d.process_data(), plot_xsec_2d.process_focusing(), plot_xsec_2d.process_light_calibration_mue(), ana.process_list(), plot_xsec_2d.process_mc(), plot_xsec_2d.process_multiuniverse(), plot_xsec_2d.process_normalization(), generator.produce_seq(), HandyFuncs.ProfileX(), HandyFuncs.ProfileY(), PlotUtilityNew.pull_data(), PlotUtilityNew.pull_MultiData(), PlotUtilityNew.pull_NormData(), mcscore.read_next_vertex(), SupernovaUtilities.ReadGarchingLegacyFluxes(), ResolutionPlot(), RMSPlot(), calib::AttenFit.rolloffFit(), calib::AttenuationFit.rolloffFit(), run_unfold_ppfx_multiprocess.RunMultiProcess(), run_unfold_systs_multiprocess.RunMultiProcess(), run_unfold_genie_multiprocess.RunMultiProcess(), samweb_client.projects.runProject(), PandAna.core.core.save_tree(), canMan.saveCans(), view_tools.setHistogramFractionalErrors(), generic.tools.HistogramTools.setHistogramFractionalErrors(), make_true_q0q3_plots.SetMECWeightsPalette(), rootlogon.SetupColors(), ViewSTDOUT.showMetricsSummary(), ViewSTDOUT.showMetricsSummaryComplex(), generic.views.Pages.PlotPage.SortedPlotInfo(), overlay_prestage_def.Subdivide(), syst_table_fit(), syst_table_fit_new(), syst_test(), test_stanfit_statsonly(), ViewBokeh.tierToHTML(), make_training.train_model(), regression.validate(), HandyFuncs.VerticalRange(), visualisationForPaperMasterPlot.vis_square(), visualisationForPaperMasterPlot.vis_square_kernel(), and visualisationForPaperMasterPlot.vis_square_kernel_zoom().

PandAna.Demos.demo1.tables = loader(files, limit=100)

Definition at line 31 of file demo1.py.

PandAna.Demos.demo1.weights

Definition at line 46 of file demo1.py.