Public Member Functions | Private Attributes | List of all members
WireCell::DepoPlane Class Reference

#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
 

Detailed Description

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.

Constructor & Destructor Documentation

WireCell::DepoPlane::DepoPlane ( Ray  wire_pitch,
double  start_time,
double  tick,
double  sigmaT,
double  sigmaL,
double  drift_velocity 
)

Member Function Documentation

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.

Member Data Documentation

double WireCell::DepoPlane::m_drift_velocity
private

Definition at line 16 of file DepoPlane.h.

double WireCell::DepoPlane::m_now
private

Definition at line 16 of file DepoPlane.h.

Ray WireCell::DepoPlane::m_pitch
private

Definition at line 15 of file DepoPlane.h.

double WireCell::DepoPlane::m_sigmaL
private

Definition at line 16 of file DepoPlane.h.

double WireCell::DepoPlane::m_sigmaT
private

Definition at line 16 of file DepoPlane.h.

double WireCell::DepoPlane::m_tick
private

Definition at line 16 of file DepoPlane.h.


The documentation for this class was generated from the following file: