23 const std::type_info &
type =
typeid(
c);
32 else throw cms::Exception(
"Type Error") <<
"Cannot evaluate '" <<
expr_ <<
"' on an object of unsupported type " << type.name() <<
"\n";
37 throw cms::Exception(
"Type Error") <<
"Expression '" <<
expr_ <<
"' can't be evaluated on an object of type " << ty.name() <<
"\n(hint: use c++filt to demangle the type name)\n";
59 const std::type_info &
type =
typeid(
c);
68 else throw cms::Exception(
"Type Error") <<
"Cannot evaluate '" <<
expr_ <<
"' on an object of unsupported type " << type.name() <<
"\n";
73 throw cms::Exception(
"Type Error") <<
"Expression '" <<
expr_ <<
"' can't be evaluated on an object of type " << ty.name() <<
"\n(hint: use c++filt to demangle the type name)\n";
void throwBadType(const std::type_info &ty1) const
Analysis-level MET class.
Analysis-level Photon class.
boost::shared_ptr< StringObjectFunction< pat::Jet > > jetFunc_
void throwBadType(const std::type_info &ty1) const
PATStringObjectFunction()
boost::shared_ptr< StringCutObjectSelector< pat::PFParticle > > pfFunc_
boost::shared_ptr< StringObjectFunction< pat::Muon > > muFunc_
PATStringCutObjectSelector()
boost::shared_ptr< StringCutObjectSelector< pat::Photon > > gamFunc_
bool operator()(const reco::Candidate &c) const
boost::shared_ptr< StringCutObjectSelector< pat::Muon > > muFunc_
boost::shared_ptr< StringCutObjectSelector< reco::Candidate > > candFunc_
boost::shared_ptr< StringCutObjectSelector< pat::GenericParticle > > gpFunc_
Analysis-level Generic Particle class (e.g. for hadron or muon not fully reconstructed) ...
boost::shared_ptr< StringCutObjectSelector< pat::Jet > > jetFunc_
boost::shared_ptr< StringObjectFunction< pat::Tau > > tauFunc_
boost::shared_ptr< StringObjectFunction< pat::MET > > metFunc_
Analysis-level tau class.
boost::shared_ptr< StringCutObjectSelector< pat::MET > > metFunc_
boost::shared_ptr< StringObjectFunction< reco::Candidate > > candFunc_
boost::shared_ptr< StringObjectFunction< pat::Electron > > eleFunc_
boost::shared_ptr< StringObjectFunction< pat::PFParticle > > pfFunc_
Analysis-level electron class.
Analysis-level calorimeter jet class.
Analysis-level class for reconstructed particles.
boost::shared_ptr< StringObjectFunction< pat::Photon > > gamFunc_
boost::shared_ptr< StringCutObjectSelector< pat::Electron > > eleFunc_
boost::shared_ptr< StringObjectFunction< pat::GenericParticle > > gpFunc_
double operator()(const reco::Candidate &c) const
boost::shared_ptr< StringCutObjectSelector< pat::Tau > > tauFunc_
Analysis-level muon class.