CMS 3D CMS Logo

MillePedeFileConverter.h
Go to the documentation of this file.
1 #ifndef MillePedeFileConverter_h
2 #define MillePedeFileConverter_h
3 
4 // Original Author: Broen van Besien
5 // Created: Thu, 19 Mar 2015 18:12:35 GMT
6 
7 /*
8  * This producer will take a given (binary) file and embed it in the output
9  * edm/root file.
10  *
11  * The file is added as a fileblob to a vector of fileblobs that exists on the
12  * level of the run.
13  * The operation is performed during the endRunProduce phase.
14  *
15  * The file can later be extracted again by the corresponding module
16  * MillePedeFileExtractor.
17  *
18  * For more info about the possible parameters, type:
19  * edmPluginHelp -p MillePedeFileConverter
20  */
21 
27 
28 class MillePedeFileConverter : public edm::one::EDProducer<edm::EndLuminosityBlockProducer> {
29 public:
31  ~MillePedeFileConverter() override = default;
32  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
33 
34 private:
35  void produce(edm::Event&, const edm::EventSetup&) override {}
37 
41 };
42 
43 // define this as a plug-in
45 
46 #endif
const std::string fileBlobLabel_
~MillePedeFileConverter() override=default
void produce(edm::Event &, const edm::EventSetup &) override
MillePedeFileConverter(const edm::ParameterSet &)
void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) final
const std::string inputFileName_
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)