Definition at line 30 of file ADCFilter_module.cc.
filter::ADCFilter::ADCFilter |
( |
fhicl::ParameterSet const & |
pset | ) |
|
|
explicit |
bool filter::ADCFilter::filter |
( |
art::Event & |
evt | ) |
|
|
private |
Definition at line 52 of file ADCFilter_module.cc.
55 art::View<raw::RawDigit> rawdigitView;
58 if(!rawdigitView.size())
return false;
61 = art::ServiceHandle<lariov::ChannelStatusService const>()->GetProvider();
67 if (!channelFilter.
IsGood(digit->Channel()))
continue;
69 std::vector<short> rawadc(digit->Samples());
71 short max = *std::max_element(rawadc.begin(),rawadc.end()) - digit->GetPedestal();
std::string fDigitModuleLabel
Collection of charge vs time digitized from a single readout channel.
virtual bool IsGood(raw::ChannelID_t channel) const
Returns whether the specified channel is physical and good.
Class providing information about the quality of channels.
void Uncompress(const std::vector< short > &adc, std::vector< short > &uncompressed, raw::Compress_t compress)
Uncompresses a raw data buffer.
std::string filter::ADCFilter::fDigitModuleLabel |
|
private |
double filter::ADCFilter::fMinADC |
|
private |
The documentation for this class was generated from the following file: