IFieldResponse.h
Go to the documentation of this file.
1 /** A field response provides access to a FieldResponse data
2  * structure. Use this interface instead of directly loading a
3  * response schema so that multiple components may share the same data
4  * without causing multiple loads.
5  */
6 
7 #ifndef WIRECELLIFACE_IFIELDRESPONSE
8 #define WIRECELLIFACE_IFIELDRESPONSE
9 
11 #include "WireCellUtil/Response.h"
12 
13 namespace WireCell {
14 
15  class IFieldResponse : public IComponent<IFieldResponse>
16  {
17  public:
18 
19  virtual ~IFieldResponse() ;
20 
21  /// Return the field response data
22  virtual const Response::Schema::FieldResponse& field_response() const = 0;
23  };
24 
25 }
26 
27 #endif
Definition: Main.h:22
virtual const Response::Schema::FieldResponse & field_response() const =0
Return the field response data.
Hold info about multiple plane responses in the detector.
Definition: Response.h:75