39 desc.
add<
double>(
"docaDiffPerpCutHigh",0.055691);
40 desc.
add<
double>(
"docaDiffPerpCutLow",0.0);
41 desc.
add<
int>(
"nZcandcut",1);
42 descriptions.
add(
"hltPMDocaFilter",desc);
60 std::vector<edm::Ref<reco::ElectronCollection> >
electrons;
66 unsigned int size = electrons.size();
67 std::vector<double> vx(size);
68 std::vector<double> vy(size);
70 for (
unsigned int i=0;
i<
size;
i++) {
78 double docaDiffPerp =
sqrt( (vx[
jj]-vx[
ii])*(vx[
jj]-vx[ii])+(vy[
jj]-vy[ii])*(vy[
jj]-vy[ii]));
T getParameter(std::string const &) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
bool getByToken(EDGetToken token, Handle< PROD > &result) const
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > candToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
double docaDiffPerpCutHigh_
~HLTPMDocaFilter() override
HLTPMDocaFilter(const edm::ParameterSet &)
static void makeHLTFilterDescription(edm::ParameterSetDescription &desc)
double docaDiffPerpCutLow_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)