Definition at line 68 of file OpHitFinderICARUS_module.cc.
ophit::OpHitFinderICARUS::OpHitFinderICARUS |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
explicit |
Definition at line 93 of file OpHitFinderICARUS_module.cc.
95 produces<std::vector<recob::OpHit>>();
99 fOpHitFinder = art::make_tool<light::IOpHitFinder> (
p.get<fhicl::ParameterSet>(
"OpHitFinder"));
std::string fInputModuleName
std::unique_ptr< light::IOpHitFinder > fOpHitFinder
void ophit::OpHitFinderICARUS::produce |
( |
art::Event & |
e | ) |
|
|
override |
Definition at line 102 of file OpHitFinderICARUS_module.cc.
104 std::cout <<
"My module on event #" <<
e.id().event() << std::endl;
109 std::unique_ptr<std::vector<recob::OpHit>> pulseVecPtr(std::make_unique<std::vector<recob::OpHit>>());
111 art::Handle< std::vector< raw::OpDetWaveform > > wfHandle;
114 if(!wfHandle.isValid())
116 std::cout <<Form(
"Did not find any G4 photons from a producer: %s",
"largeant") << std::endl;
119 std::cout <<
"Dimensione primo " << wfHandle->size() << std::endl;
122 for(
auto const& wvf : (*wfHandle))
128 for(
auto& opHit : opHitVec)
129 pulseVecPtr->emplace_back(opHit);
132 e.put(std::move(pulseVecPtr));
std::string fInputModuleName
std::unique_ptr< light::IOpHitFinder > fOpHitFinder
std::vector< recob::OpHit > OpHitVec
BEGIN_PROLOG could also be cout
size_t ophit::OpHitFinderICARUS::fEvNumber |
|
private |
std::string ophit::OpHitFinderICARUS::fInputModuleName |
|
private |
The documentation for this class was generated from the following file: