29 _dxyCutValueEB(c.getParameter<double>(
"dxyCutValueEB")),
30 _dxyCutValueEE(c.getParameter<double>(
"dxyCutValueEE")),
31 _barrelCutOff(c.getParameter<double>(
"barrelCutOff")) {
35 contentTags_.emplace(
"verticesMiniAOD", vertextagMiniAOD);
53 const float dxyCutValue =
57 const double dxy = (!vtxs.empty() ? cand->gsfTrack()->dxy(vtxs[0].
position()) : cand->gsfTrack()->dxy());
64 const double dxy = (!vtxs.empty() ? ele->gsfTrack()->dxy(vtxs[0].
position()) : ele->gsfTrack()->dxy());
const edm::EventSetup & c
std::unordered_map< std::string, edm::InputTag > contentTags_
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
std::vector< Vertex > VertexCollection
collection of Vertex objects
const double _dxyCutValueEB
result_type operator()(const reco::GsfElectronPtr &) const final
double value(const reco::CandidatePtr &cand) const final
edm::Handle< reco::VertexCollection > _vtxs
const double _dxyCutValueEE
Abs< T >::type abs(const T &t)
CandidateType candidateType() const final
void setConsumes(edm::ConsumesCollector &) final
void getEventContent(const edm::EventBase &) final
GsfEleDxyCut(const edm::ParameterSet &c)
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
const double _barrelCutOff
T getParameter(std::string const &) const
bool getByLabel(InputTag const &, Handle< T > &) const
static int position[264][3]
#define DEFINE_EDM_PLUGIN(factory, type, name)