Variables
febshutoff_auto Namespace Reference

Variables

 run = sys.argv[1]
 
string softrel = 'S13-02-16'
 
string datapath = '/scratch/nearline/NDOS/'
 
list dcfiles = [f for f in sorted(os.listdir(datapath)) if (f.startswith('reco_') and f.endswith('_hist.root'))]
 
 dbpswfile = os.environ.get('NOVADBPWDFILE')
 
string dbpsw = ''
 
 pfile = open(dbpswfile,'r')
 
string query = 'SELECT MIN(firstnonemptyeventtime), MAX(lastnonemptyeventtime) FROM ndos.nearline_metrics'
 
 db = TSQLServer.Connect("pgsql://ifdbprod.fnal.gov:5433/nova_prod", "nova_reader", dbpsw)
 
 stmt = db.Statement(query,1000)
 
 start = stmt.GetString(0)
 
 end = stmt.GetString(1)
 
list dcm = []
 
string errors = ''
 
 rootfile = TFile(datapath+file,'READ')
 
list hists = []
 
 integral = hist.Integral(1,hist.GetNbinsX(),feb,feb)
 
 day = timedelta(days=1)
 
 hour = timedelta(hours=1)
 
 minute = timedelta(minutes=1)
 
 startdt = datetime.strptime(start,"%Y-%m-%d %H:%M:%S")
 
 dstoff = datetime(startdt.year,11,1,1,30,0)
 
 dston = datetime(startdt.year,3,8,3,0,0)
 
int hoffset = 5
 
tuple startutc = (startdt+hoffset).strftime("%Y-%m-%d %H:%M:%S")
 
tuple partutc = (startdt+6*minute+hoffset).strftime("%Y-%m-%d %H:%M:%S")
 
tuple endutc = (datetime.strptime(end,"%Y-%m-%d %H:%M:%S")+hoffset).strftime("%Y-%m-%d %H:%M:%S")
 
 hdb = TSQLServer.Connect("pgsql://ifdbprod.fnal.gov/nova_hardware", "nova_reader", dbpsw)
 
string query1 = "select hw_id, coating, dcm_name, dcm_port "
 
 hstmt = hdb.Statement(query1,1000)
 
list id = []
 
list coat = []
 
list hdcm = []
 
list hfeb = []
 
list apd = []
 
string query2 = 'SELECT channel_name, value FROM ndos.dcs_report'
 
 stmt2 = db.Statement(query2,1000)
 
list cooled = []
 
list port = []
 
list cdcm = []
 
list capd = []
 
 chan = stmt2.GetString(0)[:-10]
 
 val = stmt2.GetInt(1)
 
list prevstat = []
 
list dcmlist = ['1-1','1-2','1-3','2-1','2-2','2-3','3-1','3-2','3-3','4-1','4-2']
 
 outfile = open('/home/nearline/jancode/results/'+run+'febshutoff_auto.txt','w')
 
int changes = 0
 
int afebs = 0
 
 prev = prevstat[j][k]
 
 curr = dcm[i][j][k]
 
 coating = coat[apd.index(dcmlist[j]+':'+str(k))]
 
 coolstat = cooled[capd.index(dcmlist[j]+':'+str(k))]
 

Variable Documentation

int febshutoff_auto.afebs = 0

Definition at line 318 of file febshutoff_auto.py.

list febshutoff_auto.apd = []
list febshutoff_auto.capd = []

Definition at line 243 of file febshutoff_auto.py.

list febshutoff_auto.cdcm = []

Definition at line 242 of file febshutoff_auto.py.

febshutoff_auto.chan = stmt2.GetString(0)[:-10]

Definition at line 246 of file febshutoff_auto.py.

Referenced by rb::HitMap.Add(), dprf::ChannelPlots.analyze(), dprf::TrackPlots.analyze(), novaddt::UpMuAna.analyze(), comi::NearlineAna.analyze(), dprf::ChannelPlots.beginRun(), fnex::ShifterAndWeighter.CalcNueSystWeights(), cheat::BackTracker.ClusterToParticle(), nova::dbi::RunHistory.Coincidence(), calib::AttenFit.ConsolidateViews(), calib::AttenuationFit.ConsolidateViews(), DCMOffsetCalculator(), daqchannelmap::DAQChannelMap.encodeDChan(), daqchannelmap::DAQChannelMapOLD.encodeDChan(), daqchannelmap::DAQChannelMap.encodeLChan(), daqchannelmap::DAQChannelMapOLD.encodeLChan(), calib::DCMTimingOffset.endJob(), calib::FindOutliers.endRun(), nutools::dbi::Table.FillChanRowMap(), nova::dbi::Table.FillChanRowMap(), dprf::ChannelPlots.FillFebRawPlots(), daqchannelmap::DAQChannelMap.getCell(), rawp::CheckDAQChannelMap.getChannel(), rawp::FillRawDigits.getChannel(), nutools::dbi::Table.GetDataFromWebService(), nova::dbi::Table.GetDataFromWebService(), calib::DriftCache.GetFactor(), daqchannelmap::DAQChannelMap.getPlane(), cheat::BackTracker.HitToParticlesMap(), hyperon_macro(), hyperon_plot(), nova::dbi::RunHistory.IsBad(), chaninfo::BadChanList.IsBadUncached(), chaninfo::BadChanList.IsLowEfficiency(), chaninfo::BadChanList.LoadCosmicEff(), calib::AttenCache.LoadFromDatabase(), calib::AttenCache.LoadFromDatabaseUncalibratedMask(), chaninfo::BadChanList.LoadNewData(), nova::dbi::RunHistory.LoadPedestals(), make_cosmic_eff_table(), cvn::PixelMap.NInput(), NominalRat(), nova::dbi::RunHistory.Occupancy(), geo::OfflineChan.OfflineChan(), novaddt::UpMuAna.populateFLSmap(), nova::dbi::RunHistory.PrintChanInfo(), calib::PCHitsList.ProcessTrackForBelowThresholdHits(), calib::PCHitsList.ProcessTrackForFLSHits(), caf::CAFMaker.produce(), lem::GenFromLib.readNext(), cheat::BackTracker.Rebuild(), SaveMaps(), SetBinsOnOffShift(), SetBinsPlusMinusOne(), nova::dbi::RunHistory.SetChanInfo(), nova::dbi::RunHistory.SetIsBad(), nutools::dbi::Table.SetMaxChannel(), nova::dbi::Table.SetMaxChannel(), nutools::dbi::Table.SetMinChannel(), nova::dbi::Table.SetMinChannel(), chaninfo::BadChanList.SetRandomBadChannels(), ana::NumuSyst.Shift(), ana::NCSyst.Shift(), ana::NueSyst.Shift(), ana::Nus17SystFromHist.Shift(), ana::NusSystFromHist.Shift(), ana::Nus18SystFromHist.Shift(), calib::AttenCache.TranslateChannelData(), dt::View.View(), ana::Nus17SystFromHist.WeightFor(), ana::NusSystFromHist.WeightFor(), ana::Nus18SystFromHist.WeightFor(), calib::AttenFit.WriteDummyCSVRow(), and calib::AttenuationFit.WriteDummyCSVRow().

