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