10 #ifndef LARWIRECELL_COMPONENTS_SIMCHANNELSINK
11 #define LARWIRECELL_COMPONENTS_SIMCHANNELSINK
13 #include "WireCellIface/IDepoFilter.h"
14 #include "WireCellIface/IConfigurable.h"
15 #include "WireCellIface/IAnodePlane.h"
16 #include "WireCellIface/IRandom.h"
17 #include "WireCellUtil/Pimpos.h"
24 public WireCell::IDepoFilter,
25 public WireCell::IConfigurable {
32 virtual void produces(art::ProducesCollector& collector);
33 virtual void visit(art::Event & event);
36 virtual bool operator()(
const WireCell::IDepo::pointer& indepo,
37 WireCell::IDepo::pointer& outdepo);
41 virtual void configure(
const WireCell::Configuration& config);
46 std::vector<WireCell::IAnodePlane::pointer>
m_anodes;
47 WireCell::IRandom::pointer
m_rng;
49 std::map<unsigned int,sim::SimChannel>
m_mapSC;
void save_as_simchannel(const WireCell::IDepo::pointer &depo)
virtual void produces(art::ProducesCollector &collector)
IArtEventVisitor.
WireCell::IRandom::pointer m_rng
virtual void visit(art::Event &event)
Implement to visit an Art event.
virtual void configure(const WireCell::Configuration &config)
std::vector< WireCell::IAnodePlane::pointer > m_anodes
WireCell::IDepo::pointer m_depo
std::map< unsigned int, sim::SimChannel > m_mapSC
object containing MC truth information necessary for making RawDigits and doing back tracking ...
virtual bool operator()(const WireCell::IDepo::pointer &indepo, WireCell::IDepo::pointer &outdepo)
IDepoFilter.
virtual WireCell::Configuration default_configuration() const
IConfigurable.