7 #ifndef WIRECELLGEN_ANODEPLANE 8 #define WIRECELLGEN_ANODEPLANE 13 #include <unordered_map> 36 virtual std::vector<int>
channels()
const;
std::unordered_map< int, int > m_c2wpid
std::shared_ptr< const IChannel > pointer
virtual int ident() const
IAnodePlane interface.
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
std::unordered_map< int, IWire::vector > m_c2wires
virtual WirePlaneId resolve(int channel) const
Resolve a channel ident number to a WirePlaneId.
std::vector< pointer > vector
virtual IChannel::pointer channel(int chident) const
Return an IChannel with the associated channel ID.
std::vector< int > m_channels
std::vector< pointer > vector
Vector of shared pointers.
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
std::shared_ptr< Interface > pointer
virtual IAnodeFace::vector faces() const
Return all faces.
std::unordered_map< int, IChannel::pointer > m_ichannels
std::shared_ptr< spdlog::logger > logptr_t
virtual int nfaces() const
Return number of faces (eg, MicroBooNE=1, DUNE=2)
virtual IWire::vector wires(int channel) const
Return all wires connected into the given channel ident number.
Json::Value Configuration
virtual std::vector< int > channels() const
Return a collection of all channels.
IAnodeFace::vector m_faces
virtual IAnodeFace::pointer face(int ident) const
Return a anode face by its ident number.