1 #ifndef CommonTools_TriggerUtils_PrescaleWeightProvider_h 2 #define CommonTools_TriggerUtils_PrescaleWeightProvider_h 39 class ConsumesCollector;
PrescaleWeightProvider(const edm::ParameterSet &config, edm::ConsumesCollector &&iC, T &module)
int prescaleWeight(const edm::Event &event, const edm::EventSetup &setup)
edm::Handle< L1GtTriggerMenuLite > triggerMenuLite_
edm::InputTag triggerResultsTag_
std::vector< std::string > l1SeedPaths_
std::vector< std::string > hltPaths_
std::unique_ptr< HLTPrescaleProvider > hltPrescaleProvider_
void initRun(const edm::Run &run, const edm::EventSetup &setup)
edm::EDGetTokenT< L1GtTriggerMenuLite > l1GtTriggerMenuLiteToken_
This class takes a vector of HLT paths and returns a weight based on their HLT and L1 prescales...
config
parse the configuration file
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
~PrescaleWeightProvider()
edm::InputTag l1GtTriggerMenuLiteTag_
void parseL1Seeds(const std::string &l1Seeds)