Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:12

0001 #ifndef SherpackFetcher_h
0002 #define SherpackFetcher_h
0003 
0004 #include <iostream>
0005 #include <sstream>
0006 #include <string>
0007 #include <memory>
0008 #include <cstdint>
0009 #include <fstream>
0010 
0011 #include "FWCore/Framework/interface/Frameworkfwd.h"
0012 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0013 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0014 
0015 #include "FWCore/Utilities/interface/Exception.h"
0016 #include "GeneratorInterface/SherpaInterface/interface/SherpackUtilities.h"
0017 
0018 namespace spf {
0019 
0020   class SherpackFetcher {
0021   public:
0022     SherpackFetcher(edm::ParameterSet const &);
0023     int Fetch();
0024     ~SherpackFetcher();
0025     int CopyFile(std::string pathstring);
0026     const char *classname() const { return "SherpackFetcher"; }
0027 
0028   private:
0029     std::string SherpaProcess;
0030     std::string SherpackLocation;
0031     std::string SherpackChecksum;
0032     bool FetchSherpack;
0033     std::string SherpaPath;
0034   };
0035 
0036 }  // namespace spf
0037 
0038 #endif