LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 &) |
void | postProcessEvent (art::Event const &) |
Private Attributes | |
art::InputSource * | fInputSource |
Input source of events. More... | |
ART event display service.
Definition at line 24 of file EventDisplay.h.
evdb::EventDisplay::EventDisplay | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 71 of file EventDisplay_service.cc.
References postBeginJob(), postBeginJobWorkers(), postProcessEvent(), preProcessEvent(), reconfigure(), art::ActivityRegistry::sPostBeginJob, art::ActivityRegistry::sPostBeginJobWorkers, art::ActivityRegistry::sPostProcessEvent, and art::ActivityRegistry::sPreProcessEvent.
|
private |
Definition at line 140 of file EventDisplay_service.cc.
References evdb::DisplayWindow::SetServicesAll().
Referenced by EventDisplay().
|
private |
Definition at line 132 of file EventDisplay_service.cc.
References fInputSource.
Referenced by EventDisplay().
|
private |
Definition at line 154 of file EventDisplay_service.cc.
References evdb::ServiceTable::ApplyEdits(), DEFINE_ART_SERVICE, 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, LOG_DEBUG, art::errors::LogicError, evdb::Printable::Print(), evdb::Printable::PrintTag(), art::RootInput::seekToEvent(), evdb::NavState::Set(), evdb::EventHolder::SetEvent(), evdb::NavState::TargetEvent(), evdb::NavState::TargetRun(), and evdb::NavState::Which().
Referenced by EventDisplay().
|
private |
Definition at line 147 of file EventDisplay_service.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 88 of file EventDisplay_service.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 43 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 44 of file EventDisplay.h.
Referenced by postProcessEvent().
int evdb::EventDisplay::fAutoPrintMax |
How many events to print (zero = disable printing).
Definition at line 45 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 46 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 47 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 48 of file EventDisplay.h.
Referenced by postProcessEvent(), and reconfigure().
std::string evdb::EventDisplay::fEchoPrintTempFile |
a temporary file to enable atomic writes
Definition at line 49 of file EventDisplay.h.
Referenced by postProcessEvent(), and reconfigure().
|
private |
Input source of events.
Definition at line 40 of file EventDisplay.h.
Referenced by postBeginJobWorkers(), and postProcessEvent().