29 _dzCutValueEB(c.getParameter<double>(
"dzCutValueEB")),
30 _dzCutValueEE(c.getParameter<double>(
"dzCutValueEE")),
31 _barrelCutOff(c.getParameter<double>(
"barrelCutOff")) {
35 contentTags_.emplace(
"verticesMiniAOD", vertextagMiniAOD);
53 const float dzCutValue =
57 const double dz = (!vtxs.empty() ? cand->gsfTrack()->dz(vtxs[0].
position()) : cand->gsfTrack()->dz());
64 const double dz = (!vtxs.empty() ? ele->gsfTrack()->dz(vtxs[0].
position()) : ele->gsfTrack()->dz());
const edm::EventSetup & c
std::unordered_map< std::string, edm::InputTag > contentTags_
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
double value(const reco::CandidatePtr &cand) const final
void setConsumes(edm::ConsumesCollector &) final
std::vector< Vertex > VertexCollection
collection of Vertex objects
const double _barrelCutOff
Abs< T >::type abs(const T &t)
CandidateType candidateType() const final
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
GsfEleDzCut(const edm::ParameterSet &c)
const double _dzCutValueEB
T getParameter(std::string const &) const
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)
void getEventContent(const edm::EventBase &) final
result_type operator()(const reco::GsfElectronPtr &) const final