WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
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 ()
 

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

◆ DepoPlane()

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

Member Function Documentation

◆ add()

bool WireCell::DepoPlane::add ( IDepo::pointer  depo)

Add a deposition to the buffer. Return true if we have enough to pop.

◆ 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.


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