Go to the documentation of this file. 1 #ifndef HLTcore_HLTPrescaleProvider_h
2 #define HLTcore_HLTPrescaleProvider_h
31 class ConsumesCollector;
62 template <
typename T =
unsigned int>
71 template <
typename TL1 =
int,
typename THLT = TL1>
81 template <
typename TL1 =
int,
typename THLT = TL1>
85 std::pair<std::vector<std::pair<std::string, TL1> >, THLT> retval;
112 unsigned char count_[5] = {0, 0, 0, 0, 0};
116 template <
typename T>
120 template <
typename T>
134 unsigned int HLTPrescaleProvider::prescaleValue<unsigned int>(
const edm::Event&
iEvent,
void checkL1TGlobalUtil() const
l1t::L1TGlobalUtil const & l1tGlobalUtil() const
HLTConfigProvider const & hltConfigProvider() const
HLTPrescaleProvider(edm::ParameterSet const &pset, edm::ConsumesCollector &&iC, T &module)
T convertL1PS(double val) const
std::pair< TL1, THLT > prescaleValues(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
Combined L1T (pair.first) and HLT (pair.second) prescales per HLT path.
int prescaleSet(const edm::Event &iEvent, const edm::EventSetup &iSetup)
static const std::string triggerResults
bool rejectedByHLTPrescaler(const edm::TriggerResults &triggerResults, unsigned int i) const
static int l1PrescaleDenominator()
L1GtUtils const & l1GtUtils() const
std::unique_ptr< l1t::L1TGlobalUtil > l1tGlobalUtil_
static constexpr int kL1PrescaleDenominator_
std::pair< std::vector< std::pair< std::string, TL1 > >, THLT > prescaleValuesInDetail(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
T prescaleValue(unsigned int set, const std::string &trigger) const
HLT prescale value in specific prescale set for a specific trigger path.
std::unique_ptr< L1GtUtils > l1GtUtils_
boost::rational< int > FractionalPrescale
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
std::vector< std::pair< std::string, double > > getL1PrescaleValueInDetail(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
T prescaleValue(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
combining the two methods above
double getL1PrescaleValue(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
void checkL1GtUtils() const
HLTConfigProvider hltConfigProvider_