1 #ifndef WIRECELLGEN_PLANEIMPACTRESPONSE 2 #define WIRECELLGEN_PLANEIMPACTRESPONSE 32 : m_impact(impact), m_waveform(wf), m_waveform_pad(waveform_pad)
33 , m_long_waveform(long_wf), m_long_waveform_pad(long_waveform_pad)
90 double pitch()
const {
return m_pitch; }
93 int nwires()
const {
return m_bywire.size(); }
95 size_t nbins()
const {
return m_nbins; }
101 const wire_region_indicies_t&
bywire_map()
const {
return m_bywire; }
102 std::pair<int,int> closest_wire_impact(
double relpitch)
const;
118 std::vector<IImpactResponse::pointer>
m_ir;
123 void build_responses();
int nwires() const
The number of wires that span the pitch range.
double m_overall_short_padding
std::vector< region_indices_t > wire_region_indicies_t
Waveform::compseq_t m_long_spectrum
Waveform::realseq_t m_waveform
const wire_region_indicies_t & bywire_map() const
const Waveform::compseq_t & spectrum()
Frequency-domain spectrum of response.
const Waveform::realseq_t & waveform() const
Time-domain waveform of the response.
std::pair< IImpactResponse::pointer, IImpactResponse::pointer > TwoImpactResponses
std::shared_ptr< Interface > pointer
const Waveform::compseq_t & long_aux_spectrum()
Waveform::realseq_t m_long_waveform
std::shared_ptr< spdlog::logger > logptr_t
int long_aux_waveform_pad() const
std::vector< std::string > m_short
Waveform::compseq_t m_spectrum
const Waveform::realseq_t & long_aux_waveform() const
std::vector< std::string > m_long
std::vector< IImpactResponse::pointer > m_ir
int nimp_per_wire() const
not in the interface
wire_region_indicies_t m_bywire
Json::Value Configuration
double pitch_range() const
ImpactResponse(int impact, const Waveform::realseq_t &wf, int waveform_pad, const Waveform::realseq_t &long_wf, int long_waveform_pad)
int impact() const
Corresponding impact number.
std::vector< int > region_indices_t