14 : inputDir_(iConfig.getParameter<
std::
string>(
"fileDir")),
15 inputFileName_(iConfig.getParameter<
std::
string>(
"inputBinaryFile")),
16 fileBlobLabel_(iConfig.getParameter<
std::
string>(
"fileBlobLabel")) {
18 produces<FileBlobCollection, edm::Transition::EndLuminosityBlock>(
fileBlobLabel_);
26 <<
" as a FileBlob to the lumi, using label \"" <<
fileBlobLabel_ <<
"\".";
28 auto fileBlobCollection = std::make_unique<FileBlobCollection>();
34 if (fileBlob.size() > 0) {
36 fileBlobCollection->addFileBlob(fileBlob);
38 << fileBlob.size() << std::endl;
42 <<
" Root file contains " << fileBlobCollection->size() <<
" FileBlob(s).";
53 "Keep the fileDir empty if you want to write to the current " 54 "directory. If you use it, it should end with a slash.");
57 ->setComment(
"Filename of the file created by Mille in the AlignmentProducer");
61 "It's probably a good idea to keep the label the same as the " 62 "original filename(s). See configuration of " 63 "MillePedeFileExtractor, it should be the same there.");
65 descriptions.
add(
"millePedeFileConverter",
desc);
67 "This is the generic cfi file for the " 68 "MillePedeFileConverter");
const std::string fileBlobLabel_
ModuleDescription const & moduleDescription() const
std::string const & moduleName() const
MillePedeFileConverter(const edm::ParameterSet &)
void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) final
const std::string inputFileName_
Log< level::Info, false > LogInfo
void setComment(std::string const &value)
const std::string inputDir_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::string const & moduleLabel() const