Variables
MakeMiniprodValidationCuts Namespace Reference

Variables

string DIR = "/nova/app/users/essmith/devsrepo/essmith/miniprod5_validation/events/lists/lists"
 
string OUTFILE = "Miniprod5ValidationCuts.cxx"
 
string CUT_TEMPLATE
 
string cut_text = ""
 
tuple sels = ("unselected", "presel", "CVNeLow", "CVNeHigh")
 
 f = os.path.join(DIR, "ND_%(horn)s_p4%(prod4_sel)s_p5%(prod5_sel)s.txt" % { "horn": horn_current, "prod4_sel": prod4_sel, "prod5_sel" : prod5_sel})
 
string hash_text = ""
 
tuple numbers = (l.lstrip("0") if l != len(l) * "0" else "0" for l in line.split())
 
dictionary subst = { "prod4_sel": prod4_sel, "prod5_sel": prod5_sel, "horn": horn_current.upper(), "hash_list": hash_text}
 
list text = []
 
bool replacing = False
 

Variable Documentation

string MakeMiniprodValidationCuts.CUT_TEMPLATE
Initial value:
1 = """
2  const Cut kIs_Prod4%(prod4_sel)s_Prod5%(prod5_sel)s_%(horn)s([](const caf::SRProxy * sr)
3  {
4  const std::unordered_set<std::size_t> hashes
5  {
6 %(hash_list)s
7  };
8 
9  return hashes.find(Hash(&sr->spill)) != hashes.end();
10  });
11 
12 
13 """

Definition at line 7 of file MakeMiniprodValidationCuts.py.

string MakeMiniprodValidationCuts.cut_text = ""

Definition at line 21 of file MakeMiniprodValidationCuts.py.

string MakeMiniprodValidationCuts.DIR = "/nova/app/users/essmith/devsrepo/essmith/miniprod5_validation/events/lists/lists"

Definition at line 4 of file MakeMiniprodValidationCuts.py.

Referenced by genie::utils::system.GetAllFilesInPath().

MakeMiniprodValidationCuts.f = os.path.join(DIR, "ND_%(horn)s_p4%(prod4_sel)s_p5%(prod5_sel)s.txt" % { "horn": horn_current, "prod4_sel": prod4_sel, "prod5_sel" : prod5_sel})

Definition at line 26 of file MakeMiniprodValidationCuts.py.