int febshutoff_auto.changes = 0

Definition at line 314 of file febshutoff_auto.py.

list febshutoff_auto.coat = []

Definition at line 157 of file febshutoff_auto.py.

febshutoff_auto.coating = coat[apd.index(dcmlist[j]+':'+str(k))]

Definition at line 332 of file febshutoff_auto.py.

list febshutoff_auto.cooled = []

Definition at line 240 of file febshutoff_auto.py.

febshutoff_auto.coolstat = cooled[capd.index(dcmlist[j]+':'+str(k))]

Definition at line 333 of file febshutoff_auto.py.

febshutoff_auto.curr = dcm[i][j][k]
string febshutoff_auto.datapath = '/scratch/nearline/NDOS/'

Definition at line 16 of file febshutoff_auto.py.

Referenced by evgb::CRYHelper.CRYHelper().

febshutoff_auto.day = timedelta(days=1)
febshutoff_auto.db = TSQLServer.Connect("pgsql://ifdbprod.fnal.gov:5433/nova_prod", "nova_reader", dbpsw)
febshutoff_auto.dbpsw = ''

Definition at line 32 of file febshutoff_auto.py.

febshutoff_auto.dbpswfile = os.environ.get('NOVADBPWDFILE')

Definition at line 31 of file febshutoff_auto.py.

list febshutoff_auto.dcfiles = [f for f in sorted(os.listdir(datapath)) if (f.startswith('reco_') and f.endswith('_hist.root'))]

Definition at line 20 of file febshutoff_auto.py.

list febshutoff_auto.dcm = []

Definition at line 63 of file febshutoff_auto.py.

Referenced by cmap::dataprov::CMap.AddException(), comi::DataCheck.analyze(), tbana::DetectorRateShutOff.analyze(), comi::FEBFlash.analyze(), AnaPlotMaker(), chaninfo::FindSwappedChannels.beginSubRun(), BuildMetricsTree_OnMon(), calib::PCHitsList.CellHitToPCHit(), airshower::AirSlicer.CountActiveDCM(), chaninfo::BadChanList.CountDCMHits(), DCMOffsetCalculator(), om::PlotClickHandler.DCMutcInfo(), novaddt::ContainedSlice.defineContainmentRegion(), nova::dbi::RunHistory::DiBlock.DiBlock(), diffapdhv(), evd::GeometryDrawer.DrawBadBoxesPretty(), nova::dbi::RunHistory.Dump(), daqchannelmap::NearDetDAQChannelMap.encodeDChan(), daqchannelmap::TestBeamDAQChannelMap.encodeDChan(), daqchannelmap::FarDetDAQChannelMap.encodeDChan(), daqchannelmap::NearDetDAQChannelMap.encodeLChan(), daqchannelmap::TestBeamDAQChannelMap.encodeLChan(), daqchannelmap::FarDetDAQChannelMap.encodeLChan(), calib::DCMTimingOffset.endJob(), febrates(), febshutoff(), om::PlotClickHandler.FEButcInfo(), chaninfo::FindSwappedChannels.fill_hist_and_tree(), dqsf::DQSpillFlags.FillCountVars(), mcdatadaq::DAQSimulator.fillMicroSlices(), DataCheck::HardwareStatusCheck.filter(), calib::TimingCalFilter.filter(), calib::DriftResponseCalc.GetChanID(), cmap::dataprov::CMap.getDCM(), evd::GeometryDrawer.GetDCMBoxes(), daqchannelmap::DAQChannelMapOLD.getDCMLink(), calib::Calibrator.getFebType(), GetHist(), rawp::CheckDAQChannelMap.getLimits(), mcdatadaq::DAQSimulator.getNanoSliceOrder(), calib::TimingCache.GetOffset(), nova::dbi::RunHistory.GetPedestal(), geo::LiveGeometry.GetRHInfo(), calib::TimingCache.GetSigma(), GetY(), nova::dbi::RunHistory.HasAPD(), om::PlotClickHandler.HwDCMHistogramInfo(), om::PlotClickHandler.HwDetDoubleClick(), om::PlotClickHandler.HwDetHistogramInfo(), om::PlotClickHandler.HwPCHistogramInfoX(), om::PlotClickHandler.HwPCHistogramInfoY(), chaninfo::BadChanList.IsBadUncached(), nova::dbi::RunHistory.IsCooled(), nova::dbi::RunHistory.LoadAPDSettings(), nova::dbi::RunHistory.LoadFEBMasks(), nova::dbi::RunHistory.LoadFEBMasksFromDAQDB(), nova::dbi::RunHistory.LoadHardwareInfo(), chaninfo::BadChanList.LoadNewData(), nova::dbi::RunHistory.LoadPedestals(), nova::dbi::RunHistory.LoadPixelInfo(), nova::dbi::RunHistory.LoadPixelMasks(), nova::dbi::RunHistory.NLiveDCMs(), plotapdhv(), mcdatadaq::NanoSliceOrder.print(), mcdatadaq::DAQSimulator.print(), daq2raw::OnlineUnpack.ProcessRawEvent_(), MergeTBDaqCollections::MergeTBDaqCollections.produce(), evd::RawDataDrawer.RawDigitHardware(), calib::TimingCache.ReadEpochsFromCSV(), om::IPC.RequestAddToWatchList(), om::IPC.RequestRemoveFromWatchList(), calib::DriftCorrection.respondToCloseOutputFiles(), DAQChannelMapTests.testBasicChannelGetOnline(), DAQChannelMapTests.testViewLookups(), rawp::CheckDAQChannelMap.Update(), and om::WatchListBox.UpdateCurrentList().

