CMS 3D CMS Logo

Namespaces | Functions
FunctionDefs.h File Reference
#include "FWCore/Utilities/interface/Exception.h"
#include <vector>
#include <functional>
#include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
#include "DataFormats/EgammaCandidates/interface/Photon.h"

Go to the source code of this file.

Namespaces

 hltdqm
 

Functions

template<typename ObjType >
std::function< float(const ObjType &)> hltdqm::getUnaryFuncExtraFloat (const std::string &varName)
 
template<>
std::function< float(const reco::GsfElectron &)> hltdqm::getUnaryFuncExtraFloat< reco::GsfElectron > (const std::string &varName)
 
template<>
std::function< float(const reco::Photon &)> hltdqm::getUnaryFuncExtraFloat< reco::Photon > (const std::string &varName)
 
template<typename ObjType >
std::function< float(const ObjType &)> hltdqm::getUnaryFuncFloat (const std::string &varName)
 
template<typename ObjType >
float hltdqm::scEtaFunc (const ObjType &obj)