FieldResponse.h
Go to the documentation of this file.
1 /** This component provides field response data as read in from a "WCT
2  * field response" JSON file */
3 
4 #ifndef WIRECELLSIGPROC_FIELDRESPONSE
5 #define WIRECELLSIGPROC_FIELDRESPONSE
6 
9 #include "WireCellUtil/Units.h"
10 
11 namespace WireCell {
12  namespace SigProc {
13  class FieldResponse : public IFieldResponse, public IConfigurable {
14  public:
15  // Create directly with the JSON data file or delay that
16  // for configuration.
17  FieldResponse(const char* frfilename = "");
18 
19  virtual ~FieldResponse();
20 
21  // IFieldResponse
22  virtual const Response::Schema::FieldResponse& field_response() const;
23 
24  // IConfigurable
25  virtual void configure(const WireCell::Configuration& config);
27 
28  private:
31  };
32 
33  }
34 
35 }
36 #endif
std::string string
Definition: nybbler.cc:12
Response::Schema::FieldResponse m_fr
Definition: FieldResponse.h:30
FieldResponse(const char *frfilename="")
static Config * config
Definition: config.cpp:1054
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
virtual const Response::Schema::FieldResponse & field_response() const
Return the field response data.
Definition: Main.h:22
Json::Value Configuration
Definition: Configuration.h:50
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Hold info about multiple plane responses in the detector.
Definition: Response.h:75