list febshutoff_auto.dcmlist = ['1-1','1-2','1-3','2-1','2-2','2-3','3-1','3-2','3-3','4-1','4-2']
febshutoff_auto.dstoff = datetime(startdt.year,11,1,1,30,0)

Definition at line 123 of file febshutoff_auto.py.

febshutoff_auto.dston = datetime(startdt.year,3,8,3,0,0)

Definition at line 127 of file febshutoff_auto.py.

febshutoff_auto.end = stmt.GetString(1)

Definition at line 54 of file febshutoff_auto.py.

Referenced by stan::io::array_var_context.add_i(), stan::io::array_var_context.add_r(), bpfit::Path.AdjustEndPoint(), bpfit::Path.AdjustStartPoint(), comi::CosmicMetrics.analyze(), align::AlignInspect.analyze(), slicer::S4DParamCalc.analyze(), align::Alignment.analyze(), trk::KalmanTrackAna.analyze(), novaddt::UpMuAna.analyze(), comi::NearlineAna.analyze(), moonshadowana::MoonShadowAna.analyze(), moonshadowana::MoonShadowAnaHough.analyze(), upmuana::UpMuRecoAna.analyze(), upmuana::UpMuAnalysis.analyze(), htk::HoughTrack.analyze(), DataFile.analyzeTextFile(), genie::PathLengthList.AreAllZero(), calib::DriftCorrection.beginRun(), BestFit(), cet::registry_via_id< K, V >.cend(), dt::DiscreteTracker.CheckAndFixSparseChain(), cheat::RecoCheckAna.CheckRecoClusters(), trk::KalmanTrackAna.CheckRecoTracks(), trk::WindowTrackingAlg.CheckTrackDirectionInY(), gov::fnal::cd::rms::provider::ProcessSignalHandler.closeDDSConnections(), color(), fhicl::detail.concatenate_keys(), cet.copy_all(), cet.copy_if_all(), gov::fnal::cd::rms::provider::ProcessSignalHandler.customSignalHandler(), novaddt::ContainedSlice.defineContainmentRegion(), trk::WindowTrackingAlg.DetermineInitialDirection(), testbeam::BeamlineEventDisplay.DrawNOvATracks(), lem::SortedMatchList.emplace(), shims::map< Key, T, Compare, Allocator >.end(), dprf::TrackPlots.endJob(), calib::DriftResponseCalc.endRun(), genie::PDGCodeList.ExistsInPDGCodeList(), novaddt::DBSlicer.expandSlice(), dt::Chain.ExtremalSeg(), fd_plot(), novaddt::Merge2DTracks.fillDummyTracks(), dprf::ChannelPlots.FillEventPlots(), BrightnessModelPlots.FillHitPlots(), MEUPerCell.FillHitPlots(), MEUPerFEB.FillHitPlots(), ValidCalibPDF.FillHitPlots(), novaddt::MoonShadow.filter(), EliminateBeamSpills.filter(), novaddt::UpMuTrigger.filter(), novaddt::ContainedSlice.filterForContainedHitLists(), cet::map_vector< Value >.find(), cet.find_in_all(), cvn::RegPixelMapProducer.FindCenterMedian(), cvn::PixelMapProducer.FindCenterMedian(), genie::InteractionGeneratorMap.FindGenerator(), novaddt::MichelEfinder.findmichelexclusion(), genie::XSecAlgorithmMap.FindXSecAlgorithm(), dprf::TrackPlots.FinishEventGroup(), trk::WindowTrackingAlg.FitWindow(), stan::services::sample.fixed_param(), for(), cet.for_all(), stan::lang.generate_type(), genie::flux::GJPARCNuFlux.GenerateNext(), genie::flux::GDk2NuFlux.GenerateNext(), genie::flux::GSimpleNtpFlux.GenerateNext(), genie::flux::GNuMIFlux.GenerateNext(), genie_syst_pca(), ana::LoadFromRegistry< BaseClass >.Get(), cet::registry_via_id< K, V >.get(), ana::covmx::CovarianceMatrix.GetBinnings(), ana::covmx.GetComponents(), GetConfig(), genie::Algorithm.GetConfig(), ana::Prod4DQFailCheckBase.GetCutResult(), cosrej::CosRejFxs.getCVVars(), nuesand::FillNueSandbox.GetMincell(), ana::covmx::CovarianceMatrix.GetNBins(), ana::covmx::CovarianceMatrix.GetNComponents(), Helper.getNiceCutLabel(), GetOptionValue(), dt::View.GetPlanes(), stan::math.grad(), stan::io::program_reader.include_path(), skim::EvaluatorNue.Initialize(), skim::EvaluatorNumu.Initialize(), cet::map_vector< Value >.insert(), bpfit::Path.Integrate(), stan::math.integrate_ode_rk45(), remid::RecoMuon.IsTrackContained(), ana::LikelihoodCovMxExperiment.LikelihoodCovMxNewton(), LoadGenerator(), ana::CovMxManager.LoadSyst(), calib::DriftCorrection.LookForBreaks(), cet.lower_bound_all(), trk::WindowTrackingAlg.Make3DTrack(), dt::View.MakeChunkCombos(), MakeCovarSim(), rwgt::MakeGENIEReweightTable.MakeGENIEReweightTable(), MakePrediction(), MakePredictionNoOsc_FHC_FD(), MakePredictionNoOsc_FHC_ND(), MakePredictionNoOsc_RHC_FD(), MakePredictionNoOsc_RHC_ND(), MakeSurface(), MakeSurfaceLLTest(), MakeSurfaceNoNDOsc(), stan::math::internal.map_rect_concurrent(), dt::Cand.NSegs(), zcl::FastMonopoleTriggers.NumberOfCellsPerLength(), novaddt::FastMMTrigger.NumberOfCellsPerLength(), novaddt::NNFastMMTrigger.NumberOfCellsPerLength(), zcl::FmmTriggerEvd.NumberOfCellsPerLength(), zcl::FastMMStudy.NumberOfCellsPerLength(), art::detail::mix_offset< cet::map_vector< P > >.offset(), art::PtrRemapper.operator()(), cet::map_vector< Value >.operator[](), art::MixOp< PROD, OPROD >.outgoingProductID(), skim::ParametersNue.ParametersNue(), skim::ParametersNumu.ParametersNumu(), PlotResolution(), om::HistogramBrowser.Populate(), prepare_mcnp_root_for_g4nova(), genie::EventGeneratorList.Print(), genie::InteractionList.Print(), genie::GEVGPool.Print(), genie::PDGCodeList.Print(), genie::GHepRecordHistory.Print(), genie::XSecAlgorithmMap.Print(), genie::InteractionGeneratorMap.Print(), genie::PathLengthList.Print(), genie::geometry::PathSegmentList.Print(), genie::utils::print.PrintBanner(), novaddt::ContainedSlice.printDDTSlices(), art::Path.process(), nuesand::FillNueSandbox.produce(), presel::CosmicVeto.produce(), jmshower::JMTrackMerge.produce(), calib::FiberCalibration.produce(), zcl::SPCluster.produce(), cosrej::CosRej.produce(), calib::TimingCalibration.produce(), jmshower::JMClusterMerge.produce(), sn::SNSlicer.produce(), crvtx::CosmicRayVertex.produce(), cheat::MCCheater.produce(), geo::LiveGeometry.ProjectedCellsInMC(), tbana::DSToFAna.ProjectTrack(), genie::GHepRecordHistory.PurgeHistory(), genie::GHepRecordHistory.PurgeRecentHistory(), daq2raw::NOvASocketInputDriver.readFile(), genie::InteractionList.Reset(), dprf::ChannelPlots.ResetEventPlots(), stan::services::util.run_adaptive_sampler(), stan::services::util.run_sampler(), g4n::G4Alg.RunGeant(), ana::StanFitter.RunSampler(), cet::simple_stats.sample(), genie::PathLengthList.SaveAsXml(), stan::io::dump_reader.scan_struct_value(), stan::io::dump_reader.scan_value(), selection_story_plots(), sensitivity2020(), RawMilliBlock.set(), genie::PathLengthList.SetAllToZero(), nutools::dbi::Table.SetValidityRange(), nova::dbi::Table.SetValidityRange(), ana::Registry< T >.ShortNameToPtr(), novaddt::DDTTrackMerge.simpleMerge(), novaddt::Merge2DTracks.simpleMerge(), cet.sort_all(), bpfit::HitList3D.SortByY(), bpfit::HitList3D.SortByZ(), cet.stable_sort_all(), zcl::FastMonopoleTriggers.StdevCellsPerPlane(), novaddt::FastMMTrigger.StdevCellsPerPlane(), novaddt::NNFastMMTrigger.StdevCellsPerPlane(), zcl::FmmTriggerEvd.StdevCellsPerPlane(), zcl::FastMMStudy.StdevCellsPerPlane(), stan::variational::advi< stan_model, stan::variational::normal_meanfield, rng_t >.stochastic_gradient_ascent(), novaddt::HitSet.subtract(), gov::fnal::cd::rms::provider::ProcessSignalHandler.terminateDDSConnections(), test_nue2018_fitter(), geo::GeometryTest.testFindCell(), novarwgt::test.ToStandardRecord(), lem::dec::Forest.TrainSingleTransformed(), cet.transform_all(), trk::CosmicTrackUtilities.TrueLengthEndPoints(), novaddt::Merge2DTracks.twoViewMerge(), art::detail.verifyPtrCollection(), ana::NuISyst.WeightFor(), write_product_node(), novaddt::DDTEvd.WriteTrackInfo(), moonshadowana::MoonShadowAna.WriteTrackInfo(), moonshadowana::MoonShadowAnaHough.WriteTrackInfo(), genie::flux::GDk2NuFluxXMLHelper.~GDk2NuFluxXMLHelper(), and genie::GEVGPool.~GEVGPool().

