13 int id = 0,
int pdg = 0,
double energy = 1.0);
16 virtual double time()
const;
17 virtual double charge()
const;
18 virtual double energy()
const;
19 virtual int id()
const;
20 virtual int pdg()
const;
std::shared_ptr< const IDepo > pointer
virtual double extent_long() const
virtual double time() const
virtual double energy() const
The energy (in units of MeV) deposited.
virtual double charge() const
The number charge (in units of number of electrons) deposited.
virtual const WireCell::Point & pos() const
The location of the deposition.
virtual int pdg() const
PDG code from Geant4.
SimpleDepo(double t, const WireCell::Point &pos, double charge=1.0, IDepo::pointer prior=nullptr, double extent_long=0.0, double extent_tran=0.0, int id=0, int pdg=0, double energy=1.0)
virtual double extent_tran() const
virtual int id() const
Track ID from Geant4.
virtual WireCell::IDepo::pointer prior() const
If the deposition is drifted, this may allow access to the original.