Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
utils Namespace Reference

Functions

def create_file_list
 
def run_analysis
 
def event_display
 
def create_jobs
 
def get_status
 
def hadd
 

Variables

tuple parser argparse.ArgumentParser()
 
tuple subparser parser.add_subparsers(dest='command')
 
tuple create subparser.add_parser('create', help='Create file lists.')
 
tuple run subparser.add_parser('run', help='Run LEDTowerBuilder on the given file list.')
 
tuple evtDisp subparser.add_parser('evtDisp', help='Create event display (json) given prdf and event number.')
 
tuple args parser.parse_args()
 
tuple status subparser.add_parser('status', help='Check the status of the condor submission.')
 
tuple hadd subparser.add_parser('hadd', help='Merge completed condor jobs.')
 
tuple job_dir_list os.path.realpath(args.job_dir_list)
 
tuple jobs_dir jobs_dir.strip()
 
 job_dir args.job_dir_list
 

Function Documentation

def utils.create_file_list ( )

Definition at line 32 of file utils.py.

View newest version in sPHENIX GitHub at line 32 of file utils.py

References Acts.open, and print().

Referenced by event_display().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def utils.create_jobs ( )

Definition at line 35 of file utils.py.

View newest version in sPHENIX GitHub at line 35 of file utils.py

References Acts::UnitConstants.min, Acts.open, and print().

Referenced by hadd().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def utils.event_display ( )

Definition at line 115 of file utils.py.

View newest version in sPHENIX GitHub at line 115 of file utils.py

References create_file_list(), if(), Acts.open, print(), and run_analysis().

+ Here is the call graph for this function:

def utils.get_status ( )

Definition at line 118 of file utils.py.

View newest version in sPHENIX GitHub at line 118 of file utils.py

References if(), next, and print().

Referenced by hadd().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def utils.hadd (   jobs_dir)

Definition at line 135 of file utils.py.

View newest version in sPHENIX GitHub at line 135 of file utils.py

References create_jobs(), get_status(), hadd, if(), Acts::UnitConstants.min, and print().

+ Here is the call graph for this function:

def utils.run_analysis ( )

Definition at line 50 of file utils.py.

View newest version in sPHENIX GitHub at line 50 of file utils.py

References if(), join(), Acts::UnitConstants.min, Acts.open, and print().

Referenced by event_display().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

tuple utils.args parser.parse_args()

Definition at line 30 of file utils.py.

View newest version in sPHENIX GitHub at line 30 of file utils.py

tuple utils.create subparser.add_parser('create', help='Create file lists.')

Definition at line 11 of file utils.py.

View newest version in sPHENIX GitHub at line 11 of file utils.py

Referenced by acts._adapter._detector_create(), and trento::Nucleus.create().

tuple utils.evtDisp subparser.add_parser('evtDisp', help='Create event display (json) given prdf and event number.')

Definition at line 13 of file utils.py.

View newest version in sPHENIX GitHub at line 13 of file utils.py

tuple utils.hadd subparser.add_parser('hadd', help='Merge completed condor jobs.')

Definition at line 13 of file utils.py.

View newest version in sPHENIX GitHub at line 13 of file utils.py

Referenced by hadd().

utils.job_dir args.job_dir_list

Definition at line 178 of file utils.py.

View newest version in sPHENIX GitHub at line 178 of file utils.py

tuple utils.job_dir_list os.path.realpath(args.job_dir_list)

Definition at line 172 of file utils.py.

View newest version in sPHENIX GitHub at line 172 of file utils.py

tuple utils.jobs_dir jobs_dir.strip()

Definition at line 175 of file utils.py.

View newest version in sPHENIX GitHub at line 175 of file utils.py

tuple utils.parser argparse.ArgumentParser()

Definition at line 8 of file utils.py.

View newest version in sPHENIX GitHub at line 8 of file utils.py

tuple utils.status subparser.add_parser('status', help='Check the status of the condor submission.')

Definition at line 12 of file utils.py.

View newest version in sPHENIX GitHub at line 12 of file utils.py

