8 #ifndef WIRECELL_DIGITIZER 9 #define WIRECELL_DIGITIZER 27 std::vector<double> fullscale = {0.0, 2.0*
units::volt},
virtual bool operator()(const input_pointer &inframe, output_pointer &outframe)
The calling signature:
Digitizer(const std::string &anode_tn="AnodePlane", int resolution=12, double gain=-1.0, std::vector< double > fullscale={0.0, 2.0 *units::volt}, std::vector< double > baselines={900 *units::mV, 900 *units::mV, 200 *units::mV})
double digitize(double voltage)
std::shared_ptr< const IFrame > input_pointer
std::vector< double > m_fullscale
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
std::shared_ptr< Interface > pointer
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
std::shared_ptr< const IFrame > output_pointer
std::shared_ptr< spdlog::logger > logptr_t
Json::Value Configuration
IAnodePlane::pointer m_anode
std::vector< double > m_baselines