FileCatalogMetadataMPD.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // Name: FileCatalogMetadataMPD_service.cc.
3 //
4 // Purpose: Art service adds dune-specific per-job sam metadata.
5 //
6 // This service does not have user-callable methods. Simply
7 // add to an art configuration in services.user block of job
8 // file.
9 //
10 // Created: 7-Nov-2019
11 // copied from DUNE for MPD by T. Junk
12 // split from the original by T. Yang so we can include this
13 // Copied FileCatalogMetadataMicroBooNE_service.cc by H. Greenlee
14 //
15 ////////////////////////////////////////////////////////////////////////
16 
17 #ifndef FILECATALOGMETADATAMPD_H
18 #define FILECATALOGMETADATAMPD_H
19 
20 #include <string>
21 #include "fhiclcpp/ParameterSet.h"
27 
28 namespace util {
29 
30  // Class declaration.
31 
33  {
34  public:
35 
37  ~FileCatalogMetadataMPD() = default;
38 
39  const std::string& Generators() const { return fGenerators; }
41  const std::string& BeamFluxID() const { return fBeamFluxID; }
42  const std::string& MCName() const { return fMCName; }
43  const std::string& NeutrinoFlavors() const { return fNeutrinoFlavors; }
44  const std::string& Miscellaneous() const { return fMiscellaneous; }
45  const std::string& GeometryVersion() const { return fGeometryVersion; }
46  const std::string& Overlay() const { return fOverlay; }
47  const std::string& Run_Type() const { return fRunType; }
48  const std::string& Data_Tier() const { return fDataTier; }
49  const std::string& ApplName() const { return fApplName; }
50  const std::string& EnvVarVer() const { return fEnvVarVer; }
51  const std::string& Systematic() const { return fSystematic; }
52  const std::string& HornPolarity() const { return fHornPolarity; }
53 
54 
55  private:
56 
57  // Callbacks.
58 
59  void postBeginJob();
60 
61  // Data members.
62 
77  };
78 
79 
80 } // namespace util
81 
83 
84 #endif
Namespace for general, non-LArSoft-specific utilities.
std::string string
Definition: nybbler.cc:12
const std::string & Systematic() const
const std::string & TriggerListVersion() const
const std::string & GeometryVersion() const
const std::string & ApplName() const
const std::string & HornPolarity() const
const std::string & BeamFluxID() const
#define DECLARE_ART_SERVICE(svc, scope)
FileCatalogMetadataMPD(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
const std::string & Run_Type() const
const std::string & Generators() const
const std::string & Data_Tier() const
const std::string & Miscellaneous() const
const std::string & MCName() const
const std::string & Overlay() const
const std::string & NeutrinoFlavors() const
const std::string & EnvVarVer() const