11 for (
int i = 0;
i != 128;
i++) {
17 for (
int i = 0;
i != 64;
i++) {
32 for (
int i = 0;
i != 128;
i++) {
35 double r = dWord.at(i);
40 for (
int i = 0;
i != 64;
i++) {
44 double r = tTWord.at(i);
66 for (
unsigned int iT = 0; iT != validTriggerNames_.size(); ++iT) {
67 TString
tname(validTriggerNames_[iT]);
68 tname.ReplaceAll(
"HLT_",
"");
79 for (
unsigned int iT = 0; iT != validTriggerNames_.size(); ++iT) {
80 TString
tname(validTriggerNames_[iT]);
81 tname.ReplaceAll(
"HLT_",
"");
105 return std::make_pair(
false, 0);
108 if (index == trgNames.
size())
109 return std::make_pair(
false, 0);
111 return std::make_pair(
true, hltHandle->
accept(index));
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::vector< std::string > validTriggerNames_
const TechnicalTriggerWord & technicalTriggerWord(int bxInEventValue) const
CachingVariable::evalType eval(const edm::Event &iEvent) const override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
HLTBitComputer(CachingVariable::CachingVariableFactoryArg arg, edm::ConsumesCollector &iC)
static char const * tname
bool accept() const
Has at least one path accepted the event?
edm::EDGetTokenT< edm::TriggerResults > src_
const std::vector< std::string > & triggerNames() const
names of trigger paths
void compute(const edm::Event &iEvent) const override
Strings::size_type size() const
void assign(std::string var, double &value) const
edm::ParameterSet & iConfig
unsigned int triggerIndex(std::string const &name) const
L1BitComputer(CachingVariable::CachingVariableFactoryArg arg, edm::ConsumesCollector &iC)
std::vector< bool > DecisionWord
typedefs
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
HLTBitVariable(CachingVariableFactoryArg arg, edm::ConsumesCollector &iC)
const DecisionWord & decisionWord(int bxInEventValue) const
CachingVariable::vMap & m
~HLTBitComputer() override
edm::EDGetTokenT< edm::TriggerResults > src_
~L1BitComputer() override
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > src_
void doesNotCompute() const
void declare(std::string var, edm::ConsumesCollector &iC)
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
std::pair< bool, valueType > evalType
void compute(const edm::Event &iEvent) const override