CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
29  : public edm::one::EDProducer<edm::EndRunProducer> {
30  public:
33  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
34 
35  private:
36  virtual void produce(edm::Event&, const edm::EventSetup&) override {}
37  virtual void endRunProduce(edm::Run& run,
38  const edm::EventSetup& iSetup) override final;
39 
43 };
44 
45 // define this as a plug-in
47 
48 #endif
virtual void produce(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
MillePedeFileConverter(const edm::ParameterSet &)
virtual void endRunProduce(edm::Run &run, const edm::EventSetup &iSetup) overridefinal
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: Run.h:43