tuple febshutoff_auto.endutc = (datetime.strptime(end,"%Y-%m-%d %H:%M:%S")+hoffset).strftime("%Y-%m-%d %H:%M:%S")

Definition at line 138 of file febshutoff_auto.py.

string febshutoff_auto.errors = ''

Definition at line 66 of file febshutoff_auto.py.

febshutoff_auto.hdb = TSQLServer.Connect("pgsql://ifdbprod.fnal.gov/nova_hardware", "nova_reader", dbpsw)

Definition at line 144 of file febshutoff_auto.py.

list febshutoff_auto.hdcm = []

Definition at line 158 of file febshutoff_auto.py.

list febshutoff_auto.hfeb = []

Definition at line 159 of file febshutoff_auto.py.

list febshutoff_auto.hists = []

Definition at line 90 of file febshutoff_auto.py.

int febshutoff_auto.hoffset = 5

Definition at line 132 of file febshutoff_auto.py.

febshutoff_auto.hour = timedelta(hours=1)
febshutoff_auto.hstmt = hdb.Statement(query1,1000)

Definition at line 154 of file febshutoff_auto.py.

list febshutoff_auto.id = []

Definition at line 156 of file febshutoff_auto.py.

febshutoff_auto.integral = hist.Integral(1,hist.GetNbinsX(),feb,feb)
febshutoff_auto.minute = timedelta(minutes=1)
febshutoff_auto.outfile = open('/home/nearline/jancode/results/'+run+'febshutoff_auto.txt','w')

