14 #include "WireCellUtil/NamedFactory.h" 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")) {
66 m_type = get<std::string>(cfg,
"type",
"misconfigured");
69 "Channel type \"%s\" cannot be identified.",
m_type)});
virtual void visit(art::Event &event)
IArtEventVisitor.
static bool format(QChar::Decomposition tag, QString &str, int index, int len)
art framework interface to geometry description
Interface for experiment-specific service for pmt gain info.
virtual ~ChannelSelectorDB()
WIRECELL_FACTORY(wclsChannelSelectorDB, wcls::ChannelSelectorDB, wcls::ChannelNoiseDB) using namespace WireCell
channel_group_t m_bad_channels
virtual void configure(const WireCell::Configuration &config)
IConfigurable.
Interface for experiment-specific channel quality info provider.
Interface for experiment-specific service for channel quality info.
channel_group_t m_miscfg_channels
Event finding and building.