File indexing completed on 2024-04-06 12:13:55
0001 #ifndef GeneratorInterface_Pythia8Interface_SLHAReaderBase
0002 #define GeneratorInterface_Pythia8Interface_SLHAReaderBase
0003
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005
0006 #include <string>
0007 #include <vector>
0008
0009 class TFile;
0010 class TTree;
0011
0012 class SLHAReaderBase {
0013 public:
0014 SLHAReaderBase(const edm::ParameterSet& conf);
0015 virtual ~SLHAReaderBase();
0016
0017
0018
0019 virtual std::string getSLHA(const std::string& configDesc) = 0;
0020
0021 static std::vector<std::string> splitline(const std::string& line, char delim);
0022
0023 protected:
0024
0025 TFile* file_;
0026 TTree* tree_;
0027 };
0028
0029 #include "FWCore/PluginManager/interface/PluginFactory.h"
0030 typedef edmplugin::PluginFactory<SLHAReaderBase*(const edm::ParameterSet&)> SLHAReaderFactory;
0031
0032 #endif