CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/GeneratorInterface/SherpaInterface/interface/SherpackFetcher.h

Go to the documentation of this file.
00001 #ifndef SherpackFetcher_h
00002 #define SherpackFetcher_h
00003 
00004 #include <iostream>
00005 #include <sstream>
00006 #include <string>
00007 #include <memory>
00008 #include <stdint.h>
00009 #include <fcntl.h>
00010 #include <fstream>
00011 #include "frontier_client/frontier-cpp.h"
00012 
00013 #include "FWCore/Framework/interface/Frameworkfwd.h"
00014 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
00015 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
00016 
00017 #include "FWCore/Catalog/interface/SiteLocalConfig.h"
00018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00019 #include "FWCore/ServiceRegistry/interface/Service.h"
00020 #include "FWCore/Services/src/SiteLocalConfigService.h"
00021 #include "FWCore/ServiceRegistry/interface/ServiceRegistry.h"
00022 #include "FWCore/Utilities/interface/Exception.h"
00023 
00024 #include "GeneratorInterface/SherpaInterface/interface/SherpackUtilities.h"
00025 
00026 namespace spf {
00027 
00028 class SherpackFetcher {
00029 public:
00030   SherpackFetcher(edm::ParameterSet const&);
00031   int Fetch();
00032   ~SherpackFetcher();
00033   int FnFileGet(std::string);
00034   const char *classname() const { return "SherpackFetcher"; }
00035   
00036 private:
00037 
00038   std::string SherpaProcess;
00039   std::string SherpackLocation;
00040   std::string SherpackChecksum;
00041   bool FetchSherpack;
00042   std::string SherpaPath;
00043   
00044 };
00045 
00046 }
00047 
00048 #endif