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);
52 using namespace trigger;
60 std::vector<edm::Ref<reco::ElectronCollection> >
electrons;
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
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>)
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > candToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
double docaDiffPerpCutHigh_
HLTPMDocaFilter(const edm::ParameterSet &)
static void makeHLTFilterDescription(edm::ParameterSetDescription &desc)
double docaDiffPerpCutLow_
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
tuple size
Write out results.