78 for(
unsigned int tpc_id = 0; tpc_id < num_tpcs; tpc_id++){
81 loginfo <<
"Got TPC number: " << tpc_id
82 <<
" - it has " << tpc_channel_vector.size() <<
" channels" 83 <<
" - first channel is " << tpc_channel_vector.at(0)
92 for(
unsigned int apa_id = 0; apa_id < num_apas; apa_id++){
95 loginfo <<
"Got APA number: " << apa_id
96 <<
" - it has " << apa_channel_vector.size() <<
" channels" 97 <<
" - first channel is " << apa_channel_vector.at(0)
TestHardwareMapper(fhicl::ParameterSet const &pset)
std::vector< raw::ChannelID_t > const & getAPAChannels(Hardware::ID apa_id)
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
unsigned int getNAPAs() const
std::vector< raw::ChannelID_t > const & getTPCChannels(Hardware::ID tpc_id)
EDAnalyzer(fhicl::ParameterSet const &pset)
art::ServiceHandle< HardwareMapperService > mapperService
#define DEFINE_ART_MODULE(klass)
void reconfigure(fhicl::ParameterSet const &pset)
void analyze(art::Event const &evt) override
unsigned int getNTPCs() const
std::optional< T > get_if_present(std::string const &key) const
TestHardwareMapper & operator=(TestHardwareMapper const &)=delete