#include <StringParserTools.h>
Public Member Functions | |
double | operator() (const reco::Candidate &c) const |
PATStringObjectFunction () | |
PATStringObjectFunction (const std::string &string) | |
Private Member Functions | |
void | throwBadType (const std::type_info &ty1) const |
template<typename Obj > | |
double | tryEval (const reco::Candidate &c, const boost::shared_ptr< StringObjectFunction< Obj > > &func) const |
template<typename Obj > | |
boost::shared_ptr < StringObjectFunction< Obj > > | tryGet (const std::string &str) |
Private Attributes | |
boost::shared_ptr < StringObjectFunction < reco::Candidate > > | candFunc_ |
boost::shared_ptr < StringObjectFunction < pat::Electron > > | eleFunc_ |
std::string | expr_ |
boost::shared_ptr < StringObjectFunction < pat::Photon > > | gamFunc_ |
boost::shared_ptr < StringObjectFunction < pat::GenericParticle > > | gpFunc_ |
boost::shared_ptr < StringObjectFunction < pat::Jet > > | jetFunc_ |
boost::shared_ptr < StringObjectFunction < pat::MET > > | metFunc_ |
boost::shared_ptr < StringObjectFunction < pat::Muon > > | muFunc_ |
boost::shared_ptr < StringObjectFunction < pat::PFParticle > > | pfFunc_ |
boost::shared_ptr < StringObjectFunction < pat::Tau > > | tauFunc_ |
Definition at line 17 of file StringParserTools.h.
|
inline |
Definition at line 20 of file StringParserTools.h.
PATStringObjectFunction::PATStringObjectFunction | ( | const std::string & | string | ) |
Definition at line 4 of file StringParserTools.cc.
References candFunc_, eleFunc_, gamFunc_, gpFunc_, jetFunc_, metFunc_, muFunc_, pfFunc_, AlCaHLTBitMon_QueryRunRegistry::string, and tauFunc_.
double PATStringObjectFunction::operator() | ( | const reco::Candidate & | c | ) | const |
Definition at line 21 of file StringParserTools.cc.
References EnergyCorrector::c, candFunc_, eleFunc_, edm::hlt::Exception, expr_, gamFunc_, gpFunc_, jetFunc_, metFunc_, muFunc_, pfFunc_, and tauFunc_.
|
private |
Definition at line 36 of file StringParserTools.cc.
References edm::hlt::Exception, and expr_.
Referenced by tryEval().
|
inlineprivate |
Definition at line 49 of file StringParserTools.h.
References assert(), EnergyCorrector::c, and throwBadType().
|
inlineprivate |
Definition at line 39 of file StringParserTools.h.
|
private |
Definition at line 27 of file StringParserTools.h.
Referenced by operator()(), and PATStringObjectFunction().
|
private |
Definition at line 29 of file StringParserTools.h.
Referenced by operator()(), and PATStringObjectFunction().
|
private |
Definition at line 26 of file StringParserTools.h.
Referenced by operator()(), and throwBadType().
|
private |
Definition at line 32 of file StringParserTools.h.
Referenced by operator()(), and PATStringObjectFunction().
|
private |
Definition at line 35 of file StringParserTools.h.
Referenced by operator()(), and PATStringObjectFunction().
|
private |
Definition at line 33 of file StringParserTools.h.
Referenced by operator()(), and PATStringObjectFunction().
|
private |
Definition at line 34 of file StringParserTools.h.
Referenced by operator()(), and PATStringObjectFunction().
|
private |
Definition at line 30 of file StringParserTools.h.
Referenced by operator()(), and PATStringObjectFunction().
|
private |
Definition at line 36 of file StringParserTools.h.
Referenced by operator()(), and PATStringObjectFunction().
|
private |
Definition at line 31 of file StringParserTools.h.
Referenced by operator()(), and PATStringObjectFunction().