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

#include <Diffusion.h>

Inheritance diagram for WireCell::Diffusion:
Collaboration diagram for WireCell::Diffusion:

Public Member Functions

 Diffusion (IDepo::pointer depo, int nlong, int ntrans, double lmin, double tmin, double lmax, double tmax)
 
 Diffusion (const Diffusion &other)
 
Diffusionoperator= (const Diffusion &other)
 
virtual ~Diffusion ()
 
virtual IDepo::pointer depo () const
 Return the deposition that led to this diffusion. More...
 
virtual int lsize () const
 Helper method to give the array size in longitudinal dimension. More...
 
virtual int tsize () const
 Helper method to give the array size in transverse dimension. More...
 
virtual double get (int lind, int tind) const
 Get value at bin. More...
 
virtual double set (int lind, int tind, double value)
 
virtual double lpos (int ind, double offset=0.0) const
 
virtual double tpos (int ind, double offset=0.0) const
 
- Public Member Functions inherited from WireCell::IDiffusion
virtual ~IDiffusion ()
 
double lbegin () const
 Return begin of diffusion patch in longitudinal direction. More...
 
double tbegin () const
 Return begin of diffusion patch in transverse direction. More...
 
double lend () const
 Return end of diffusion patch in longitudinal direction. More...
 
double tend () const
 Return end of diffusion patch in transverse direction. More...
 
double lbin () const
 Return bins size in longitudinal direction. More...
 
double tbin () const
 Return bins size in transverse direction. More...
 
- Public Member Functions inherited from WireCell::IData< IDiffusion >
virtual ~IData ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 12 of file Diffusion.h.

Constructor & Destructor Documentation

◆ Diffusion() [1/2]

Diffusion::Diffusion ( IDepo::pointer  depo,
int  nlong,
int  ntrans,
double  lmin,
double  tmin,
double  lmax,
double  tmax 
)

Definition at line 4 of file Diffusion.cxx.

Here is the call graph for this function:

◆ Diffusion() [2/2]

Diffusion::Diffusion ( const Diffusion other)

Definition at line 14 of file Diffusion.cxx.

◆ ~Diffusion()

Diffusion::~Diffusion ( )
virtual

Definition at line 35 of file Diffusion.cxx.

Member Function Documentation

◆ depo()

IDepo::pointer Diffusion::depo ( ) const
virtual

Return the deposition that led to this diffusion.

Implements WireCell::IDiffusion.

Definition at line 39 of file Diffusion.cxx.

◆ get()

double Diffusion::get ( int  lind,
int  tind 
) const
virtual

Get value at bin.

Implements WireCell::IDiffusion.

Definition at line 52 of file Diffusion.cxx.

◆ lpos()

double Diffusion::lpos ( int  ind,
double  offset = 0.0 
) const
virtual

Implements WireCell::IDiffusion.

Definition at line 62 of file Diffusion.cxx.

Here is the call graph for this function:

◆ lsize()

int Diffusion::lsize ( ) const
virtual

Helper method to give the array size in longitudinal dimension.

Implements WireCell::IDiffusion.

Definition at line 43 of file Diffusion.cxx.

Here is the caller graph for this function:

◆ operator=()

Diffusion & Diffusion::operator= ( const Diffusion other)

Definition at line 21 of file Diffusion.cxx.

Here is the call graph for this function:

◆ set()

double Diffusion::set ( int  lind,
int  tind,
double  value 
)
virtual

Definition at line 56 of file Diffusion.cxx.

Here is the caller graph for this function:

◆ tpos()

double Diffusion::tpos ( int  ind,
double  offset = 0.0 
) const
virtual

Implements WireCell::IDiffusion.

Definition at line 67 of file Diffusion.cxx.

Here is the call graph for this function:

◆ tsize()

int Diffusion::tsize ( ) const
virtual

Helper method to give the array size in transverse dimension.

Implements WireCell::IDiffusion.

Definition at line 47 of file Diffusion.cxx.

Here is the caller graph for this function:

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