Functions
TrackDepos.cxx File Reference
#include "WireCellGen/TrackDepos.h"
#include "WireCellIface/SimpleDepo.h"
#include "WireCellUtil/NamedFactory.h"
#include "WireCellUtil/Point.h"
#include "WireCellUtil/Units.h"
#include "WireCellUtil/Testing.h"
#include "WireCellUtil/Persist.h"
#include <sstream>

Go to the source code of this file.

Functions

 WIRECELL_FACTORY (TrackDepos, WireCell::Gen::TrackDepos, WireCell::IDepoSource, WireCell::IConfigurable) using namespace std
 
static std::string dump (IDepo::pointer d)
 

Function Documentation

static std::string dump ( IDepo::pointer  d)
static

Definition at line 78 of file TrackDepos.cxx.

79 {
80  std::stringstream ss;
81  ss << "q=" << d->charge()/units::eplus << "eles, t=" << d->time()/units::us << "us, r=" << d->pos()/units::mm << "mm";
82  return ss.str();
83 }
static const double mm
Definition: Units.h:73
static const double us
Definition: Units.h:101
WIRECELL_FACTORY ( TrackDepos  ,
WireCell::Gen::TrackDepos  ,
WireCell::IDepoSource  ,
WireCell::IConfigurable   
)