|
| WebEVD (const fhicl::ParameterSet &pset) |
|
void | analyze (const art::Event &evt) override |
|
void | endJob () override |
|
Definition at line 17 of file WebEVD_module.cc.
evd::WebEVD::WebEVD |
( |
const fhicl::ParameterSet & |
pset | ) |
|
|
explicit |
void evd::WebEVD::analyze |
( |
const art::Event & |
evt | ) |
|
|
override |
Definition at line 44 of file WebEVD_module.cc.
46 auto const detProp = art::ServiceHandle<detinfo::DetectorPropertiesService>()->DataFor(
evt);
51 std::cout <<
"Next clicked in GUI. Going to next event" << std::endl;
56 std::cout <<
"Prev clicked in GUI. Going to previous event" << std::endl;
58 art::ServiceHandle<InputSeeker>()->seekToEvent(-2);
63 std::cout <<
"Quit clicked in GUI. Goodbye!" << std::endl;
67 std::cout <<
"Error. Quitting" << std::endl;
71 std::cout <<
"User requested seek to " << res.run <<
":"<< res.subrun <<
":" << res.event << std::endl;
72 art::ServiceHandle<InputSeeker>()->seekToEvent(art::EventID(res.run,
78 std::cout <<
"Unhandled result code " << res.code <<
"!" << std::endl;
evd::WebEVDServer< art::Event > fServer
art::ServiceHandle< geo::Geometry > fGeom
Result serve(const T &evt, const geo::GeometryCore *geom, const detinfo::DetectorPropertiesData &detprop)
BEGIN_PROLOG could also be cout
void evd::WebEVD::endJob |
( |
| ) |
|
|
override |
Definition at line 39 of file WebEVD_module.cc.
41 std::cout <<
"Ran out of events. Goodbye!" << std::endl;
BEGIN_PROLOG could also be cout
The documentation for this class was generated from the following file: