IWirePlane.h
Go to the documentation of this file.
1 /**
2  Provides geometrical information about one wire plane in terms of
3  its wire direction, pitch, bounding box and individual wires from
4  which channel information can be derived.
5  */
6 
7 #ifndef WIRECELLIFACES_IWIREPLANE
8 #define WIRECELLIFACES_IWIREPLANE
9 
11 
12 #include "WireCellUtil/Pimpos.h"
13 
14 #include "WireCellIface/IWire.h"
15 #include "WireCellIface/IChannel.h"
16 
17 namespace WireCell {
18 
19  class IWirePlane : public IComponent<IWirePlane> {
20  public:
21 
22  virtual ~IWirePlane();
23 
24  virtual int ident() const = 0;
25 
26  /// Return a Pimpos object for this wire plane
27  virtual const Pimpos* pimpos() const = 0;
28 
29  /// Return vector of wire objects ordered by increasing Z.
30  virtual const IWire::vector& wires() const = 0;
31 
32  /// Return vector of channel objects ordered by their index
33  /// (NOT their channel ident number).
34  virtual const IChannel::vector& channels() const = 0;
35 
36  /// The ID of the plane of wire zero. This is just sugar.
37  virtual WirePlaneId planeid() const;
38  };
39 }
40 
41 #endif
42 
virtual const IChannel::vector & channels() const =0
virtual const IWire::vector & wires() const =0
Return vector of wire objects ordered by increasing Z.
std::vector< pointer > vector
Definition: IData.h:21
virtual ~IWirePlane()
Definition: IWirePlane.cxx:5
virtual WirePlaneId planeid() const
The ID of the plane of wire zero. This is just sugar.
Definition: IWirePlane.cxx:9
Definition: Main.h:22
virtual int ident() const =0
Pitch-Impact-Position.
Definition: Pimpos.h:36
virtual const Pimpos * pimpos() const =0
Return a Pimpos object for this wire plane.