1 #ifndef GeneratorInterface_MCatNLOInterface_MCatNLOSource_h
2 #define GeneratorInterface_MCatNLOInterface_MCatNLOSource_h
6 #include <boost/shared_ptr.hpp>
76 std::unique_ptr<std::ifstream>
reader;
78 boost::shared_ptr<lhef::LHERunInfo>
runInfo;
79 boost::shared_ptr<lhef::LHEEvent>
event;
82 #endif // GeneratorInterface_MCatNLOInterface_MCatNLOSource_h
virtual void produce(edm::Event &event)
unsigned int nEvents
Number of events.
boost::shared_ptr< lhef::LHEEvent > event
std::unique_ptr< std::ifstream > inputFile
Pointer to the input file.
MCatNLOSource(const edm::ParameterSet ¶ms, const edm::InputSourceDescription &desc)
unsigned long long TimeValue_t
virtual bool hwwarn(const std::string &fn, int code)
std::string fileName
Name of the input file.
boost::shared_ptr< lhef::LHERunInfo > runInfo
std::unique_ptr< std::ifstream > reader
EventNumber_t event() const
unsigned int skipEvents
Number of events to skip.
virtual void beginRun(edm::Run &run)
virtual bool setRunAndEventInfo(edm::EventID &, edm::TimeValue_t &)