Public Member Functions | Private Attributes | List of all members
WireCell::Response::ColdElec Class Reference

A functional object caching gain and shape. More...

#include <Response.h>

Inheritance diagram for WireCell::Response::ColdElec:
WireCell::Response::Generator

Public Member Functions

 ColdElec (double gain=14 *units::mV/units::fC, double shaping=1.0 *units::us)
 
virtual ~ColdElec ()
 
virtual double operator() (double time) const
 
- Public Member Functions inherited from WireCell::Response::Generator
virtual ~Generator ()
 
WireCell::Waveform::realseq_t generate (const WireCell::Waveform::Domain &domain, int nsamples)
 FIXME: eradicate Domain in favor of Binning. More...
 
WireCell::Waveform::realseq_t generate (const WireCell::Binning &tbins)
 Lay down the function into a binned waveform. More...
 

Private Attributes

const double _g
 
const double _s
 

Detailed Description

A functional object caching gain and shape.

Definition at line 165 of file Response.h.

Constructor & Destructor Documentation

Response::ColdElec::ColdElec ( double  gain = 14*units::mV/units::fC,
double  shaping = 1.0*units::us 
)

Definition at line 392 of file Response.cxx.

393  : _g(gain)
394  , _s(shaping)
395 {
396 }
Response::ColdElec::~ColdElec ( )
virtual

Definition at line 397 of file Response.cxx.

398 {
399 }

Member Function Documentation

double Response::ColdElec::operator() ( double  time) const
virtual

Implements WireCell::Response::Generator.

Definition at line 401 of file Response.cxx.

402 {
403  return coldelec(time, _g, _s);
404 }
double coldelec(double time, double gain=7.8, double shaping=1.0 *units::us)
The cold electronics response function.
Definition: Response.cxx:350

Member Data Documentation

const double WireCell::Response::ColdElec::_g
private

Definition at line 166 of file Response.h.

const double WireCell::Response::ColdElec::_s
private

Definition at line 166 of file Response.h.


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