#include <StringParserTools.h>
Public Member Functions | |
bool | operator() (const reco::Candidate &c) const |
PATStringCutObjectSelector () | |
PATStringCutObjectSelector (const std::string &string) | |
Private Member Functions | |
void | throwBadType (const std::type_info &ty1) const |
template<typename Obj > | |
bool | tryEval (const reco::Candidate &c, const std::shared_ptr< StringCutObjectSelector< Obj > > &func) const |
template<typename Obj > | |
std::shared_ptr< StringCutObjectSelector< Obj > > | tryGet (const std::string &str) |
Private Attributes | |
std::shared_ptr< StringCutObjectSelector< reco::Candidate > > | candFunc_ |
std::shared_ptr< StringCutObjectSelector< pat::Electron > > | eleFunc_ |
std::string | expr_ |
std::shared_ptr< StringCutObjectSelector< pat::Photon > > | gamFunc_ |
std::shared_ptr< StringCutObjectSelector< pat::GenericParticle > > | gpFunc_ |
std::shared_ptr< StringCutObjectSelector< pat::Jet > > | jetFunc_ |
std::shared_ptr< StringCutObjectSelector< pat::MET > > | metFunc_ |
std::shared_ptr< StringCutObjectSelector< pat::Muon > > | muFunc_ |
std::shared_ptr< StringCutObjectSelector< pat::PFParticle > > | pfFunc_ |
std::shared_ptr< StringCutObjectSelector< pat::Tau > > | tauFunc_ |
Definition at line 59 of file StringParserTools.h.
|
inline |
Definition at line 61 of file StringParserTools.h.
PATStringCutObjectSelector::PATStringCutObjectSelector | ( | const std::string & | string | ) |
Definition at line 48 of file StringParserTools.cc.
References candFunc_, eleFunc_, gamFunc_, gpFunc_, jetFunc_, metFunc_, muFunc_, pfFunc_, AlCaHLTBitMon_QueryRunRegistry::string, and tauFunc_.
bool PATStringCutObjectSelector::operator() | ( | const reco::Candidate & | c | ) | const |
Definition at line 62 of file StringParserTools.cc.
References DummyCfis::c, candFunc_, eleFunc_, Exception, expr_, gamFunc_, gpFunc_, jetFunc_, metFunc_, muFunc_, pfFunc_, and tauFunc_.
|
private |
Definition at line 87 of file StringParserTools.cc.
References Exception, and expr_.
Referenced by tryEval().
|
inlineprivate |
Definition at line 89 of file StringParserTools.h.
References cms::cuda::assert(), DummyCfis::c, EcalMonitorTask_cff::func, and throwBadType().
|
inlineprivate |
|
private |
Definition at line 68 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 70 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 67 of file StringParserTools.h.
Referenced by operator()(), and throwBadType().
|
private |
Definition at line 73 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 76 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 74 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 75 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 71 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 77 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 72 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().