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 
29  : public edm::one::EDProducer<edm::EndLuminosityBlockProducer> {
30  public:
33  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
34 
35  private:
36  virtual void produce(edm::Event&, const edm::EventSetup&) override {}
38  const edm::EventSetup&) override final;
39 
43 };
44 
45 // define this as a plug-in
47 
48 #endif
const std::string fileBlobLabel_
virtual void produce(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
virtual void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) override final
MillePedeFileConverter(const edm::ParameterSet &)
const std::string inputFileName_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)