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

Classes

struct  Config
 

Public Types

using Parameters = art::EDProducer::Table< Config >
 

Public Member Functions

 LegacyGeometryInfoWriter (Parameters const &config)
 
virtual void beginRun (art::Run &run) override
 
virtual void produce (art::Event &) override
 

Private Attributes

std::string fDetectorName
 Name of the detector. More...
 

Detailed Description

Definition at line 41 of file LegacyGeometryInfoWriter_module.cc.

Member Typedef Documentation

using geo::LegacyGeometryInfoWriter::Parameters = art::EDProducer::Table<Config>

Definition at line 53 of file LegacyGeometryInfoWriter_module.cc.

Constructor & Destructor Documentation

geo::LegacyGeometryInfoWriter::LegacyGeometryInfoWriter ( Parameters const &  config)
explicit

Definition at line 87 of file LegacyGeometryInfoWriter_module.cc.

88  : art::EDProducer(config)
89  , fDetectorName(::toLower(config().Name()))
90 {
91 
92  produces<sumdata::RunData, art::InRun>();
93 
94 } // geo::LegacyGeometryInfoWriter::LegacyGeometryInfoWriter()
std::string fDetectorName
Name of the detector.
BEGIN_PROLOG vertical distance to the surface Name

Member Function Documentation

void geo::LegacyGeometryInfoWriter::beginRun ( art::Run &  run)
overridevirtual

Definition at line 98 of file LegacyGeometryInfoWriter_module.cc.

98  {
99 
100  run.put(std::make_unique<sumdata::RunData>(fDetectorName), art::fullRun());
101 
102 } // geo::LegacyGeometryInfoWriter::beginRun()
std::string fDetectorName
Name of the detector.
virtual void geo::LegacyGeometryInfoWriter::produce ( art::Event &  )
inlineoverridevirtual

Definition at line 59 of file LegacyGeometryInfoWriter_module.cc.

59 {}

Member Data Documentation

std::string geo::LegacyGeometryInfoWriter::fDetectorName
private

Name of the detector.

Definition at line 63 of file LegacyGeometryInfoWriter_module.cc.


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