#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 boost::shared_ptr< StringCutObjectSelector< Obj > > &func) const |
template<typename Obj > | |
boost::shared_ptr < StringCutObjectSelector< Obj > > | tryGet (const std::string &str) |
Private Attributes | |
boost::shared_ptr < StringCutObjectSelector < reco::Candidate > > | candFunc_ |
boost::shared_ptr < StringCutObjectSelector < pat::Electron > > | eleFunc_ |
std::string | expr_ |
boost::shared_ptr < StringCutObjectSelector < pat::Photon > > | gamFunc_ |
boost::shared_ptr < StringCutObjectSelector < pat::GenericParticle > > | gpFunc_ |
boost::shared_ptr < StringCutObjectSelector < pat::Jet > > | jetFunc_ |
boost::shared_ptr < StringCutObjectSelector < pat::MET > > | metFunc_ |
boost::shared_ptr < StringCutObjectSelector < pat::Muon > > | muFunc_ |
boost::shared_ptr < StringCutObjectSelector < pat::PFParticle > > | pfFunc_ |
boost::shared_ptr < StringCutObjectSelector < pat::Tau > > | tauFunc_ |
Definition at line 61 of file StringParserTools.h.
|
inline |
Definition at line 64 of file StringParserTools.h.
PATStringCutObjectSelector::PATStringCutObjectSelector | ( | const std::string & | string | ) |
Definition at line 40 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 57 of file StringParserTools.cc.
References EnergyCorrector::c, candFunc_, eleFunc_, Exception, expr_, gamFunc_, gpFunc_, jetFunc_, metFunc_, muFunc_, pfFunc_, and tauFunc_.
|
private |
Definition at line 72 of file StringParserTools.cc.
References Exception, and expr_.
Referenced by tryEval().
|
inlineprivate |
Definition at line 93 of file StringParserTools.h.
References assert(), EnergyCorrector::c, RecoJets_EventContent_cff::func, and throwBadType().
|
inlineprivate |
Definition at line 83 of file StringParserTools.h.
|
private |
Definition at line 71 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 73 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 70 of file StringParserTools.h.
Referenced by operator()(), and throwBadType().
|
private |
Definition at line 76 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 79 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 78 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 80 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().
|
private |
Definition at line 75 of file StringParserTools.h.
Referenced by operator()(), and PATStringCutObjectSelector().