Definition at line 305 of file febshutoff_auto.py.

tuple febshutoff_auto.partutc = (startdt+6*minute+hoffset).strftime("%Y-%m-%d %H:%M:%S")

Definition at line 137 of file febshutoff_auto.py.

febshutoff_auto.pfile = open(dbpswfile,'r')

Definition at line 33 of file febshutoff_auto.py.

list febshutoff_auto.port = []

Definition at line 241 of file febshutoff_auto.py.

febshutoff_auto.prev = prevstat[j][k]

Definition at line 326 of file febshutoff_auto.py.

list febshutoff_auto.prevstat = []

Definition at line 296 of file febshutoff_auto.py.

string febshutoff_auto.query = 'SELECT MIN(firstnonemptyeventtime), MAX(lastnonemptyeventtime) FROM ndos.nearline_metrics'
string febshutoff_auto.query1 = "select hw_id, coating, dcm_name, dcm_port "

Definition at line 150 of file febshutoff_auto.py.

string febshutoff_auto.query2 = 'SELECT channel_name, value FROM ndos.dcs_report'

Definition at line 225 of file febshutoff_auto.py.

febshutoff_auto.rootfile = TFile(datapath+file,'READ')
febshutoff_auto.run = sys.argv[1]

Definition at line 11 of file febshutoff_auto.py.

string febshutoff_auto.softrel = 'S13-02-16'

Definition at line 13 of file febshutoff_auto.py.

febshutoff_auto.start = stmt.GetString(0)

Definition at line 53 of file febshutoff_auto.py.

