Functions | |
def | percentStr (x, y) |
def | bulkMark (samweb, files, flag) |
Variables | |
string | cuts = ' and data_tier raw and online.stream 0' |
det = sys.argv[1] | |
goodname = sys.argv[2] | |
badname = sys.argv[3] | |
fgood = open(goodname, 'r') | |
good = set() | |
fields = line.split('\t') | |
run = int(fields[0]) | |
subrun = int(fields[1]) | |
fbad = open(badname, 'r') | |
bad = set() | |
samweb = samweb_client.SAMWebClient(experiment='nova') | |
dbBad = samweb.listFiles('online.detector '+det+' and dq.isgoodrun false' + cuts) | |
list | toMarkGood = [] |
dbGood = samweb.listFiles('online.detector '+det+' and dq.isgoodrun true' + cuts) | |
list | toMarkBad = [] |
int | stride = 100 |
def update_sam_good_runs_metadata.bulkMark | ( | samweb, | |
files, | |||
flag | |||
) |
Definition at line 16 of file update_sam_good_runs_metadata.py.
def update_sam_good_runs_metadata.percentStr | ( | x, | |
y | |||
) |
Definition at line 13 of file update_sam_good_runs_metadata.py.
References makeTrainCVSamples.int, and submit_syst.str.
update_sam_good_runs_metadata.bad = set() |
Definition at line 64 of file update_sam_good_runs_metadata.py.
Referenced by chaninfo::BadChanValidate.BadChansFromDB(), and calib::FindOutliers.endRun().
update_sam_good_runs_metadata.badname = sys.argv[3] |
Definition at line 41 of file update_sam_good_runs_metadata.py.
string update_sam_good_runs_metadata.cuts = ' and data_tier raw and online.stream 0' |
Definition at line 10 of file update_sam_good_runs_metadata.py.
Referenced by NDPredictionHandler.AddVar(), addVars(), Ana2017_sb_opening_macro(), datamc(), DataMCLoad(), DataMCNDLoad_nus17(), DataVtxDistributionLoad(), DrawDataMC(), DrawIndependentSpectra(), DrawMCOnly(), efficiency(), efficiencySA(), ana.GetCuts(), getFlatWeightSpectra(), getPredictions(), hadEFrac_nd_data_mc_systs(), InitialiseFOMHists(), InitialiseHistograms(), LoopHistograms(), make_rockpred(), MakeCutFlowSpectra(), FormatFile.makeDataFile(), MakeEventList(), ana.MakeEventTTreeFile(), MakeMap(), MakeObservablesSpectra(), makePIDCutTuning(), ana.MakeTextListFile(), MakeTruthSpectra(), muonid_fhc_dist(), muonid_opt(), muonid_rhc_dist(), ND_DataMC_Comp_Systs(), NewNearlinePlots(), nuCrystalBall(), nue_pid_effs(), nue_pid_effs_miniprod(), nue_pid_effs_paper_numu_neweff(), plot_hits1(), plot_nuCrystalBall(), PredictionInfo.PredictionInfo(), PrintSelectedEvents(), FormatFile.process(), prod4_pid(), ana::SpectrumHandler.SetCuts(), specprod_numuccinc(), test_caf_validation_plots(), ana::TreeMaker.TreeMaker(), vertex_optimize(), wrong_sign_uncertainty(), FDPredictionHandler.~FDPredictionHandler(), and NDPredictionHandler.~NDPredictionHandler().
update_sam_good_runs_metadata.dbBad = samweb.listFiles('online.detector '+det+' and dq.isgoodrun false' + cuts) |
Definition at line 88 of file update_sam_good_runs_metadata.py.
update_sam_good_runs_metadata.dbGood = samweb.listFiles('online.detector '+det+' and dq.isgoodrun true' + cuts) |
Definition at line 115 of file update_sam_good_runs_metadata.py.
update_sam_good_runs_metadata.det = sys.argv[1] |
Definition at line 37 of file update_sam_good_runs_metadata.py.
Definition at line 62 of file update_sam_good_runs_metadata.py.
Definition at line 44 of file update_sam_good_runs_metadata.py.
update_sam_good_runs_metadata.fields = line.split('\t') |
Definition at line 49 of file update_sam_good_runs_metadata.py.
Referenced by genie::GVldContext.Decode(), evd::PlotView.Parse(), and Plotter.SplitMCPlotName().
update_sam_good_runs_metadata.good = set() |
Definition at line 46 of file update_sam_good_runs_metadata.py.
Referenced by calib::ADCShapeFitTable.ADCShapeFitTable(), chaninfo::BadChanList.Apply(), ana::SystMakerShift.CheckShifts(), efficiency(), comi::FEBFlash.FilterFEBFlash(), util.FilterFEBFlash(), chaninfo::BadChanList.LoadCosmicEff(), make_cosmic_eff_table(), novaddt::WaveformProcessor.postBeginRun(), FormatFile.process(), rootgINukeVal(), rb::CellHit.SetTNS(), and State.Write().
update_sam_good_runs_metadata.goodname = sys.argv[2] |
Definition at line 40 of file update_sam_good_runs_metadata.py.
Definition at line 52 of file update_sam_good_runs_metadata.py.
update_sam_good_runs_metadata.samweb = samweb_client.SAMWebClient(experiment='nova') |
Definition at line 85 of file update_sam_good_runs_metadata.py.
int update_sam_good_runs_metadata.stride = 100 |
Definition at line 141 of file update_sam_good_runs_metadata.py.
Referenced by check_file_success_rate(), ana::CovMxSurface.CovMxSurface(), rsim::ReadoutSim.DrawASICOutput(), ana::FileListSource.FileListSource(), ana::FrequentistSurface.FillSurface(), ana::PredictionInterp.FitRatios(), make_dst_cosrejbdttrain(), make_training_sample(), MakeMEUPerDiblock(), MakeMEUPerFEB(), MakeValidCalibPDF(), rb::Cluster.NMissingPlanes(), CalibAnaPlot.SetTreeLoopStride(), trimmubarid(), and trimvar().
Definition at line 53 of file update_sam_good_runs_metadata.py.
list update_sam_good_runs_metadata.toMarkBad = [] |
Definition at line 119 of file update_sam_good_runs_metadata.py.
list update_sam_good_runs_metadata.toMarkGood = [] |
Definition at line 92 of file update_sam_good_runs_metadata.py.