Referenced by nova::database::Tolerance_t._clone(), nova::dbi::dBColumn_t._clone(), nova::dbi::dBCheck_t._clone(), nova::database::dBColumn_t._clone(), nova::dbi::dBRow_t._clone(), nova::database::dBCheck_t._clone(), nova::database::dBRow_t._clone(), nova::dbi::dBTable._clone(), nova::database::dBTable._clone(), calib::ADCShapeFitTable.ADCShapeFitTable(), TexBuilder.AddFigureRow(), genie::flux::GAtmoFlux.AddFluxFile(), AddNumuHistDefMoreTruth(), genie::AlgConfigPool.AddRootObjParameter(), bpfit::Path.AdjustEndPoint(), bpfit::Path.AdjustStartPoint(), stan::math.algebra_solver(), calib::TestParticleCorrections.analyze(), murem::MuonRemoveAna.analyze(), fuzz::FuzzyKValidate.analyze(), angular_distribution_pdf(), genie::KineGeneratorWithCache.AssertXSecLimits(), ana::AtmConstraint.AtmConstraint(), comi::ChanOcc.beginJob(), novaddt::SingletonRejectionAna.beginJob(), calib::TestParticleCorrections.beginJob(), novaddt::ClusterAna.beginJob(), DataCheck::HardwareStatusCheck.beginJob(), earms::ElasticArmsHS.beginJob(), comi::Cana.beginJob(), comi::DataCheck.beginJob(), comi::Leana.beginJob(), comi::FEBFlash.beginJob(), evgen::SingleGen.beginRun(), rsim::ReadoutSim.beginRun(), comi::DataCheck.beginSubRun(), ana.best_spline_find_mode(), ana.best_spline_mode_fcn(), calib::BetheBlochTables.BetheBlochTables(), braggPeak(), ana::GenieMultiverseSpectra.BuildKnobConfigTable(), ana::GenieMultiverseParameters.BuildKnobConfigTable(), BuildSpectrum(), BuildStdNtuple(), caf_numu_fd_validation_data(), caf_numu_fd_validation_MC(), caf_numu_fd_validation_MC_no_tau(), caf_numu_nuenergy_vs_xy(), caf_numu_reco_minus_true(), caf_numu_sensitivity(), caf_numu_sensitivity_no_tau(), caf_numu_vars(), genie::QPMDISStrucFuncBase.Calculate(), art::detail::ExceptionCollector.call(), om::CaptionBox.CaptionBox(), check_proxy(), checkBeam(), cheat::CheckBackTracking.CheckFLSHitConsistency(), CheckVertexDistribution(), ComparePredictions(), CompareSpectra(), CompareSpectraDataMC(), ana::PredictionInterp.ComponentDerivative(), om::PlotViewer.ContentProjectionTH1F(), om::PlotViewer.ContentProjectionTH2F(), convert(), CountEvents(), covarianceCombination(), ana::CovMxManager.CovMxManager(), customFunc(), keras::DataChunkFlat.DataChunkFlat(), DCSPlotMaker(), g4n::PrintTables.dEdx(), calib::BetheBlochAnalytic.dEdx(), genie::alvarezruso::AREikonalSolution.Deltamed(), genie::alvarezruso::AlvarezRusoCOHPiPDXSec.DeltaWidthPauliBlocked(), genie::alvarezruso::ARSampledNucleus.Density0(), stan::math.derivative(), evdb::Canvas.Description(), evdb::ObjListCanvas.Description(), cmf::EventListManipulator.Deserialize(), fnex::EventListManipulator.Deserialize(), stan::optimization::ModelAdaptor< M >.df(), genie::utils::nuclear.DISNuclFactor(), genie::utils::gsl::wrap::BardinIMDRadCorIntegrand.DoEval(), genie::utils::gsl::wrap::KovQELCharmIntegrand.DoEval(), zcl::SPCluster.dupCheck(), novaddt::UpMuTestTrigger.endJob(), estimate_energy(), expect_eq_traces(), extract_gibuu_corrs(), hdf5::HDF5Header< Tidx >.Fill(), fill_exps(), murem::MuonRemove.FillTruthInfo(), novarwgt.FindAndOpenFile(), stan::math.finite_diff_grad_hessian(), stan::math.finite_diff_gradient(), stan::math.finite_diff_hess_helper(), stan::math.finite_diff_hessian(), FitPlot(), ana.FitVar2SinSqTheta23SinSq2Theta13(), fnex::EventListManipulator.FixNearDetMCExposures(), genie::utils::nuclear.FmI1(), cet.for_all_with_index(), art::RootSizeOnDisk::Record.fraction(), fragmentAngularDistribution(), fragmentAngularDistributionGM(), fragmentAngularDistributionHistogram(), fragmentEnergy(), fragmentEnergyDistributionDifferentAngles(), fragmentYieldsPlot(), lem::dec::Forest.FromFile(), GammaFit(), stan::math.gaussian_dlm_obs_lpdf(), generate_sk_flux_histograms(), GenerateEventsAtFixedInitState(), genie::flux::GJPARCNuFlux.GenerateNext(), genie::flux::GDk2NuFlux.GenerateNext(), genie::flux::GSimpleNtpFlux.GenerateNext(), genie::flux::GNuMIFlux.GenerateNext(), keras::DataChunkFlat.get_1d(), keras::DataChunkFlat.get_1d_rw(), evdb::ColorScale.GetColor(), GetCosmics(), ana::CovMxManager.GetCovarianceMatrix(), getData(), Plotter.GetDataPlots(), ana::CovMxManager.GetFile(), evd::SimulationDrawer.GetFLSHits(), ana::AtmConstraint.GetGridMatrix(), ana::GeniePCASyst.getHist(), GetHistsFD(), GetHistsND(), GetMatrices(), Plotter.GetMCPlots(), ana::SpectrumLoaderBase.GetNextFile(), GetNumuData2017(), GetNumuData2018(), GetNumuData2019(), getPlots(), getPlotsFromNtupleFD(), getPlotsFromNtupleND(), getPredictions(), getPredictions_updatedAna(), GetSurf(), GetSystsFromFile(), ana::SpectrumLoader.Go(), ana::FileReducer.Go(), stan::math.grad_hessian(), stan::math.grad_tr_mat_times_hessian(), stan::math.gradient(), stan::math.gradient_dot_vector(), stan::math.gradient_of_f(), gst.gst(), om::HeaderBar.HandleTimer(), ana.Hash(), stan::math.hessian(), om::HistogramInfo.HistogramInfo(), cheat::BackTracker.HitsToTrackIDE(), evdb::ColorScale.HSVtoRGB(), rsim::IFPGAAlgorithm.IFPGAAlgorithm(), TMVA::TMVAGlob.imgconv(), zcl::SPCluster.IndexLocator(), zcl::SMMTriggerAna.IndexLocator(), novaddt::SlowMMTrigger.IndexLocator(), ana::NuWROSyst.InitializeHistograms(), fnex::FitAlg_ROOTFactoryFit.InitializeMinimizer(), fnex::CovarianceMatrixFitter.InitializeMinimizer(), cmf::CovarianceFitHelper.InitializeMinimizer(), ana::InstallHandlers.InstallHandlers(), integrand(), stan::math.integrate(), stan::math.integrate_1d(), art::GlobalSignal< SRTYPE, ResultType(Args...)>.invoke(), art::LocalSignal< STYPE, ResultType(Args...)>.invoke(), stan::math.jacobian(), dbutils::RunHistory.Load(), load_libs_from_command(), nova::dbi::RunHistory.LoadAPDSettings(), genie::LwlynSmithFF.LoadConfig(), LoadCosmic(), LoadCosmicHist(), rsim::ReadoutSim.LoadEmptyCellNoisePDF(), LoadFakeData(), fnex::GeniePCASyst.LoadGeniePCASystHists(), LoadISysts(), fnex::ShifterAndWeighter.LoadNueSystHists(), nova::dbi::RunHistory.LoadPixelInfo(), photrans::ImprovedTransport.LoadPosCorrHists(), LoadPrediction(), ana::CovMxManager.LoadSample(), photrans::PhotonTransport.LoadSmearingHisto(), ana::SAMQuerySource.LocateSAMFiles(), lutz(), main(), fnex::CAFContourMaker.Make2DContours(), make_1hitadc(), make_cm_pullterm_pdf(), make_cosmic_eff_table(), std_candles.DataMCPlots.Make_Default_Plot_Method(), make_ehade_histogram(), make_extrap_figure(), make_muonid_opt(), make_prediction_extrap(), make_prediction_noextrap(), make_quantile_cuts_predictions(), make_tstop(), make_vertex_optimiz(), MakeCovMx(), MakeFakeData(), om::PlotOptions.MakeLabelText(), MakePlots(), MakePPFXRatios(), makePred(), MakeProfileHadEFD(), MakeProfileHadEND(), MakeProfileMuEFD(), MakeProfileMuEND(), MakeSurface(), MakeSystRatios(), ana.MakeTextListFileHelper(), MakingProfile(), MakingProfileActCatcherND(), MakingProfileAllCatcherND(), MakingProfileHadCC(), MakingProfileHadCCND(), MakingProfileHadNonQE(), MakingProfileHadNonQEND(), MakingProfileHadQE(), MakingProfileHadQEND(), MakingProfileND(), g4n::PrintTables.Materials(), genie::COHKinematicsGenerator.MaxXSec_AlvarezRuso(), genie::utils::intranuke2018.MeanFreePath(), mlpPIDelecallEetot(), mlpPIDelecallEtot(), lem.MMapFileAtAddress(), calib::BetheBlochAnalytic.MPV(), ND_pred_MC_nue_signal(), ana::NDOscCurve.NDOscCurve(), ndrockmacro(), om::OnMonProd.NewRunNumber(), om::OnMonProd.NewSubrunNumber(), genie::QPMDISStrucFuncBase.NuclMod(), nue_background_decomposition(), nue_signal_extrapolation(), NuMu2020_TrimCAFs(), gibuu::OnDemandRecordList.OnDemandRecordList(), ana::FixGibuuWeight.operator()(), stan::lang::addition_expr3.operator()(), stan::lang::subtraction_expr3.operator()(), stan::lang::binary_op_expr.operator()(), stan::lang::exponentiation_expr.operator()(), stan::lang::multiplication_expr.operator()(), stan::lang::division_expr.operator()(), stan::lang::modulus_expr.operator()(), stan::lang::left_division_expr.operator()(), stan::lang::elt_multiplication_expr.operator()(), stan::lang::elt_division_expr.operator()(), stan::lang::negate_expr.operator()(), stan::lang::logical_negate_expr.operator()(), stan::lang::transpose_expr.operator()(), fnex::SpillSummary.operator*=(), cmf::SpillSummary.operator*=(), mf::MaybeLogger_< SEV, VERBATIM >.operator<<(), evdb::ParameterSetEditDialog.ParameterSetEditDialog(), stan::math.partial_derivative(), stan::math.Phi_approx(), pion_energy_estimator(), Plot.Plot(), plot_abstree(), plot_assess(), plot_assess_nd(), plot_assess_pretty(), plot_assess_pretty_nd(), plot_beam_peak(), plot_cosmic_eff(), plot_DataMCComp_numu(), plot_input_data(), plot_outliers(), plot_pi0_xcheck(), plot_recoE_numu(), plot_thresholds(), plot_timing_resolution(), plot_uncertainty(), plot_validation(), PlotSpectra(), novaddt::WaveformProcessor.postBeginRun(), ana::PredictionExtrapSum.PredictionExtrapSum(), genie::utils::print.PrintFramedMesg(), evdb::PrintDialog.PrintToFile(), CalibAnaPlot.ProcessTrees(), murem::MergeTruth.produce(), stan::io::program_reader.read(), read_file(), fnex::ReadCAFMakeEventList.ReadCAFTree(), readExfor(), fnex::CompareFNEXCAFEventListFiles.ReadFNEXTree_FillEventListMap(), genie::supernova::GSNovaModel.ReadModel(), readMyTextFile(), cheat::BackTracker.Rebuild(), art::TFileService.registerFileSwitchCallback(), resolutionplotterbias(), art::detail.resolve_if_present(), locator::RndmLocatorTable.RndmLocatorTable(), run_evgen_test(), genie::Spline.SaveAsROOT(), SaveDataToRootFile(), TMVAEIDTraining.saveDiagnosticHists(), fnex::SpectrumTest.SavePlots(), fnex::SystematicsWeightTest.SavePlots(), savePrediction_addExpt(), savePrediction_complete(), savePrediction_extrap(), savePrediction_simple(), savePrediction_systs(), SaveToRootFile(), nueccinc_test::NueCCIncGlobalFitter.searchFitInfo(), genie::KNOPythiaHadronization.SelectHadronizer(), nova::dbi::RunHistory.SetAnalysisDiBlockMasking(), earms::Minimizer.SetAnnealFrac(), nutools::dbi::ColumnDef.SetCanBeNull(), nova::dbi::ColumnDef.SetCanBeNull(), calib::DriftCache.SetCSVFile(), rawfileparser::RawFileParser.setDebug(), ana::FileReducer.SetEventList(), nutools::dbi::Table.SetFolder(), nova::dbi::RunHistory.SetGetDiBlockMaskFromCondb(), ana::SpectrumHandler.SetHistAxes(), nova::dbi::RunHistory.SetIfAnyMasking(), nova::dbi::RunHistory.SetIfCustomMasking(), nova::database::Table.SetIgnoreEnvVar(), nova::dbi::Table.SetIgnoreEnvVar(), nutools::dbi::Table.SetIgnoreEnvVar(), genie::geometry::ROOTGeomAnalyzer.SetScannerFlux(), nutools::dbi::Table.SetTimeParsing(), nova::dbi::Table.SetTimeParsing(), nova::dbi::RunHistory.SetTimeParsing(), nutools::dbi::Table.SetTimeQueries(), nova::dbi::Table.SetTimeQueries(), nova::dbi::RunHistory.SetTimeQueries(), nova::dbi::Table.SetUseQueryEngine(), sha1_forRMS_file(), ana::PredictionInterp.ShiftBins(), show_event(), evd::GeometryDrawer.ShowCellAndPlaneNumbers(), cet::SimultaneousFunctionSpawner.SimultaneousFunctionSpawner(), sk_sample_norm_abs(), solve(), Plotter.SplitMCPlotName(), g4n::FLSHitListAction.supressFLSHitList(), susieFunc(), ana.TAHadEND(), ana.TAKEPol6_biasHM(), TEST(), ana.test_best_spline(), ana.test_best_spline_find_mode(), ana.test_best_spline_mode_graph(), test_xsecanalysis(), TestMatrix(), TestPred(), trim(), om::PlotViewer.Update(), ana::FileReducer.UpdateMetadata(), fhicl.use_if(), fhicl.use_unless(), hough::HoughT.WriteHoughHistos(), hough::MultiHoughT.WriteHoughHistos(), Plotter.WritePlotToHistFile(), zheevq3(), zhetrd3(), genie::flux::GDk2NuFluxXMLHelper.~GDk2NuFluxXMLHelper(), and novaddt::HoughPoint.~HoughPoint().

string MakeMiniprodValidationCuts.hash_text = ""

Definition at line 31 of file MakeMiniprodValidationCuts.py.

tuple MakeMiniprodValidationCuts.numbers = (l.lstrip("0") if l != len(l) * "0" else "0" for l in line.split())

Definition at line 34 of file MakeMiniprodValidationCuts.py.

string MakeMiniprodValidationCuts.OUTFILE = "Miniprod5ValidationCuts.cxx"

Definition at line 5 of file MakeMiniprodValidationCuts.py.

bool MakeMiniprodValidationCuts.replacing = False

Definition at line 47 of file MakeMiniprodValidationCuts.py.

tuple MakeMiniprodValidationCuts.sels = ("unselected", "presel", "CVNeLow", "CVNeHigh")
dictionary MakeMiniprodValidationCuts.subst = { "prod4_sel": prod4_sel, "prod5_sel": prod5_sel, "horn": horn_current.upper(), "hash_list": hash_text}

Definition at line 37 of file MakeMiniprodValidationCuts.py.

list MakeMiniprodValidationCuts.text = []