LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "LandedSocket.h"
Public Member Functions | |
LandedSocket (fhicl::ParameterSet const &, art::ActivityRegistry ®) | |
bool | connect (void) |
void | sendGeometry (std::string) |
void | sendEvent (int, int, int, int, int) |
void | sendHit (double, double, double, double, double, int) |
void | sendVertex (double, double, double, double, int, int) |
Private Member Functions | |
void | postBeginJob () |
void | postBeginJobWorkers (art::InputSource *, std::vector< art::Worker * > const &) |
void | preProcessEvent (art::Event const &) |
void | postProcessEvent (art::Event const &) |
Private Attributes | |
art::InputSource * | inputSource_ |
boost::asio::local::stream_protocol::endpoint * | endpoint_ |
boost::asio::local::stream_protocol::socket * | socket_ |
boost::asio::io_service | service_ |
unsigned long | record_ |
Definition at line 20 of file LandedSocket.h.
evd::LandedSocket::LandedSocket | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 20 of file LandedSocket_service.cc.
References postBeginJob(), postBeginJobWorkers(), postProcessEvent(), preProcessEvent(), art::ActivityRegistry::sPostBeginJob, art::ActivityRegistry::sPostBeginJobWorkers, art::ActivityRegistry::sPostProcessEvent, and art::ActivityRegistry::sPreProcessEvent.
bool evd::LandedSocket::connect | ( | void | ) |
Definition at line 95 of file LandedSocket_service.cc.
References endpoint_, sendGeometry(), service_, and socket_.
Referenced by postProcessEvent().
|
private |
Definition at line 35 of file LandedSocket_service.cc.
References postBeginJobWorkers().
Referenced by LandedSocket().
|
private |
Definition at line 40 of file LandedSocket_service.cc.
References inputSource_, preProcessEvent(), and record_.
Referenced by LandedSocket(), and postBeginJob().
|
private |
Definition at line 52 of file LandedSocket_service.cc.
References connect(), art::Event::id(), inputSource_, LOG_DEBUG, record_, art::RootInput::seekToEvent(), and socket_.
Referenced by LandedSocket(), and preProcessEvent().
|
private |
Definition at line 47 of file LandedSocket_service.cc.
References postProcessEvent().
Referenced by LandedSocket(), and postBeginJobWorkers().
void evd::LandedSocket::sendEvent | ( | int | nhits, |
int | nvertex, | ||
int | run, | ||
int | subrun, | ||
int | event | ||
) |
Definition at line 130 of file LandedSocket_service.cc.
References record_, sendHit(), socket_, and ss.
Referenced by sendGeometry().
void evd::LandedSocket::sendGeometry | ( | std::string | vrml | ) |
Definition at line 113 of file LandedSocket_service.cc.
References LOG_DEBUG, sendEvent(), socket_, and ss.
Referenced by connect().
void evd::LandedSocket::sendHit | ( | double | x, |
double | y, | ||
double | z, | ||
double | e, | ||
double | ne, | ||
int | track | ||
) |
Definition at line 142 of file LandedSocket_service.cc.
References sendVertex(), socket_, and ss.
Referenced by sendEvent().
void evd::LandedSocket::sendVertex | ( | double | x, |
double | y, | ||
double | z, | ||
double | e, | ||
int | id, | ||
int | pdgcode | ||
) |
Definition at line 155 of file LandedSocket_service.cc.
References DEFINE_ART_SERVICE, socket_, and ss.
Referenced by sendHit().
|
private |
Definition at line 34 of file LandedSocket.h.
Referenced by connect().
|
private |
Definition at line 33 of file LandedSocket.h.
Referenced by postBeginJobWorkers(), and postProcessEvent().
|
private |
Definition at line 37 of file LandedSocket.h.
Referenced by postBeginJobWorkers(), postProcessEvent(), and sendEvent().
|
private |
Definition at line 36 of file LandedSocket.h.
Referenced by connect().
|
private |
Definition at line 35 of file LandedSocket.h.
Referenced by connect(), postProcessEvent(), sendEvent(), sendGeometry(), sendHit(), and sendVertex().