12 #include "art/Framework/Core/ModuleMacros.h"
13 #include "art/Framework/Core/EDProducer.h"
14 #include "art/Framework/Principal/Run.h"
15 #include "fhiclcpp/types/Atom.h"
24 namespace art {
class Event; }
40 namespace geo {
class LegacyGeometryInfoWriter; }
46 fhicl::Atom<std::string>
Name {
48 fhicl::Comment{
"Name of the detector to be stored in the data" }
57 virtual void beginRun(art::Run& run)
override;
59 virtual void produce(art::Event&)
override {}
74 std::string toLower(std::string
const&
S) {
77 s.reserve(S.length());
88 : art::EDProducer(config)
89 , fDetectorName(::toLower(config().
Name()))
92 produces<sumdata::RunData, art::InRun>();
100 run.put(std::make_unique<sumdata::RunData>(
fDetectorName), art::fullRun());
std::string fDetectorName
Name of the detector.
fhicl::Atom< std::string > Name
art::EDProducer::Table< Config > Parameters
see a below echo S(symbol in a section other than those above)
virtual void beginRun(art::Run &run) override
LegacyGeometryInfoWriter(Parameters const &config)
virtual void produce(art::Event &) override
BEGIN_PROLOG vertical distance to the surface Name
then echo File list $list not found else cat $list while read file do echo $file sed s