31 _dxyCutValueEB(c.getParameter<double>(
"dxyCutValueEB")),
32 _dxyCutValueEE(c.getParameter<double>(
"dxyCutValueEE")),
33 _barrelCutOff(c.getParameter<double>(
"barrelCutOff")) {
48 CutApplicatorBase::result_type
51 const float dxyCutValue =
56 const double dxy = ( vtxs.size() ?
57 cand->gsfTrack()->dxy(vtxs[0].
position()) :
58 cand->gsfTrack()->dxy() );
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
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
static int position[TOTALCHAMBERS][3]
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
#define DEFINE_EDM_PLUGIN(factory, type, name)