#include <ChannelSelectorDB.h>
Definition at line 9 of file ChannelSelectorDB.h.
wcls::ChannelSelectorDB::ChannelSelectorDB |
( |
| ) |
|
wcls::ChannelSelectorDB::~ChannelSelectorDB |
( |
| ) |
|
|
virtual |
virtual channel_group_t wcls::ChannelSelectorDB::bad_channels |
( |
| ) |
const |
|
inlinevirtual |
void wcls::ChannelSelectorDB::configure |
( |
const WireCell::Configuration & |
config | ) |
|
|
virtual |
IConfigurable.
Reimplemented from wcls::ChannelNoiseDB.
Definition at line 64 of file ChannelSelectorDB.cxx.
66 m_type = get<std::string>(cfg,
"type",
"misconfigured");
69 "Channel type \"%s\" cannot be identified.",
m_type)});
static bool format(QChar::Decomposition tag, QString &str, int index, int len)
virtual channel_group_t wcls::ChannelSelectorDB::miscfg_channels |
( |
| ) |
const |
|
inlinevirtual |
void wcls::ChannelSelectorDB::visit |
( |
art::Event & |
event | ) |
|
|
virtual |
IArtEventVisitor.
Reimplemented from wcls::ChannelNoiseDB.
Definition at line 30 of file ChannelSelectorDB.cxx.
32 std::cerr <<
"ChannelSelectorDB art::Event visit!\n";
37 auto const& gc = *lar::providerFrom<geo::Geometry>();
38 auto nchans = gc.Nchannels();
44 for(
size_t ich=0; ich<nchans; ++ich) {
45 if (csvc.IsBad(ich)) {
51 if (
m_type ==
"misconfigured") {
54 std::vector<int> mc_channels;
55 for(
size_t ich=0; ich<nchans; ++ich) {
56 if (esvc.ExtraInfo(ich).GetBoolData(
"is_misconfigured")) {
channel_group_t m_bad_channels
channel_group_t m_miscfg_channels
channel_group_t wcls::ChannelSelectorDB::m_bad_channels |
|
private |
channel_group_t wcls::ChannelSelectorDB::m_miscfg_channels |
|
private |
The documentation for this class was generated from the following files: