Fourdee.h
Go to the documentation of this file.
1 #ifndef WIRECELL_FOURDEE_H
2 #define WIRECELL_FOURDEE_H
3 
6 
10 #include "WireCellIface/IDuctor.h"
14 
16 
17 
18 namespace WireCell {
19  namespace Gen {
20 
21  /**
22 
23  Fourdee is a Wire Cell Toolkit application class which
24  handles a chain of "the 4 D's": deposition, drifting,
25  "ducting" (induction response) and digitization. There is
26  an optional "5th D": "dissonance" which provides a source
27  of noise to be summed.
28 
29  Each step provided by a model implemented as an instance of the
30  associated component class. A final sink is also provided if
31  the digitization output is provided.
32 
33  */
35 
36  public:
37  Fourdee();
38  virtual ~Fourdee();
39 
40  virtual void execute();
41  virtual void execute_old();
42  virtual void execute_new();
43 
44  virtual void configure(const WireCell::Configuration& config);
46 
47  private:
48 
51  WireCell::IDrifter::pointer m_drifter; // optional, but likely
52  WireCell::IDuctor::pointer m_ductor; // effectively required
57  };
58  }
59 }
60 
61 #endif
WireCell::IDepoSource::pointer m_depos
Definition: Fourdee.h:49
std::shared_ptr< IFrameSink > pointer
Definition: IFrameSink.h:14
WireCell::IDepoFilter::pointer m_depofilter
Definition: Fourdee.h:50
std::shared_ptr< IFrameFilter > pointer
Definition: IFrameFilter.h:23
virtual void execute_new()
Definition: Fourdee.cxx:260
WireCell::IDuctor::pointer m_ductor
Definition: Fourdee.h:52
virtual void execute()
Implement to run something.
Definition: Fourdee.cxx:254
static Config * config
Definition: config.cpp:1054
virtual void execute_old()
Definition: Fourdee.cxx:361
WireCell::IFrameSource::pointer m_dissonance
Definition: Fourdee.h:53
std::shared_ptr< IFrameSource > pointer
Definition: IFrameSource.h:15
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
Definition: Fourdee.cxx:48
std::shared_ptr< IDepoSource > pointer
Definition: IDepoSource.h:14
Definition: Main.h:22
WireCell::IFrameSink::pointer m_output
Definition: Fourdee.h:56
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition: Fourdee.cxx:30
std::shared_ptr< IDrifter > pointer
Definition: IDrifter.h:21
std::shared_ptr< IDepoFilter > pointer
Definition: IDepoFilter.h:16
std::shared_ptr< IDuctor > pointer
Definition: IDuctor.h:25
Json::Value Configuration
Definition: Configuration.h:50
WireCell::IDrifter::pointer m_drifter
Definition: Fourdee.h:51
WireCell::IFrameFilter::pointer m_filter
Definition: Fourdee.h:55
WireCell::IFrameFilter::pointer m_digitizer
Definition: Fourdee.h:54