#include <FileCatalogMetadataSBN.h>
Definition at line 44 of file FileCatalogMetadataSBN.h.
util::FileCatalogMetadataSBN::FileCatalogMetadataSBN |
( |
fhicl::ParameterSet const & |
pset, |
|
|
art::ActivityRegistry & |
reg |
|
) |
| |
Definition at line 24 of file FileCatalogMetadataSBN_service.cc.
29 const char* expt = getenv(
"EXPERIMENT");
30 if(expt)
fExperiment = pset.get<std::string>(
"Experiment", expt);
else fExperiment = pset.get<std::string>(
"Experiment");
31 std::transform(fExperiment.begin(), fExperiment.end(), fExperiment.begin(), [](
unsigned char c){
return std::tolower(c);});
35 fFCLName = pset.get<std::string>(
"FCLName");
42 fMerge = pset.get<
int>(
"Merge", -1);
43 fParameters = pset.get<std::vector<std::pair<std::string, std::string>>>(
"Parameters", std::vector<std::pair<std::string, std::string>>());
util::FileCatalogMetadataSBN::~FileCatalogMetadataSBN |
( |
| ) |
|
|
default |
const std::string& util::FileCatalogMetadataSBN::GetFCLName |
( |
| ) |
const |
|
inline |
int util::FileCatalogMetadataSBN::GetMerge |
( |
| ) |
const |
|
inline |
const std::vector<std::pair<std::string, std::string> >& util::FileCatalogMetadataSBN::GetParameters |
( |
| ) |
const |
|
inline |
const std::string& util::FileCatalogMetadataSBN::GetProductionName |
( |
| ) |
const |
|
inline |
const std::string& util::FileCatalogMetadataSBN::GetProductionType |
( |
| ) |
const |
|
inline |
const std::string& util::FileCatalogMetadataSBN::GetProjectName |
( |
| ) |
const |
|
inline |
const std::string& util::FileCatalogMetadataSBN::GetProjectSoftware |
( |
| ) |
const |
|
inline |
const std::string& util::FileCatalogMetadataSBN::GetProjectStage |
( |
| ) |
const |
|
inline |
const std::string& util::FileCatalogMetadataSBN::GetProjectVersion |
( |
| ) |
const |
|
inline |
void util::FileCatalogMetadataSBN::postBeginJob |
( |
| ) |
|
|
private |
Definition at line 56 of file FileCatalogMetadataSBN_service.cc.
60 art::ServiceHandle<art::FileCatalogMetadata> mds;
64 mds->addMetadata(
"fcl.name",
fFCLName);
71 std::ostringstream ostr;
74 mds->addMetadata(
"merge.merge",
"1");
76 mds->addMetadata(
"merge.merge",
"0");
77 mds->addMetadata(
"merge.merged",
"0");
80 mds->addMetadata(param.first, param.second);
void util::FileCatalogMetadataSBN::postEndSubRun |
( |
art::SubRun const & |
subrun | ) |
|
|
private |
void util::FileCatalogMetadataSBN::preCloseOutputFile |
( |
const std::string & |
label | ) |
|
|
private |
Definition at line 96 of file FileCatalogMetadataSBN_service.cc.
99 art::ServiceHandle<art::FileCatalogMetadata> mds;
102 std::ostringstream streamObj;
104 std::string strPOT = streamObj.str();
105 mds->addMetadata(
"mc.pot", strPOT);
std::string util::FileCatalogMetadataSBN::fExperiment |
|
private |
std::string util::FileCatalogMetadataSBN::fFCLName |
|
private |
int util::FileCatalogMetadataSBN::fMerge |
|
private |
std::vector<std::pair<std::string, std::string> > util::FileCatalogMetadataSBN::fParameters |
|
private |
std::string util::FileCatalogMetadataSBN::fPOTModuleLabel |
|
private |
std::string util::FileCatalogMetadataSBN::fProductionName |
|
private |
std::string util::FileCatalogMetadataSBN::fProductionType |
|
private |
std::string util::FileCatalogMetadataSBN::fProjectName |
|
private |
std::string util::FileCatalogMetadataSBN::fProjectSoftware |
|
private |
std::string util::FileCatalogMetadataSBN::fProjectStage |
|
private |
std::string util::FileCatalogMetadataSBN::fProjectVersion |
|
private |
double util::FileCatalogMetadataSBN::fTotPOT |
|
private |
The documentation for this class was generated from the following files: