File indexing completed on 2024-04-06 11:56:34
0001 #ifndef MillePedeFileConverter_h
0002 #define MillePedeFileConverter_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include "FWCore/Framework/interface/Frameworkfwd.h"
0023 #include "FWCore/Framework/interface/one/EDProducer.h"
0024 #include "FWCore/Framework/interface/Event.h"
0025 #include "FWCore/Framework/interface/MakerMacros.h"
0026 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0027
0028 class MillePedeFileConverter : public edm::one::EDProducer<edm::EndLuminosityBlockProducer> {
0029 public:
0030 explicit MillePedeFileConverter(const edm::ParameterSet&);
0031 ~MillePedeFileConverter() override = default;
0032 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0033
0034 private:
0035 void produce(edm::Event&, const edm::EventSetup&) override {}
0036 void endLuminosityBlockProduce(edm::LuminosityBlock&, const edm::EventSetup&) final;
0037
0038 const std::string inputDir_;
0039 const std::string inputFileName_;
0040 const std::string fileBlobLabel_;
0041 };
0042
0043
0044 DEFINE_FWK_MODULE(MillePedeFileConverter);
0045
0046 #endif