IAnodeFace.h
Go to the documentation of this file.
1 /**
2  Provides information about an "anode face" which consists of a
3  number of parallel wire planes, each consisting of a number of
4  parallel wires.
5 
6  Information includes:
7 
8  - Internal geometry of the wires in their planes and how they
9  relate to a coordinate system of the larger enclosing volume.
10 
11  - field response information
12 
13  - wire/channel connectivity and numbering
14 
15 
16  */
17 
18 #ifndef WIRECELLIFACES_IANODEFACE
19 #define WIRECELLIFACES_IANODEFACE
20 
23 #include "WireCellUtil/RayGrid.h"
25 
26 namespace WireCell {
27 
28  class IAnodeFace : public IComponent<IAnodeFace> {
29  public:
30 
31  virtual ~IAnodeFace();
32 
33  /// Return the ident number of this face.
34  virtual int ident() const = 0;
35 
36  /// Return the number of wire planes in the given side
37  virtual int nplanes() const = 0;
38 
39  /// Return the wire plane with the given ident or nullptr if unknown.
40  virtual IWirePlane::pointer plane(int ident) const = 0;
41 
42  /// Return all wires planes
43  virtual IWirePlane::vector planes() const = 0;
44 
45  /// Return a bounding box containing the volume to which this
46  /// face is sensitive. BB may be zero volume.
47  virtual BoundingBox sensitive() const = 0;
48 
49  /// Return a RayGrid::Coordinates corresponding to this face.
50  virtual const RayGrid::Coordinates& raygrid() const = 0;
51 
52  };
53 }
54 
55 #endif
56 
virtual IWirePlane::vector planes() const =0
Return all wires planes.
virtual IWirePlane::pointer plane(int ident) const =0
Return the wire plane with the given ident or nullptr if unknown.
std::vector< pointer > vector
Vector of shared pointers.
Definition: IComponent.h:36
virtual BoundingBox sensitive() const =0
virtual const RayGrid::Coordinates & raygrid() const =0
Return a RayGrid::Coordinates corresponding to this face.
std::shared_ptr< Interface > pointer
Definition: Interface.h:16
Definition: Main.h:22
virtual int ident() const =0
Return the ident number of this face.
virtual int nplanes() const =0
Return the number of wire planes in the given side.