Functions | Variables
plot_timing_data Namespace Reference

Functions

def time_format (hrs)
 
def join_with_spaces (vec)
 

Variables

list gs = []
 
dictionary times = {}
 
 fname = 'plots/'
 
 time
 
string det = ''
 
string datamc = ''
 
string horn = ''
 
string swap = ''
 
string version = ''
 
string release = ''
 
string mrcc = ''
 
string special = ''
 
 title = join_with_spaces([det, horn, swap, special, mrcc, release, datamc])
 
int total_time = 0
 
 c = gs[-1]
 
 h = gs[-1]
 
 mean = h.GetMean()
 
 lat = gs[-1]
 
 local
 

Function Documentation

def plot_timing_data.join_with_spaces (   vec)

Definition at line 19 of file plot_timing_data.py.

References open().

20  if len(vec) == 0: return ''
21  if len(vec) == 1: return vec[0]
22  if vec[0] == '': return join_with_spaces(vec[1:])
23  return vec[0]+' '+join_with_spaces(vec[1:])
24 
25 
def join_with_spaces(vec)
def plot_timing_data.time_format (   hrs)

Definition at line 14 of file plot_timing_data.py.

References makeTrainCVSamples.int, and submit_syst.str.

14 def time_format(hrs):
15  if hrs < 1: return str(int(hrs*60+.5))+'m'
16  return str(int(hrs))+'h'+str(int(hrs*60+.5)%60)+'m'
17 
18 # Skips blank entries without superfluous spaces

Variable Documentation

plot_timing_data.c = gs[-1]

Definition at line 103 of file plot_timing_data.py.

plot_timing_data.datamc = ''

Definition at line 39 of file plot_timing_data.py.

plot_timing_data.det = ''

Definition at line 34 of file plot_timing_data.py.

string plot_timing_data.fname = 'plots/'

Definition at line 28 of file plot_timing_data.py.

list plot_timing_data.gs = []

Definition at line 9 of file plot_timing_data.py.

plot_timing_data.h = gs[-1]

Definition at line 106 of file plot_timing_data.py.

plot_timing_data.horn = ''
plot_timing_data.lat = gs[-1]

Definition at line 125 of file plot_timing_data.py.

plot_timing_data.local

Definition at line 147 of file plot_timing_data.py.

plot_timing_data.mean = h.GetMean()

Definition at line 113 of file plot_timing_data.py.

plot_timing_data.mrcc = ''

Definition at line 77 of file plot_timing_data.py.

Referenced by murem::MRCCAna.analyze(), and pi0_xcheck().

plot_timing_data.release = ''

Definition at line 70 of file plot_timing_data.py.

plot_timing_data.special = ''
plot_timing_data.swap = ''

Definition at line 51 of file plot_timing_data.py.

Referenced by genie::geometry::ROOTGeomAnalyzer.AdoptGeomVolSelector(), comi::CosmicMetrics.analyze(), align::AlignInspect.analyze(), align::Alignment.analyze(), align::SplitTracks.analyze(), novaddt::UpMuAna.analyze(), moonshadowana::MoonShadowAna.analyze(), moonshadowana::MoonShadowAnaHough.analyze(), upmuana::UpMuAnalysis.analyze(), trk::RLFit.AssumeDownGoing(), trk::RLFit.AssumeNorthGoing(), trk::KalmanTrackMerge.CalcMatchScore(), CalcRWithSysts(), CalcRWithSystsNus17(), art::SummedValue< T >.clear(), geo::GeometryBase.CountCellsOnLineFast(), trk::KalmanGeoHelper.CountMissedCellsOnLine(), trk::WindowTrackingAlg.DetermineInitialDirection(), calib::StopperThreshold.FillHist(), calib::StopperThreshold.FillTree(), nuesand::FillNueSandbox.FillTruthVars(), novaddt::MoonShadow.filter(), novaddt::UpMuTrigger.filter(), dq::FlasherFinder.Filter(), trk::KalmanTrack.FilterTracker(), trk::RLFit.Fit(), trk::CosmicTrackAlg.FitView(), generate_fd_fake_events(), ana::Loaders.GetND(), ana::Hist.Hist(), dt::Chunk.HitsOnLine(), MakeCov(), MakePPFXRatios(), MakeSystRatios(), trk::CosmicTrackAlg.MakeTrack(), fhicl::OptionalSequence< T, N >.operator()(), fhicl::OptionalTuple< T >.operator()(), fhicl::OptionalSequence< T,-1ull >.operator()(), ana::Hist.operator=(), permute(), ana.PlotMultiSyst(), PlotSyst(), ana.PlotSyst(), PlotSystErrorBand(), PlotSysts(), PlotWithSystErrorBand_mine(), ana.PlotWithSystErrorBandTwoPreds(), PlotWithSystErrorBandWidth(), PrintLoaderPaths(), slid::Recluster.produce(), lem::MakeLibrary.produce(), ReifyLoaders(), fhicl::detail::TableMemberRegistry.release_members(), evdb::ColorScale.Reverse(), run_joint_fit_2020_bestfit(), cmf::CovarianceBinUtility.SelectionHistBinning(), SetCalcParam(), trk::WindowTrackingAlg.SetTrackEndPoints(), dt::Chunk.SetUp(), simb::MCTrajectory.Sparsify(), art::Assns< L, R, D >.swap(), art::Assns< L, R, void >.swap_(), genie::geometry::ROOTGeomAnalyzer.SwimOnce(), calib::StopperThreshold.testPath(), ana::FluxMultiverseSyst.ToAreaNormalizedTH1(), ana::GenieMultiverseSpectra.ToAreaNormalizedTH1(), novaddt::DDTEvd.WriteTrackInfo(), moonshadowana::MoonShadowAna.WriteTrackInfo(), moonshadowana::MoonShadowAnaHough.WriteTrackInfo(), and rb::Track.ZipWith().

plot_timing_data.time

Definition at line 28 of file plot_timing_data.py.

dictionary plot_timing_data.times = {}
plot_timing_data.title = join_with_spaces([det, horn, swap, special, mrcc, release, datamc])

Definition at line 93 of file plot_timing_data.py.

int plot_timing_data.total_time = 0

Definition at line 97 of file plot_timing_data.py.

plot_timing_data.version = ''

Definition at line 58 of file plot_timing_data.py.