34 if (depo->time() < time) {
36 doomed.push_back(depo);
39 for (
auto depo : doomed) {
49 doomed.push_back(depo);
52 for (
auto depo : doomed) {
std::shared_ptr< const IDepo > pointer
double freezeout_time() const
IDepo::pointer add(const IDepo::pointer &depo)
std::vector< pointer > vector
void drain(double time)
Move all froze-out depos to the frozen queue.
IDepo::vector pop(double time)
void freezeout()
Force any remaining "thawed" depos in the queue to be frozen out.
static const double second
DepoPlaneX(double planex=0.0 *units::cm, double speed=1.6 *units::millimeter/units::microsecond)