#include <DepoPlane.h>
Public Member Functions | |
DepoPlane (Ray wire_pitch, double start_time, double tick, double sigmaT, double sigmaL, double drift_velocity) | |
bool | add (IDepo::pointer depo) |
Add a deposition to the buffer. Return true if we have enough to pop. More... | |
std::vector< double > | pop () |
Private Attributes | |
Ray | m_pitch |
double | m_now |
double | m_tick |
double | m_sigmaT |
double | m_sigmaL |
double | m_drift_velocity |
Spread deposits on a plane.
Maintain a buffer in time (longitudinal to drift direction) and space (transverse to drift direction, parallel to wire pitch direction) of energy depositions.
The change is spread in both directions according to given sigma and according to the longitudinal drift distance that the deposition has or must travel (prior deposition is checked of originating point).
Definition at line 14 of file DepoPlane.h.
WireCell::DepoPlane::DepoPlane | ( | Ray | wire_pitch, |
double | start_time, | ||
double | tick, | ||
double | sigmaT, | ||
double | sigmaL, | ||
double | drift_velocity | ||
) |
bool WireCell::DepoPlane::add | ( | IDepo::pointer | depo | ) |
Add a deposition to the buffer. Return true if we have enough to pop.
std::vector<double> WireCell::DepoPlane::pop | ( | ) |
Return next tick worth of charge. Vector is indexed by wire index starting from wire zero as determined by pitch ray. An empty vector indicates underflow and more depositions should be add()'ed.
|
private |
Definition at line 16 of file DepoPlane.h.
|
private |
Definition at line 16 of file DepoPlane.h.
|
private |
Definition at line 15 of file DepoPlane.h.
|
private |
Definition at line 16 of file DepoPlane.h.
|
private |
Definition at line 16 of file DepoPlane.h.
|
private |
Definition at line 16 of file DepoPlane.h.