TruthTraceID.h
Go to the documentation of this file.
1 #ifndef WIRECELLGEN_TRUTHTRACEID
2 #define WIRECELLGEN_TRUTHTRACEID
3 
4 #include "WireCellUtil/Pimpos.h"
6 #include "WireCellUtil/Binning.h"
7 
10 
12 #include "WireCellIface/IRandom.h"
13 
14 namespace WireCell{
15  namespace Gen{
16  class TruthTraceID : public IDuctor, public IConfigurable {
17  public:
18  TruthTraceID();
19 
20  virtual void reset();
21  virtual bool operator()(const input_pointer& depo, output_queue& frames);
22  virtual void configure(const WireCell::Configuration& config);
24 
25  private:
28 
32 
33  double m_start_time;
36  double m_drift_speed;
37  double m_nsigma;
38  double m_truth_gain;
40 
41 
43  bool m_eos;
44 
48  double m_ind_sigma;
49  double m_col_sigma;
50  double m_time_sigma;
51  double m_wire_power;
52  double m_time_power;
57 
58  void process(output_queue& frame);
59  };
60  }
61 }
62 
63 #endif
void process(output_queue &frame)
std::string string
Definition: nybbler.cc:12
std::vector< pointer > vector
Definition: IData.h:21
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
std::deque< output_pointer > output_queue
static Config * config
Definition: config.cpp:1054
std::shared_ptr< Interface > pointer
Definition: Interface.h:16
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition: Main.h:22
virtual bool operator()(const input_pointer &depo, output_queue &frames)
The calling signature:
Json::Value Configuration
Definition: Configuration.h:50
std::shared_ptr< const IDepo > input_pointer
IAnodePlane::pointer m_anode
Definition: TruthTraceID.h:29
IRandom::pointer m_rng
Definition: TruthTraceID.h:30