31 _dzCutValueEB(c.getParameter<double>(
"dzCutValueEB")),
32 _dzCutValueEE(c.getParameter<double>(
"dzCutValueEE")),
33 _barrelCutOff(c.getParameter<double>(
"barrelCutOff")) {
48 CutApplicatorBase::result_type
51 const float dzCutValue =
56 const double dz = ( vtxs.size() ?
57 cand->gsfTrack()->dz(vtxs[0].
position()) :
58 cand->gsfTrack()->dz() );
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
CandidateType candidateType() const overridefinal
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)