WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
|
#include <SimpleDepo.h>
Public Member Functions | |
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 const WireCell::Point & | pos () const |
The location of the deposition. More... | |
virtual double | time () const |
virtual double | charge () const |
The number charge (in units of number of electrons) deposited. More... | |
virtual double | energy () const |
The energy (in units of MeV) deposited. More... | |
virtual int | id () const |
Track ID from Geant4. More... | |
virtual int | pdg () const |
PDG code from Geant4. More... | |
virtual WireCell::IDepo::pointer | prior () const |
If the deposition is drifted, this may allow access to the original. More... | |
virtual double | extent_long () const |
virtual double | extent_tran () const |
![]() | |
virtual | ~IDepo () |
![]() | |
virtual | ~IData () |
Additional Inherited Members | |
![]() | |
typedef IDepo | value_type |
typedef std::shared_ptr< const IDepo > | pointer |
typedef std::vector< pointer > | vector |
typedef std::shared_ptr< const vector > | shared_vector |
Definition at line 8 of file SimpleDepo.h.
SimpleDepo::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 |
||
) |
Definition at line 5 of file SimpleDepo.cxx.
|
virtual |
The number charge (in units of number of electrons) deposited.
Implements WireCell::IDepo.
Definition at line 30 of file SimpleDepo.cxx.
|
virtual |
The energy (in units of MeV) deposited.
Implements WireCell::IDepo.
Definition at line 34 of file SimpleDepo.cxx.
|
virtual |
Any (half width) extent in the longitudinal (drift) direction (distance). The distribution is implicit but typically it is taken that this is a Gaussian sigma.
Reimplemented from WireCell::IDepo.
Definition at line 44 of file SimpleDepo.cxx.
|
virtual |
Any (half width) extent in the transverse (pitch) direction (distance). The distribution is implicit but typically it is taken that this is a Gaussian sigma.
Reimplemented from WireCell::IDepo.
Definition at line 45 of file SimpleDepo.cxx.
|
virtual |
|
virtual |
|
virtual |
The location of the deposition.
Implements WireCell::IDepo.
Definition at line 22 of file SimpleDepo.cxx.
|
virtual |
If the deposition is drifted, this may allow access to the original.
Implements WireCell::IDepo.
Definition at line 38 of file SimpleDepo.cxx.
|
virtual |
The number of seconds from some absolute start time to when the deposition occur ed.
Implements WireCell::IDepo.
Definition at line 26 of file SimpleDepo.cxx.