1 #ifndef GeneratorInterface_RivetInterface_RivetAnalyzer 2 #define GeneratorInterface_RivetInterface_RivetAnalyzer 5 #include "Rivet/AnalysisHandler.hh" 16 #include "Rivet/Tools/RivetYODA.hh" 62 std::shared_ptr<HepMC3::GenRunInfo>
runinfo;
void analyze(const edm::Event &, const edm::EventSetup &) override
void endRun(const edm::Run &, const edm::EventSetup &) override
std::string _deselectMultiWeights
std::unique_ptr< Rivet::AnalysisHandler > _analysisHandler
std::vector< std::string > _cleanedWeightNames
std::string _setNominalWeightName
std::vector< std::string > _analysisNames
const edm::InputTag _lheLabel
edm::EDGetTokenT< edm::HepMC3Product > _hepmcCollection
std::string _selectMultiWeights
void beginRun(const edm::Run &, const edm::EventSetup &) override
RivetAnalyzer(const edm::ParameterSet &)
edm::EDGetTokenT< GenLumiInfoHeader > _genLumiInfoToken
edm::EDGetTokenT< LHERunInfoProduct > _lheRunInfoToken
std::shared_ptr< HepMC3::GenRunInfo > runinfo
std::vector< std::string > _lheWeightNames
edm::EDGetTokenT< LHEEventProduct > _LHECollection
std::vector< std::string > _weightNames
edm::EDGetTokenT< GenEventInfoProduct > _genEventInfoCollection
~RivetAnalyzer() override