6 #ifndef WIRECELLGEN_MEGAANODEPLANE 7 #define WIRECELLGEN_MEGAANODEPLANE 30 virtual std::vector<int>
channels()
const;
std::shared_ptr< const IChannel > pointer
virtual std::vector< int > channels() const
Return a collection of all channels.
virtual WirePlaneId resolve(int channel) const
Resolve a channel ident number to a WirePlaneId.
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
std::vector< pointer > vector
virtual IAnodeFace::vector faces() const
Return all faces.
virtual int ident() const
Return the ident number of this plane.
virtual int nfaces() const
Return number of faces (eg, MicroBooNE=1, DUNE=2)
std::vector< pointer > vector
Vector of shared pointers.
std::shared_ptr< Interface > pointer
virtual IChannel::pointer channel(int chident) const
Return an IChannel with the associated channel ID.
std::vector< IAnodePlane::pointer > m_anodes
Json::Value Configuration
virtual IAnodeFace::pointer face(int ident) const
Return a anode face by its ident number.
virtual ~MegaAnodePlane()
virtual IWire::vector wires(int channel) const
Return all wires connected into the given channel ident number.