Referenced by stan::io::array_var_context.add_i(), stan::io::array_var_context.add_r(), novaddt::RateMonitor.analyze(), comi::CosmicMetrics.analyze(), align::AlignInspect.analyze(), align::Alignment.analyze(), calib::HitEfficiency.analyze(), trk::KalmanTrackAna.analyze(), novaddt::UpMuAna.analyze(), rockmuon::NDRockMuon.analyze(), comi::NearlineAna.analyze(), ncs::Xeff.analyze(), moonshadowana::MoonShadowAna.analyze(), slid::LIDTraining.analyze(), moonshadowana::MoonShadowAnaHough.analyze(), ncs::NCAna.analyze(), upmuana::UpMuRecoAna.analyze(), upmuana::UpMuAnalysis.analyze(), BestFit(), ifdb::IFDBSpillInfo.BpmProjection(), caf::Proxy< caf::SRParticleTruth >.CheckEquals(), caf::Proxy< caf::SRShower >.CheckEquals(), caf::Proxy< caf::SRTrack >.CheckEquals(), caf::Proxy< caf::SRProng >.CheckEquals(), genie::geometry::FidPolyhedron.clear(), dt::Cand.ClosestToEndCell(), stan::io::random_var_context.constrained_to_vals_r(), ana.constructBPFPng3dVar(), trk::KalmanTrackAna.Containment(), upmuana::UpMuAnalysis.containmentType(), upmuana::UpMuRecoAna.containmentType(), dbutils::gui::DataTreeCreatorThread.DataTreeCreatorThread(), trk::WindowTrackingAlg.DetermineInitialDirection(), dif::DiFShowerFinder.distancefromtrack(), slid::DeconvolveAlg.DistanceToCore(), testbeam::BeamlineEventDisplay.DrawNOvATracks(), testbeam::BeamlineEventDisplay.DrawWCTrack(), dump_lib(), dt::ViewMerger.FakeThirdDimension(), fd_plot(), genie::geometry::FidCylinder.FidCylinder(), genie::geometry::FidSphere.FidSphere(), novaddt::Merge2DTracks.fillDummyTracks(), novaddt::MoonShadow.filter(), EliminateBeamSpills.filter(), comi::NumiFiltering.filter(), novaddt::UpMuTrigger.filter(), novaddt::ContainedSlice.filterForContainedHitLists(), trk::KalmanTrack.FilterOnly(), trk::KalmanTrack.FilterTracker(), trk::WindowTrackingAlg.FindEndPoint(), trk::KalmanTrack.FindTracks(), trk::WindowTrackingAlg.FitWindow(), stan::services::sample.fixed_param(), stan::mcmc::base_nuts_classic< Model, diag_e_metric, expl_leapfrog, BaseRNG >.get_sampler_params(), xsrec::MakeXSecCCPi0Inc.GetBPI(), GetConfig(), cosrej::CosRejFxs.getCVVars(), ShmMilliBlock.getMilliBlock(), nuesand::FillNueSandbox.GetMincell(), om::FEBRatesByDiblock.GetNanoSliceSummary(), Helper.getNiceCutLabel(), GetOptionValue(), jmshower::NueSelLID.GetPointDoca(), jmshower::RecoJMShower.GetPointDoca(), ndreco::NDRecoFxs.getProngDedx(), calib::Calibrator.GetTimeStamp(), ndreco::NDRecoFxs.getTrackDedx(), jmshower::JMShower.GetTransHits(), stan::io::program_reader.include_path(), slid::ParticleIDAlg.InertiaXYZ(), genie::geometry::FidSphere.Intercept(), remid::ReMIdValidate.IsContained(), calib::RockMuonStopperSelection.IsTrulyContainedStopper(), calib::RockMuonStopperSelection.IsTrulyInFiducial(), filter::Filter.isVertexInFiducial(), ana.kMinPngNhit(), ana.kNue2017BasicPartFunc(), ana.kNue2020FDPeripheralFunc_MRBrem(), ana::LikelihoodCovMxExperiment.LikelihoodCovMxNewton(), ana::CovMxManager.LoadSyst(), LZ4HC_init(), trk::WindowTrackingAlg.Make3DTrack(), MakeCovarSim(), MakeLegend(), MakeSurface(), MakeSurfaceLLTest(), MakeSurfaceNoNDOsc(), trk::CosmicTrackAlg.MakeTrack(), stan::math::internal.map_rect_concurrent(), murem::FindParent.MatchToOrigSlice(), MatrixElementContours(), NusContoursPlusMINOS(), ana::NotContainFxn.operator()(), caf::Proxy< caf::SRParticleTruth >.operator=(), caf::Proxy< caf::SRShower >.operator=(), caf::Proxy< caf::SRTrack >.operator=(), caf::Proxy< caf::SRProng >.operator=(), ana.PassesPreselFunc(), slid::ParticleIDAlg.PlaneRadius(), slid::ParticleIDAlg.PointDoca(), stan::lang.print_signature(), novaddt::ContainedSlice.printDDTSlices(), presel::CosmicVeto.produce(), slid::Recluster.produce(), jmshower::JMTrackMerge.produce(), calib::FiberCalibration.produce(), cosrej::CosRej.produce(), calib::TimingCalibration.produce(), jmshower::JMClusterMerge.produce(), rwgt::MakeGENIEReweightTable.produce(), crvtx::CosmicRayVertex.produce(), cheat::MCCheater.produce(), xsrec::MakeXSecCCPi0Inc.produce(), cosrej::MakeNueCosRej.produce(), fuzz::FuzzyKVertex.produce(), nerd::NERDProng.produce(), caf::CAFMaker.produce(), beamlinereco::WCTrackAlg.projectToDetector(), tbana::DSToFAna.ProjectTrack(), rb::Prong.Prong(), slid::ParticleIDAlg.Radius(), jmshower::RecoJMShower.RecoShowers(), reduce_numu_ana2017_prod(), stan::services::util.run_adaptive_sampler(), stan::services::util.run_sampler(), g4n::G4Alg.RunGeant(), ana::StanFitter.RunSampler(), stan::mcmc::chains< RNG >.samples(), stan::io::dump_reader.scan_struct_value(), stan::io::dump_reader.scan_value(), selection_story_plots(), RawMilliBlock.set(), set_labels_1D(), rb::Prong.SetStart(), caldp::TCTrack.SetStart(), nutools::dbi::Table.SetValidityRange(), nova::dbi::Table.SetValidityRange(), rb::Shower.Shower(), novaddt::DDTTrackMerge.simpleMerge(), novaddt::Merge2DTracks.simpleMerge(), stan::io::reader< T >.std_vector(), photrans::ImprovedTransport.StepAlongHit(), stan::variational::advi< stan_model, stan::variational::normal_meanfield, rng_t >.stochastic_gradient_ascent(), TEST(), geo::GeometryTest.testFindCell(), rb::Track.Track(), trimmubarid(), trimvar(), trk::CosmicTrackUtilities.TrueLengthEndPoints(), novaddt::Merge2DTracks.twoViewMerge(), trk::KalmanTrackMerge.ViewMergeTracks(), rb::WeightedProng.WeightedProng(), novaddt::DDTEvd.WriteTrackInfo(), moonshadowana::MoonShadowAna.WriteTrackInfo(), moonshadowana::MoonShadowAnaHough.WriteTrackInfo(), dt::ViewMerger.ZipVerticalTracks(), and genie::geometry::FidShape.~FidShape().

febshutoff_auto.startdt = datetime.strptime(start,"%Y-%m-%d %H:%M:%S")

Definition at line 121 of file febshutoff_auto.py.

tuple febshutoff_auto.startutc = (startdt+hoffset).strftime("%Y-%m-%d %H:%M:%S")

Definition at line 136 of file febshutoff_auto.py.

febshutoff_auto.stmt = db.Statement(query,1000)
febshutoff_auto.stmt2 = db.Statement(query2,1000)

Definition at line 238 of file febshutoff_auto.py.

Referenced by APDPlots().

febshutoff_auto.val = stmt2.GetInt(1)

Definition at line 277 of file febshutoff_auto.py.

