#include <EgHLTTrigCodes.h>
Definition at line 21 of file EgHLTTrigCodes.h.
egHLT::TrigCodes::~TrigCodes |
( |
| ) |
|
|
default |
egHLT::TrigCodes::TrigCodes |
( |
const TrigCodes & |
| ) |
|
|
delete |
egHLT::TrigCodes::TrigCodes |
( |
| ) |
|
|
privatedefault |
Definition at line 44 of file EgHLTTrigCodes.cc.
References codeDefs_, plotBeamSpotDB::first, runEdmFileComparison::found, and mps_fire::i.
Referenced by egHLT::MonElemFuncs::addTightLooseTrigHist(), egHLT::trigTools::getFiltersPassed(), egHLT::MonElemFuncs::initTightLooseDiObjTrigHistsTrigCuts(), egHLT::MonElemFuncs::initTightLooseTrigHistsTrigCuts(), egHLT::MonElemFuncs::initTrigTagProbeHist(), egHLT::MonElemFuncs::initTrigTagProbeHist_2Leg(), egHLT::MonElemFuncs::initTrigTagProbeHists(), egHLT::trigTools::setFiltersObjPasses(), egHLT::OffHelper::setTrigInfo(), and egHLT::OffHelper::setupTriggers().
47 char localDescript[512];
48 strcpy(localDescript,descript);
51 char* codeKey = strtok(localDescript,
":");
53 while(codeKey!=
nullptr){
65 codeKey = strtok(
nullptr,
":");
std::vector< std::pair< std::string, TrigBitSet > > codeDefs_
std::bitset< maxNrBits_ > TrigBitSet
TrigBitSet egHLT::TrigCodes::getCode |
( |
const std::string & |
descript | ) |
const |
|
inline |
void TrigCodes::getCodeName |
( |
TrigBitSet |
code, |
|
|
std::string & |
id |
|
) |
| const |
|
private |
bool TrigCodes::keyComp |
( |
const std::pair< std::string, TrigBitSet > & |
lhs, |
|
|
const std::pair< std::string, TrigBitSet > & |
rhs |
|
) |
| |
|
staticprivate |
TrigCodes * TrigCodes::makeCodes |
( |
std::vector< std::string > & |
filterNames | ) |
|
|
static |
void TrigCodes::printCodes |
( |
| ) |
|
|
private |
Definition at line 89 of file EgHLTTrigCodes.cc.
References codeDefs_, and mps_alisetup::msg.
Referenced by size().
91 std::ostringstream
msg;
92 msg <<
" trig bits defined: "<<std::endl;
93 for(
auto & codeDef :
codeDefs_) msg <<
" key : "<<codeDef.first<<
" bit "<<codeDef.second<<std::endl;
std::vector< std::pair< std::string, TrigBitSet > > codeDefs_
void TrigCodes::setCode |
( |
const char * |
descript, |
|
|
TrigBitSet |
code |
|
) |
| |
|
private |
void TrigCodes::setCode |
( |
const char * |
descript, |
|
|
int |
bitNr |
|
) |
| |
|
private |
Definition at line 21 of file EgHLTTrigCodes.cc.
References maxNrBits_, and setCode().
28 edm::LogWarning(
"TrigCodes::TrigBitSetMap") <<
" Warning, trying to store at bit "<<bitNr<<
" but max nr bits is "<<
maxNrBits_;
void setCode(const char *descript, TrigBitSet code)
static const int maxNrBits_
std::bitset< maxNrBits_ > TrigBitSet
size_t egHLT::TrigCodes::size |
( |
void |
| ) |
const |
|
inlineprivate |
void egHLT::TrigCodes::sort |
( |
| ) |
|
|
inlineprivate |
Definition at line 52 of file EgHLTTrigCodes.h.
References keyComp().
std::vector< std::pair< std::string, TrigBitSet > > codeDefs_
static bool keyComp(const std::pair< std::string, TrigBitSet > &lhs, const std::pair< std::string, TrigBitSet > &rhs)
std::vector<std::pair<std::string,TrigBitSet> > egHLT::TrigCodes::codeDefs_ |
|
private |
const int egHLT::TrigCodes::maxNrBits_ =128 |
|
static |