1 #ifndef GeneratorInterface_MCatNLOInterface_MCatNLOSource_h
2 #define GeneratorInterface_MCatNLOInterface_MCatNLOSource_h
71 std::unique_ptr<std::ifstream>
reader;
73 std::shared_ptr<lhef::LHERunInfo>
runInfo;
74 std::shared_ptr<lhef::LHEEvent>
event;
77 #endif // GeneratorInterface_MCatNLOInterface_MCatNLOSource_h
bool hwwarn(const std::string &fn, int code) override
unsigned int nEvents
Number of events.
~MCatNLOSource() override
std::shared_ptr< lhef::LHERunInfo > runInfo
void produce(edm::Event &event) override
EventNumber_t event() const
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
void beginRun(edm::Run &run) override
std::string fileName
Name of the input file.
std::unique_ptr< std::ifstream > reader
unsigned int skipEvents
Number of events to skip.
std::shared_ptr< lhef::LHEEvent > event
bool setRunAndEventInfo(edm::EventID &, edm::TimeValue_t &, edm::EventAuxiliary::ExperimentType &) override