1 #ifndef GeneratorInterface_RivetInterface_RivetAnalyzer
2 #define GeneratorInterface_RivetInterface_RivetAnalyzer
5 #include "Rivet/AnalysisHandler.hh"
16 #include "Rivet/Tools/RivetYODA.hh"
23 :
public edm::one::EDAnalyzer<edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources> {
74 std::vector<MonitorElement *>
_mes;
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
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
std::string _selectMultiWeights
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
void beginRun(const edm::Run &, const edm::EventSetup &) override
RivetAnalyzer(const edm::ParameterSet &)
edm::EDGetTokenT< GenLumiInfoHeader > _genLumiInfoToken
edm::EDGetTokenT< edm::HepMCProduct > _hepmcCollection
edm::EDGetTokenT< LHERunInfoProduct > _lheRunInfoToken
std::vector< std::string > _lheWeightNames
dqm::legacy::DQMStore DQMStore
void endJob() override
List of registered analysis data objects.
edm::EDGetTokenT< LHEEventProduct > _LHECollection
std::vector< std::string > _weightNames
dqm::legacy::MonitorElement MonitorElement
edm::EDGetTokenT< GenEventInfoProduct > _genEventInfoCollection
std::vector< MonitorElement * > _mes
~RivetAnalyzer() override