33 _dzCutValueEB(c.getParameter<double>(
"dzCutValueEB")),
34 _dzCutValueEE(c.getParameter<double>(
"dzCutValueEE")),
35 _barrelCutOff(c.getParameter<double>(
"barrelCutOff")) {
39 contentTags_.emplace(
"verticesMiniAOD",vertextagMiniAOD);
56 CutApplicatorBase::result_type
59 const float dzCutValue =
64 const double dz = ( vtxs.size() ?
65 cand->gsfTrack()->dz(vtxs[0].
position()) :
66 cand->gsfTrack()->dz() );
73 const double dz = ( vtxs.size() ?
74 ele->gsfTrack()->dz(vtxs[0].
position()) :
75 ele->gsfTrack()->dz() );
T getParameter(std::string const &) const
CandidateType candidateType() const overridefinal
double value(const reco::CandidatePtr &cand) const overridefinal
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
std::vector< Vertex > VertexCollection
collection of Vertex objects
std::unordered_map< std::string, edm::InputTag > contentTags_
const double _barrelCutOff
result_type operator()(const reco::GsfElectronPtr &) const overridefinal
Abs< T >::type abs(const T &t)
void setConsumes(edm::ConsumesCollector &) overridefinal
void getEventContent(const edm::EventBase &) overridefinal
GsfEleDzCut(const edm::ParameterSet &c)
const double _dzCutValueEB
const double _dzCutValueEE
bool getByLabel(InputTag const &, Handle< T > &) const
static int position[264][3]
edm::Handle< reco::VertexCollection > _vtxs
#define DEFINE_EDM_PLUGIN(factory, type, name)