LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
ART event display service. More...
#include "EventDisplay.h"
Public Member Functions | |
EventDisplay (fhicl::ParameterSet const &pset, art::ActivityRegistry ®) | |
void | reconfigure (fhicl::ParameterSet const &pset) |
Public Attributes | |
unsigned int | fAutoAdvanceInterval |
Wait time in milliseconds. More... | |
int | fAutoPrintCount |
Number of events printed so far. More... | |
int | fAutoPrintMax |
How many events to print (zero = disable printing). More... | |
std::string | fAutoPrintPattern |
Pattern for printing output filenames. Must contain "%s" and "%d", in that order. More... | |
bool | fEchoPrint |
Copy what you see in X to a .gif for each event. More... | |
std::string | fEchoPrintFile |
The file to dump that .gif to. Only one file, if you want a different file for each event, use AutoPrint instead. More... | |
std::string | fEchoPrintTempFile |
a temporary file to enable atomic writes More... | |
Private Member Functions | |
void | postBeginJob () |
void | postBeginJobWorkers (art::InputSource *inputs, std::vector< art::Worker * > const &workers) |
void | preProcessEvent (art::Event const &, art::ScheduleContext) |
void | postProcessEvent (art::Event const &, art::ScheduleContext) |
Private Attributes | |
art::InputSource * | fInputSource |
Input source of events. More... | |
ART event display service.
Definition at line 26 of file EventDisplay.h.
evdb::EventDisplay::EventDisplay | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 72 of file EventDisplay.cc.
References postBeginJob(), postBeginJobWorkers(), postProcessEvent(), preProcessEvent(), reconfigure(), art::ActivityRegistry::sPostBeginJob, art::ActivityRegistry::sPostBeginJobWorkers, art::ActivityRegistry::sPostProcessEvent, and art::ActivityRegistry::sPreProcessEvent.
|
private |
Definition at line 141 of file EventDisplay.cc.
References evdb::DisplayWindow::SetServicesAll().
Referenced by EventDisplay().
|
private |
Definition at line 133 of file EventDisplay.cc.
References fInputSource.
Referenced by EventDisplay().
|
private |
Definition at line 155 of file EventDisplay.cc.
References evdb::ServiceTable::ApplyEdits(), evdb::DisplayWindow::DrawAll(), art::Event::event(), fAutoPrintCount, fAutoPrintMax, fAutoPrintPattern, fEchoPrint, fEchoPrintFile, fEchoPrintTempFile, fInputSource, evdb::Printable::GetPrintables(), art::Event::id(), evdb::EventHolder::Instance(), evdb::ServiceTable::Instance(), art::SubRunID::invalidSubRun(), evdb::kGOTO_EVENT, evdb::kNEXT_EVENT, evdb::kPREV_EVENT, evdb::kRELOAD_EVENT, evdb::kSEQUENTIAL_ONLY, art::errors::LogicError, MF_LOG_DEBUG, evdb::Printable::Print(), evdb::Printable::PrintTag(), evdb::NavState::Set(), evdb::EventHolder::SetEvent(), evdb::NavState::TargetEvent(), evdb::NavState::TargetRun(), and evdb::NavState::Which().
Referenced by EventDisplay().
|
private |
Definition at line 148 of file EventDisplay.cc.
References art::EventID::event(), art::Event::id(), art::EventID::run(), and evdb::DisplayWindow::SetRunEventAll().
Referenced by EventDisplay().
void evdb::EventDisplay::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 89 of file EventDisplay.cc.
References fAutoAdvanceInterval, fAutoPrintMax, fAutoPrintPattern, fEchoPrint, fEchoPrintFile, fEchoPrintTempFile, fhicl::ParameterSet::get(), and w.
Referenced by EventDisplay().
unsigned int evdb::EventDisplay::fAutoAdvanceInterval |
Wait time in milliseconds.
Definition at line 45 of file EventDisplay.h.
Referenced by evdb::ButtonBar::AutoAdvance(), evdb::ButtonBar::HandleTimer(), and reconfigure().
int evdb::EventDisplay::fAutoPrintCount |
Number of events printed so far.
Definition at line 46 of file EventDisplay.h.
Referenced by postProcessEvent().
int evdb::EventDisplay::fAutoPrintMax |
How many events to print (zero = disable printing).
Definition at line 47 of file EventDisplay.h.
Referenced by postProcessEvent(), and reconfigure().
std::string evdb::EventDisplay::fAutoPrintPattern |
Pattern for printing output filenames. Must contain "%s" and "%d", in that order.
Definition at line 48 of file EventDisplay.h.
Referenced by postProcessEvent(), and reconfigure().
bool evdb::EventDisplay::fEchoPrint |
Copy what you see in X to a .gif for each event.
Definition at line 49 of file EventDisplay.h.
Referenced by postProcessEvent(), and reconfigure().
std::string evdb::EventDisplay::fEchoPrintFile |
The file to dump that .gif to. Only one file, if you want a different file for each event, use AutoPrint instead.
Definition at line 50 of file EventDisplay.h.
Referenced by postProcessEvent(), and reconfigure().
std::string evdb::EventDisplay::fEchoPrintTempFile |
a temporary file to enable atomic writes
Definition at line 51 of file EventDisplay.h.
Referenced by postProcessEvent(), and reconfigure().
|
private |
Input source of events.
Definition at line 42 of file EventDisplay.h.
Referenced by postBeginJobWorkers(), and postProcessEvent().