Referenced by abs(), dqsf::DQSpillFlags.AccumulateSyncMetric(), hv::LiteTH2.AddBinContent(), ana::MCMCSamples.AddSample(), ana::CovMxManager.AddSystematic(), genie::BYPDF.AllPDFs(), novaddt::SingletonRejectionAna.analyze(), append(), hough::HoughValidate.beginJob(), ana::BayesianSurface.BuildHist(), confusionMatrixProng(), cvn::RegCVNImageUtils.ConvertChargeVectorsToViewVectors(), ana::nueccinc::NueCCIncCrossSectionAnalysis.ConvertTo1DHistFrom2DHist(), ana::nueccinc::NueCCIncCrossSectionAnalysis.ConvertTo2DHistFrom1DHist(), genie::Kinematics.Copy(), cmf::RandomUniverseUtility.CreateLocationWithVariedOscParameters(), cmf::DataVarVals.DataVarVals(), fnex::DataVarVals.DataVarVals(), ana::MinuitFitter.DecodePars(), ana::StanFitter.DecodePars(), delta(), CLHEP::RandGauss.distributionName(), novaddt::HoughTrackMaker.do_like_zukai(), genie::utils::gsl::dXSec_Log_Wrapper.DoEval(), art::EndPathExecutor.doForAllEnabledWorkers_(), art::Schedule.doForAllWorkers_(), ana::SystMakerShift.DrawBkg(), ana::SystMaker.DrawBkg(), ana::SystMakerShift.DrawSig(), ana::SystMaker.DrawSig(), ana::CovMxSurface.DrawSurfacePoint(), DrawSurfacePoint(), ana.EMScore(), hdf5::HDF5Maker.endJob(), caf.FillCVNNeutronDaughterResultVars(), caf.FillCVNParticleResultVars(), fnex::EventListManipulator.FillHistogram(), meta::Metadata.FillMetadata(), fnex::InputPoint.FillParameterDetMap(), novaddt::SlowMMTrigger.filter(), novaddt::GroupedHitList< VAL >.first_value(), ana::FitDelta13InPiUnitsSterile.FitDelta13InPiUnitsSterile(), ana::FitDelta14InPiUnitsSterile.FitDelta14InPiUnitsSterile(), ana::FitDelta24InPiUnitsSterile.FitDelta24InPiUnitsSterile(), ana::FitDeltaInPiUnits.FitDeltaInPiUnits(), ana::FitDmSq21.FitDmSq21(), ana::FitDmSq21CPT.FitDmSq21CPT(), ana::FitDmSq32.FitDmSq32(), ana::FitDmSq32CPT.FitDmSq32CPT(), ana::FitDmSq32InvertedHierarchy.FitDmSq32InvertedHierarchy(), ana::FitDmSq32NormalHierarchy.FitDmSq32NormalHierarchy(), ana::FitDmSq32Scaled.FitDmSq32Scaled(), ana::FitDmSq32ScaledCPT.FitDmSq32ScaledCPT(), ana::FitDmSq32ScaledIH.FitDmSq32ScaledIH(), ana::FitDmSq32ScaledNH.FitDmSq32ScaledNH(), ana::FitDmSq32Sterile.FitDmSq32Sterile(), ana::FitDmSq41Sterile.FitDmSq41Sterile(), ana::FitDmSq43Sterile.FitDmSq43Sterile(), ana::FitEpsMuTau.FitEpsMuTau(), ana::MinuitFitter.FitHelperSeeded(), ana::FitSinSq2Theta12.FitSinSq2Theta12(), ana::FitSinSq2Theta12CPT.FitSinSq2Theta12CPT(), ana::FitSinSq2Theta13.FitSinSq2Theta13(), ana::FitSinSq2Theta13CPT.FitSinSq2Theta13CPT(), ana::FitSinSq2Theta13Sterile.FitSinSq2Theta13Sterile(), ana::FitSinSq2Theta23.FitSinSq2Theta23(), ana::FitSinSq2Theta23CPT.FitSinSq2Theta23CPT(), ana::FitSinSqTheta13Sterile.FitSinSqTheta13Sterile(), ana::FitSinSqTheta14Sterile.FitSinSqTheta14Sterile(), ana::FitSinSqTheta23.FitSinSqTheta23(), ana::FitSinSqTheta23CPT.FitSinSqTheta23CPT(), ana::FitSinSqTheta23LowerOctant.FitSinSqTheta23LowerOctant(), ana::FitSinSqTheta23Sterile.FitSinSqTheta23Sterile(), ana::FitSinSqTheta23UpperOctant.FitSinSqTheta23UpperOctant(), ana::FitSinSqTheta24Sterile.FitSinSqTheta24Sterile(), ana::FitSinSqTheta34Sterile.FitSinSqTheta34Sterile(), ana::FitTanSqTheta12.FitTanSqTheta12(), ana::FitTheta13.FitTheta13(), ana::FitTheta13InDegreesSterile.FitTheta13InDegreesSterile(), ana::FitTheta13Sterile.FitTheta13Sterile(), ana::FitTheta14InDegreesSterile.FitTheta14InDegreesSterile(), ana::FitTheta14Sterile.FitTheta14Sterile(), ana::FitTheta23InDegreesSterile.FitTheta23InDegreesSterile(), ana::FitTheta23Sterile.FitTheta23Sterile(), ana::FitTheta24InDegreesSterile.FitTheta24InDegreesSterile(), ana::FitTheta24Sterile.FitTheta24Sterile(), ana::FitTheta34InDegreesSterile.FitTheta34InDegreesSterile(), ana::FitTheta34Sterile.FitTheta34Sterile(), generate_fd_fake_events(), GetBinValue(), ana::NumuCCIncPionTemplateFitter.getCorrelationBetweenSysts(), ana::nueccinc::NueCCIncTemplateFitter.getCorrelationBetweenSysts(), ana::NumuCCIncPionTemplateFitter.getCorrelationMatrixTemplateBins(), ana::nueccinc::NueCCIncTemplateFitter.getCorrelationMatrixTemplateBins(), ana::NumuCCIncPionTemplateFitter.getCovarianceMatrixTemplateBins(), ana::nueccinc::NueCCIncTemplateFitter.getCovarianceMatrixTemplateBins(), genie::flux::GDk2NuFluxXMLHelper.GetDoubleVector(), genie::flux::GNuMIFluxXMLHelper.GetDoubleVector(), novaddt::MoonShadow.GetHisto(), moonshadowana::MoonShadowAna.GetHisto(), moonshadowana::MoonShadowAnaHough.GetHisto(), genie::flux::GDk2NuFluxXMLHelper.GetIntVector(), genie::flux::GNuMIFluxXMLHelper.GetIntVector(), ana::SpectrumLoaderBase.GetNextFile(), GetOptionValue(), util.GetValAs(), GetXMarginalisation(), GetYMarginalisation(), ana.HadScore(), ana.HadScoreWithMuon(), ana::SpectrumSink.HandleRecord(), ana::MultiVarSpectrumSink.HandleRecord(), ana::ReweightableSpectrumSink.HandleRecord(), HieLabel(), novaddt::SlowMMTrigger.IndexLocator(), ana::LikelihoodCovMxExperiment.InitialiseBetas(), fnex::SpectrumTest.InspectEventLists(), genie::INukeHadroData2018.IntBounce(), genie::INukeHadroData.IntBounce(), fhicl::detail.is_table(), novaddt::GroupedHitList< VAL >.last_value(), ana::LikelihoodCovMxExperiment.LLUseROOT(), ana::LikelihoodCovMxExperiment.LLUseSVD(), genie::utils::config.LoadAllIsotopesForKey(), genie::utils::config.LoadAllNucARangesForKey(), genie::Spline.LoadFromXmlFile(), ana::T2KToyExperiment.LoadSpectra(), stan::math.log_determinant(), stan::math.log_determinant_spd(), ana::StanFitter.log_prob(), stan::model.log_prob_grad(), stan::model.log_prob_propto(), DataCompression.lookup(), LZ4_NbCommonBytes(), LZ4_read16(), LZ4_read32(), LZ4_read_ARCH(), main(), MakeHist(), ana::SystMaker.MakeISyst(), novaddt::Calibration.MakeNoiseHisto(), MakePlots(), makeXSecPlots2D(), makeXSecPlots_TemplateFit(), ana::MCMCSamples.MaxValue(), fnex::MCVarVals.MCVarVals(), minimize(), ana::MCMCSamples.MinValue(), NDFDCVNBDTCutSelector(), NDFDCVNCutSelector(), OctLabel(), DrainQueue.operator()(), ana::CVNPng.operator()(), ana::CVNPngTruthSel.operator()(), DrainTimedQueue.operator()(), ana::FitToFourier.operator()(), ana::ThreadLocal< std::map< ana::PredictionInterp::Key_t, ana::PredictionInterp::Val_t > >.operator->(), cmf.operator<<(), cmf.ParameterSetToLocation(), genie::flux::GDk2NuFluxXMLHelper.ParseRotSeries(), genie::flux::GNuMIFluxXMLHelper.ParseRotSeries(), genie::flux::GDk2NuFluxXMLHelper.ParseWindowSeries(), genie::flux::GNuMIFluxXMLHelper.ParseWindowSeries(), ana::UnfoldTikhonov.PenaltyTerm(), cvn::PixelMap.PixelMapToVector(), cvn::PixelMap.PixelMapToVectors(), genie::Kinematics.Print(), PrintTable(), FormatFile.process(), calib::BetheBlochFit.ProfileMPV(), ana::Bayesian1DMarginal.QuantileRanges(), art::Principal.readImmediate(), art::Principal.readProvenanceImmediate(), ana::UnfoldTikhonov.RecoTruthPrediction(), cvn::RegCVNImageUtils.ReverseView(), ana::SeedList.SeedList(), nova::database::Column.Set(), nutools::dbi::Column.Set(), nova::dbi::Column.Set(), cmf::DataVarVals.set_val_at(), fnex::MCVarVals.set_val_at(), fnex::DataVarVals.set_val_at(), sim::G4Status.SetAborted(), hv::LiteTH2.SetBinContent(), ana::OscCovMxExperiment.SetCNP(), caldp::DCMSummary.SetDCMOffsetCountIndx(), caldp::DCMSummary.SetDCMOffsetSumIndx(), caldp::DCMSummary.SetDCMOffsetSumSquareIndx(), ana::SigmaDelta.SetDelta(), CLHEP::RandGauss.setF(), ana::FileReducer.SetMetadata(), CLHEP::RandPoisson.setOldMean(), sn::HighEnergyRemover.SetPeakThreshold(), ana::OscCovMxExperiment.SetShapeOnly(), ana::LikelihoodCovMxExperiment.SetShapeOnly(), ana::SigmaDelta.SetSigma(), ana::covmx::Sample.SetSystAlias(), rb::PID.SetVal(), cmf::Parameter.SetValue(), sn::HighEnergyRemover.SetVetoWindowPadding(), SmoothWithFourierFit(), solve(), SplitFakeData(), TEST(), test_stanfit_statsonly(), test_stanfit_withsysts(), stan::math.to_fvar(), ana::Multiverse.ToSpectrum(), ana::Hist.ToTH1(), ana.ToTH2Helper(), ana.ToTH3Helper(), ana::StanFitter.transform_helper(), art::TypeID.TypeID(), ana::OscCovMxExperiment.UseStatError(), ana.ValHelper(), stan::math.validate_non_negative_index(), generic.controllers.MakeCanvases.CanvasMaker.WriteAndRegisterCanvas(), wrong_sign_uncertainty(), slid::EventLID.~EventLID(), genie::flux::GDk2NuFluxXMLHelper.~GDk2NuFluxXMLHelper(), ana::IFitVar.~IFitVar(), slid::LID.~LID(), rb::PID.~PID(), and slid::SliceLID.~SliceLID().