All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
wcls::WireCellToolkit Class Reference
Inheritance diagram for wcls::WireCellToolkit:

Public Member Functions

 WireCellToolkit (fhicl::ParameterSet const &pset, art::ProcessingFrame const &)
 
virtual ~WireCellToolkit ()
 
void produce (art::Event &evt, art::ProcessingFrame const &)
 
void reconfigure (fhicl::ParameterSet const &pset)
 

Private Attributes

std::unique_ptr< wcls::MainToolm_wcls
 

Detailed Description

Definition at line 10 of file WireCellToolkit_module.cc.

Constructor & Destructor Documentation

wcls::WireCellToolkit::WireCellToolkit ( fhicl::ParameterSet const &  pset,
art::ProcessingFrame const &   
)
explicit

Definition at line 23 of file WireCellToolkit_module.cc.

24  : SharedProducer(pset)
25 {
26  const std::string s{"WCT"};
27  serializeExternal(s);
28  this->reconfigure(pset);
29 }
void reconfigure(fhicl::ParameterSet const &pset)
then echo File list $list not found else cat $list while read file do echo $file sed s
Definition: file_to_url.sh:60
wcls::WireCellToolkit::~WireCellToolkit ( )
virtual

Definition at line 30 of file WireCellToolkit_module.cc.

30 {}

Member Function Documentation

void wcls::WireCellToolkit::produce ( art::Event &  evt,
art::ProcessingFrame const &   
)

Definition at line 33 of file WireCellToolkit_module.cc.

34 {
35  m_wcls->process(evt);
36 }
std::unique_ptr< wcls::MainTool > m_wcls
TCEvent evt
Definition: DataStructs.cxx:8
void wcls::WireCellToolkit::reconfigure ( fhicl::ParameterSet const &  pset)

Definition at line 39 of file WireCellToolkit_module.cc.

40 {
41  auto const& wclsPS = pset.get<fhicl::ParameterSet>("wcls_main");
42  m_wcls = art::make_tool<wcls::MainTool>(wclsPS);
43  if (!m_wcls) {
44  throw cet::exception("WireCellToolkit_module") << "Failed to get Art Tool \"wcls_main\"\n";
45  }
46  m_wcls->produces(producesCollector());
47 }
std::unique_ptr< wcls::MainTool > m_wcls

Member Data Documentation

std::unique_ptr<wcls::MainTool> wcls::WireCellToolkit::m_wcls
private

Definition at line 19 of file WireCellToolkit_module.cc.


The documentation for this class was generated from the following file: