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_);
25 <<
" as a FileBlob to the lumi, using label \"" <<
fileBlobLabel_ <<
"\".";
27 auto fileBlobCollection = std::make_unique<FileBlobCollection>();
33 if (fileBlob.size() > 0) {
35 fileBlobCollection->addFileBlob(fileBlob);
37 iLumi.
put(
std::move(fileBlobCollection), fileBlobLabel_);
47 "Keep the fileDir empty if you want to write to the current "
48 "directory. If you use it, it should end with a slash.");
51 ->setComment(
"Filename of the file created by Mille in the AlignmentProducer");
55 "It's probably a good idea to keep the label the same as the "
56 "original filename(s). See configuration of "
57 "MillePedeFileExtractor, it should be the same there.");
59 descriptions.
add(
"millePedeFileConverter", desc);
61 "This is the generic cfi file for the "
62 "MillePedeFileConverter");
const std::string fileBlobLabel_
MillePedeFileConverter(const edm::ParameterSet &)
void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) final
~MillePedeFileConverter() override
void put(std::unique_ptr< PROD > product)
Put a new product.
const std::string inputFileName_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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)