Referenced by AddFlowToParent(), HydroinfoH5.addGroupattributeDouble(), HydroinfoH5.addGroupattributeInt(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree.AddParticles(), Acts::Test.BOOST_AUTO_TEST_CASE(), Acts::Test.BOOST_DATA_TEST_CASE(), calculateWeights(), Jetscape::EvolutionHistory.CheckInRange(), Jetscape::Hadron.CheckOrForceHadron(), mvtx::GBTLink.collectROFCableData(), Fun4AllOscarInputManager.ConvertFromOscar(), Fun4AllHepMCInputManager.ConvertFromOscar(), create_pythia_dummy(), HydroinfoH5.CSH5dumpBlockdata(), daq_begin(), daq_begin_immediate(), daq_begin_thread(), daq_end_immediate(), daq_set_runnumberfile(), daq_setEventFormat(), daq_shutdown(), daq_webcontrol(), oncsSub_id4evt.decode(), oncsSub_id2evt.decode(), Packet_id2evt.decode(), Packet_id4evt.decode(), oncsSub_iddreamv0.decode(), oncsSub_idmvtxv2.decode(), Packet_gl1p.decode(), Packet_gl1.decode(), ActsExamples::Contextual::ExternalAlignmentDecorator.decorate(), ActsExamples::Contextual::InternalAlignmentDecorator.decorate(), ColoredHadronization.DoHadronization(), MvtxMonDraw.DrawGeneral(), EMCalDeadmap(), enable_trigger(), ev_handler(), hLabHelper.evDisplay(), eventReceiverClient.eventReceiverClient(), iSpectraSamplerWrapper.Exec(), InitialFromFile.Exec(), Fun4AllPrdfInputManager.fileopen(), SingleStreamingInput.fileopen(), SinglePrdfInput.fileopen(), Jetscape::EvolutionHistory.get(), genfit::RKTrackRep.getBackwardJacobianAndNoise(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities.GetEntry(), listEventiterator.getNextIterator(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree.GetNumChrgPars(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities.GetNumFinalStatePars(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities.GetPartonInfo(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities.GetSumFinalStateParEne(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree.GetSumParEne(), testing::internal.GetTypeName(), handle_this_child(), ActsFatras::detail::CombineSelectors< Initial, Combine, Selectors >.impl(), G4Pythia6Decayer.ImportDecayProducts(), Jetscape::HardProcess.Init(), Acts::PlanarHelper.intersect(), Acts::PlaneSurface.intersect(), Acts::CylinderSurface.intersect(), Acts::LineSurface.intersect(), Acts::detail::IntersectionHelper2D.intersectSegment(), genfit::tools.invertMatrix(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities.IsOutgoingParton(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree.IsOutgoingParton(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities.LoadTree(), main(), MyMonDraw.MakeHtml(), DaqMonDraw.MakeHtml(), ZdcMonDraw.MakeHtml(), TpotMonDraw.MakeHtml(), MergeRootfile(), monitorRequestwatcher_thread(), oncsSub_idmvtxv0.mvtx_decode(), oncsSub_idmvtxv1.mvtx_decode(), open_file_on_server(), open_serverSocket(), Acts.operator<<(), orFrameStatusV1(), orPacketV1Status(), pfileopen(), PHmd5File(), plistopen(), poncsopen(), print_progressbar(), PHHepMCParticleSelectorDecayProductChain.process_event(), MbdReco.process_event(), jetHistogrammer.process_event(), sPHAnalysis.process_event_pythiaupsilon(), CaloValid.process_towers(), PomsMainFrame.ProcessMessage(), genfit::KalmanFitterRefTrack.processTrackWithRep(), genfit::KalmanFitter.processTrackWithRep(), genfit::DAF.processTrackWithRep(), daq_device_file.put_data(), r_create_device_1_svc(), rcdaq_init(), rcdaqEventiterator.rcdaqEventiterator(), rcdaqopen(), rcdaqEventiterator.read_next_buffer(), InitialFromFile.ReadEntropyDist(), HydroinfoH5.readH5Dataset_double(), Hydroinfo_MUSIC.readHydroData(), HydroinfoH5.readHydrogridInfo(), HydroinfoH5.readHydroinfoBuffered_total(), HydroinfoH5.readHydroinfoH5(), HydroinfoH5.readHydroinfoSingleframe(), InitialFromFile.ReadNbcDist(), readout(), HybridHadronization.recomb(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities::ParInfo.Reset(), daqBuffer.sendData(), sendMonitorData(), daqBuffer.sendout(), server_send_beginrun_sequence(), server_send_close_sequence(), server_send_endrun_sequence(), server_send_rollover_sequence(), HybridHadronization.set_spacetime_for_pythia_hadrons(), TowerInfov2.set_status(), RawClusterBuilderTopo.set_status_by_ID(), setFrameStatus(), HydroinfoH5.setHydroFiles(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities::ParInfo.SetInfo(), TpcMap.setMapNames(), TPCMap.setMapNames(), setPacketStatus(), OnlMonServer.SetSubsystemRunStatus(), OnlMonServer.SetSubsystemStatus(), switch_buffer(), test_multi_stepper_surface_status_update(), Jetscape::JetScapeWriterHepMC.Write(), Jetscape::JetScapeWriterRootHepMC.Write(), Fun4AllFileOutStream.WriteEventOut(), Fun4AllRolloverFileOutStream.WriteEventOut(), and HydroinfoH5.writeHydroBlock().

tuple utils.subparser parser.add_subparsers(dest='command')

Definition at line 9 of file utils.py.

View newest version in sPHENIX GitHub at line 9 of file utils.py