StatusConfiguration::StatusConfiguration |
( |
const raw::ChannelID_t |
MaxChannel, |
|
|
const raw::ChannelID_t |
MaxPresentChannel, |
|
|
const std::set< unsigned int > |
BadChannels, |
|
|
const std::set< unsigned int > |
NoisyChannels |
|
) |
| |
|
inline |
Definition at line 74 of file SimpleChannelStatus_test.cxx.
const raw::ChannelID_t fMaxPresentChannel
const std::set< unsigned int > fNoisyChannels
const raw::ChannelID_t fMaxChannel
const std::set< unsigned int > fBadChannels
fhicl::ParameterSet StatusConfiguration::CreateConfiguration |
( |
| ) |
const |
|
inline |
Definition at line 90 of file SimpleChannelStatus_test.cxx.
91 fhicl::ParameterSet cfg;
::fhicl::detail::ps_atom_t encode(Interval< Args...> const &iv)
Encodes a quantity interval into a FHiCL parameter set atom.
const std::set< unsigned int > fNoisyChannels
const std::set< unsigned int > fBadChannels
Definition at line 101 of file SimpleChannelStatus_test.cxx.
109 <<
"\nConfiguration:"
110 <<
"\n { " << config.to_string() <<
" }"
111 <<
"\nLoaded from configuration:"
112 <<
"\n - " << pStatus->
BadChannels().size() <<
" bad channels: "
114 <<
"\n - " << pStatus->
NoisyChannels().size() <<
" noisy channels: "
116 <<
"\n - largest channel ID: " << pStatus->
MaxChannel()
120 return std::unique_ptr<lariov::SimpleChannelStatus>(pStatus);
raw::ChannelID_t MaxChannelPresent() const
Returns the ID of the largest present channel.
void Setup(raw::ChannelID_t MaxChannel, raw::ChannelID_t MaxGoodChannel)
Sets the service provider up.
virtual ChannelSet_t BadChannels() const override
Returns a copy of set of bad channel IDs for the current run.
raw::ChannelID_t MaxChannel() const
Returns the ID of the largest known channel.
virtual ChannelSet_t NoisyChannels() const override
Returns a copy of set of noisy channel IDs for the current run.
const raw::ChannelID_t fMaxPresentChannel
fhicl::ParameterSet CreateConfiguration() const
Class providing information about the quality of channels.
const raw::ChannelID_t fMaxChannel
BEGIN_PROLOG could also be cout
const std::set<unsigned int> StatusConfiguration::fBadChannels |
const std::set<unsigned int> StatusConfiguration::fNoisyChannels |
The documentation for this class was generated from the following file: