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;
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
EDProducer.h
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
MillePedeFileConverter::inputDir_
const std::string inputDir_
Definition: MillePedeFileConverter.h:38
edm::one::EDProducer
Definition: EDProducer.h:30
MillePedeFileConverter::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: MillePedeFileConverter.cc:42
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
MillePedeFileConverter::fileBlobLabel_
const std::string fileBlobLabel_
Definition: MillePedeFileConverter.h:40
MillePedeFileConverter::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: MillePedeFileConverter.h:35
edm::EventSetup
Definition: EventSetup.h:58
Frameworkfwd.h
ParameterSet.h
MillePedeFileConverter::~MillePedeFileConverter
~MillePedeFileConverter() override
Definition: MillePedeFileConverter.cc:21
edm::Event
Definition: Event.h:73
MillePedeFileConverter::MillePedeFileConverter
MillePedeFileConverter(const edm::ParameterSet &)
Definition: MillePedeFileConverter.cc:13
MillePedeFileConverter
Definition: MillePedeFileConverter.h:28
MillePedeFileConverter::endLuminosityBlockProduce
void endLuminosityBlockProduce(edm::LuminosityBlock &, const edm::EventSetup &) final
Definition: MillePedeFileConverter.cc:23
MillePedeFileConverter::inputFileName_
const std::string inputFileName_
Definition: MillePedeFileConverter.h:39