Functions | |
def | SetupAnalysisRegion (AnalysisRegions) |
def | AnalRegion (a, theta) |
def | FillAnal (a, region, time, resolution) |
def | tl (date) |
def | computeDayBoundaryMoon (AnalysisRegions, day, theta, resolution) |
Variables | |
f = TFile('semfe_tmp.root','RECREATE') | |
ntp_tr = TTree('ntp','My test tree') | |
s = MyStruct() | |
string | version = "1.0" |
string | usage = "usage: %prog [options]" |
parser = OptionParser(usage=usage,version=version) | |
dest | |
default | |
help | |
options | |
args | |
resolution = float(options.res) | |
utc = pytz.utc | |
central = timezone('US/Central') | |
moon = ephem.Moon() | |
sun = ephem.Sun() | |
nova = ephem.Observer() | |
lat | |
lon | |
int | minute = 60 |
int | second = 1 |
int | hour = 60 |
float | oneMinute = 1.0 |
float | oneSecond = 1.0 |
start_day = options.startdate | |
numdays = int(options.numdays) | |
dictionary | AnalysisRegionsSun = {} |
dictionary | AnalysisRegionsMoon = {} |
int | last_region = 999 |
int | theta = 10 |
day = ephem.Date(start_day) | |
Loop over the days we care about. More... | |
def moon_position_table_new3.AnalRegion | ( | a, | |
theta | |||
) |
Definition at line 104 of file moon_position_table_new3.py.
Referenced by computeDayBoundaryMoon().
def moon_position_table_new3.computeDayBoundaryMoon | ( | AnalysisRegions, | |
day, | |||
theta, | |||
resolution | |||
) |
Definition at line 149 of file moon_position_table_new3.py.
References AnalRegion(), FillAnal(), PandAna.Demos.demo1.range, and submit_syst.str.
def moon_position_table_new3.FillAnal | ( | a, | |
region, | |||
time, | |||
resolution | |||
) |
Definition at line 121 of file moon_position_table_new3.py.
Referenced by computeDayBoundaryMoon().
def moon_position_table_new3.SetupAnalysisRegion | ( | AnalysisRegions | ) |
Definition at line 80 of file moon_position_table_new3.py.
def moon_position_table_new3.tl | ( | date | ) |
Definition at line 146 of file moon_position_table_new3.py.
Referenced by genie::SKKinematicsGenerator.CalculateKin_AtharSingleKaon(), genie::DFRKinematicsGenerator.ComputeMaxXSec(), genie::SKKinematicsGenerator.ComputeMaxXSec(), DrawDet(), om::GUIMain.GUIMain(), genie::COHXSec.Integrate(), genie::DFRXSec.Integrate(), genie::KPhaseSpace.IsAllowed(), art::SourceHelper.makePtr(), ana.Nue2017FourBinDivisions(), ana.Nue2018ThreeBinDivisions(), Nue2018ThreeBinDivisions_Reduced(), ana.Nue2018ThreeBinDivisions_Reduced(), genie::DFRKinematicsGenerator.ProcessEventRecord(), and genie::KPhaseSpace.TLim().
dictionary moon_position_table_new3.AnalysisRegionsMoon = {} |
Definition at line 94 of file moon_position_table_new3.py.
dictionary moon_position_table_new3.AnalysisRegionsSun = {} |
Definition at line 93 of file moon_position_table_new3.py.
moon_position_table_new3.args |
Definition at line 46 of file moon_position_table_new3.py.
moon_position_table_new3.central = timezone('US/Central') |
Definition at line 52 of file moon_position_table_new3.py.
moon_position_table_new3.day = ephem.Date(start_day) |
Loop over the days we care about.
Compute the positions
Definition at line 233 of file moon_position_table_new3.py.
moon_position_table_new3.default |
Definition at line 39 of file moon_position_table_new3.py.
moon_position_table_new3.dest |
Definition at line 39 of file moon_position_table_new3.py.
moon_position_table_new3.f = TFile('semfe_tmp.root','RECREATE') |
Definition at line 14 of file moon_position_table_new3.py.
moon_position_table_new3.help |
Definition at line 40 of file moon_position_table_new3.py.
int moon_position_table_new3.hour = 60 |
Definition at line 71 of file moon_position_table_new3.py.
int moon_position_table_new3.last_region = 999 |
Definition at line 100 of file moon_position_table_new3.py.
moon_position_table_new3.lat |
Definition at line 65 of file moon_position_table_new3.py.
moon_position_table_new3.lon |
Definition at line 66 of file moon_position_table_new3.py.
int moon_position_table_new3.minute = 60 |
Definition at line 69 of file moon_position_table_new3.py.
moon_position_table_new3.moon = ephem.Moon() |
Definition at line 56 of file moon_position_table_new3.py.
moon_position_table_new3.nova = ephem.Observer() |
Definition at line 58 of file moon_position_table_new3.py.
moon_position_table_new3.ntp_tr = TTree('ntp','My test tree') |
Definition at line 15 of file moon_position_table_new3.py.
moon_position_table_new3.numdays = int(options.numdays) |
Definition at line 78 of file moon_position_table_new3.py.
float moon_position_table_new3.oneMinute = 1.0 |
Definition at line 72 of file moon_position_table_new3.py.
float moon_position_table_new3.oneSecond = 1.0 |
Definition at line 73 of file moon_position_table_new3.py.
moon_position_table_new3.options |
Definition at line 46 of file moon_position_table_new3.py.
Definition at line 37 of file moon_position_table_new3.py.
moon_position_table_new3.resolution = float(options.res) |
Definition at line 48 of file moon_position_table_new3.py.
moon_position_table_new3.s = MyStruct() |
Definition at line 29 of file moon_position_table_new3.py.
int moon_position_table_new3.second = 1 |
Definition at line 70 of file moon_position_table_new3.py.
Referenced by NdmcClient._adoptMetric(), NdmcClient._getMetric(), NdmcClient._updateGroupName(), AddExptCorrNumu(), fuzz::FuzzyKVertex.AddProng(), novaddt::DAQHeaderAna.analyze(), air::CosmicTrackRate.analyze(), comi::Leana.analyze(), bpf::BPFCVNAna.analyze(), upmuana::UpMuRecoAna.analyze(), upmuana::UpMuAnalysis.analyze(), genie::Registry.Append(), cmf::RandomUniverses.beginJob(), mcchk::DetSimAna.beginJob(), runh::BadDataFilter.beginSubRun(), CAF_makeCAFSensitivities_for_FNEX(), caf::Proxy< caf::SRHeader >.CheckEquals(), checkSwap(), cheat::CheckBackTracking.CheckTrackIdToParticle(), fuzz::FuzzyKMeanAlg.CheckUnique(), flat::Flat< caf::SRHeader >.Clear(), genie::Registry.CloneRegistryItem(), demoFitContours(), demoFitSlices(), NdmcClient.destroyMetrics(), stan::json::json_data.dims_i(), stan::io::array_var_context.dims_i(), stan::io::dump.dims_i(), stan::json::json_data.dims_r(), stan::io::array_var_context.dims_r(), stan::io::dump.dims_r(), stan::lang::function_signatures.discrete_first_arg(), ana::NumuCCIncPionTemplateFitter.doFullFit(), ana::nueccinc::NueCCIncTemplateFitter.doFullFit(), draw_track_in_one_view(), ana::SystMaker.DrawBkg(), DrawSurfacePoint(), comi::NearlineAna.endJob(), gov::fnal::cd::rms::provider.equal(), expect_eq_traces(), flat::Flat< caf::SRHeader >.Fill(), runh::BadDataFilter.filter(), util.find_median(), cmf::ContourFromLibrary.FindChiSqrForPoint(), genie::Algorithm.FindConfig(), fuzz::FuzzyKMeanAlg.FindUnclustered(), FourBinLabels(), stan::lang::function_signatures.get_result_type(), genie::Algorithm.GetConfig(), getEffDiffErrPc(), ana::NumuCCIncPionTemplateFitter.getFitNormalizationAndErrors(), ana::nueccinc::NueCCIncTemplateFitter.getFitNormalizationAndErrors(), getFlatWeightedFittingSpectra(), ndreco::NDRecoFxs.getProngProximity(), getResolutionSpectra(), ndreco::NDRecoFxs.getTrackProximity(), cheat::BackTracker.HitsToParticle(), cmf::Location.InsertParameter(), joint_fit_2017_contours(), joint_fit_2017_make_fc_slice(), joint_fit_2017_make_fc_surf(), joint_fit_2017_slices(), joint_fit_2018_contours(), joint_fit_2018_slices(), jointsensitivity(), lastUpdated(), Legend(), make_fc_mass_and_oct_nersc_2018(), make_fc_mass_and_oct_nersc_2019(), make_fc_mh_nersc_2018(), make_fc_mh_nersc_2019(), make_fc_oct_nersc_2018(), make_fc_oct_nersc_2019(), make_fc_slices_nersc_2018(), make_fc_slices_nersc_2018_stats(), make_fc_slices_nersc_2019(), make_fc_surfaces_nersc_2018(), make_fc_surfaces_nersc_2018_stats(), make_fc_surfaces_nersc_2019(), make_mass_and_oct_fc_input_2019(), MakeCAFSensitivities_for_FNEX(), dt::View.MakeChunkCombos(), MakeFakeExperiment(), evtsum::EventSummary.MakeOutput(), trk::WindowTrackingAlg.MakeViewTrack(), genie::supernova::Limits< double >.Max(), genie::Registry.Merge(), comi::Leana.MuonCandidate(), myBarChart(), stan::lang::program_error.operator()(), caf::Proxy< caf::SRHeader >.operator=(), ana.PDG_cvnmax(), plot_ratios(), ana::PredictionScaleComp.PredictionScaleComp(), ana::SystMaker.ProcessSyst(), cvnneutronprongtf::CVNNeutronProngTF.produce(), cvnprongtf::CVNProngTF.produce(), comi::Cana.produce(), slid::LIDBuilder.produce(), cvntf::CVNProngEvaluatorTF.produce(), slid::SPIDBuilder.produce(), cheat::MCCheater.produce(), ana::BayesianMarginal.QuantileThreshold(), filter::Filter.reconfigure(), dbutils::daqconfig::GeneralDataReader.remapValues(), calib::DriftCorrection.respondToCloseOutputFiles(), stan::lang.rethrow_located(), ana::PredictionCombinePeriods.SaveTo(), fuzz::FuzzyKMeanAlg.SeedA(), sensitivity2018(), sensitivity2020(), genie::supernova::Limits< double >.Set(), specprod_numuccinc(), SumSysts(), syst_table_fit(), syst_table_fit_new(), systematics_extrap_comp_from_pred_interp(), systematics_summary_from_pred_interp(), evd::HeaderDrawer.Text(), util.TimeSlice(), timing_peak(), ana::TreeMaker.TreeMaker(), genie::supernova::Limits< double >.UpdateMax(), ana::Nus17SystFromHist.WeightFor(), ana::NusSystFromHist.WeightFor(), ana::Nus18SystFromHist.WeightFor(), xsec_tot_uncert_optimization(), xsec_uncertainty_per_bin(), and NdmcClient.~NdmcClient().
moon_position_table_new3.start_day = options.startdate |
Definition at line 77 of file moon_position_table_new3.py.
moon_position_table_new3.sun = ephem.Sun() |
Definition at line 57 of file moon_position_table_new3.py.
int moon_position_table_new3.theta = 10 |
Definition at line 102 of file moon_position_table_new3.py.
Definition at line 36 of file moon_position_table_new3.py.
moon_position_table_new3.utc = pytz.utc |
Definition at line 51 of file moon_position_table_new3.py.
string moon_position_table_new3.version = "1.0" |
Definition at line 35 of file moon_position_table_new3.py.