WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::SimpleDepo Class Reference

#include <SimpleDepo.h>

Inheritance diagram for WireCell::SimpleDepo:
Collaboration diagram for WireCell::SimpleDepo:

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::Pointpos () 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
 
- Public Member Functions inherited from WireCell::IDepo
virtual ~IDepo ()
 
- Public Member Functions inherited from WireCell::IData< IDepo >
virtual ~IData ()
 

Additional Inherited Members

- Public Types inherited from WireCell::IData< IDepo >
typedef IDepo value_type
 
typedef std::shared_ptr< const IDepopointer
 
typedef std::vector< pointervector
 
typedef std::shared_ptr< const vectorshared_vector
 

Detailed Description

Definition at line 8 of file SimpleDepo.h.

Constructor & Destructor Documentation

◆ SimpleDepo()

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.

Member Function Documentation

◆ charge()

double SimpleDepo::charge ( ) const
virtual

The number charge (in units of number of electrons) deposited.

Implements WireCell::IDepo.

Definition at line 30 of file SimpleDepo.cxx.

◆ energy()

double SimpleDepo::energy ( ) const
virtual

The energy (in units of MeV) deposited.

Implements WireCell::IDepo.

Definition at line 34 of file SimpleDepo.cxx.

◆ extent_long()

double SimpleDepo::extent_long ( ) const
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.

◆ extent_tran()

double SimpleDepo::extent_tran ( ) const
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.

◆ id()

int SimpleDepo::id ( ) const
virtual

Track ID from Geant4.

Implements WireCell::IDepo.

Definition at line 42 of file SimpleDepo.cxx.

◆ pdg()

int SimpleDepo::pdg ( ) const
virtual

PDG code from Geant4.

Implements WireCell::IDepo.

Definition at line 43 of file SimpleDepo.cxx.

◆ pos()

const WireCell::Point & SimpleDepo::pos ( ) const
virtual

The location of the deposition.

Implements WireCell::IDepo.

Definition at line 22 of file SimpleDepo.cxx.

◆ prior()

WireCell::IDepo::pointer SimpleDepo::prior ( ) const
virtual

If the deposition is drifted, this may allow access to the original.

Implements WireCell::IDepo.

Definition at line 38 of file SimpleDepo.cxx.

◆ time()

double SimpleDepo::time ( ) const
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.


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