28 double asym_hf_1 = -1;
29 double asym_hf_2 = -1;
32 double e_hf[2] = {0.,0.};
38 if (it->id().zside() == -1)
41 e_hf[0] += it->energy();
46 e_hf[1] += it->energy();
58 if (e_hf[0]+e_hf[1] != 0)
60 asym_hf_1 = e_hf[0]/(e_hf[0]+e_hf[1]);
61 asym_hf_2 = e_hf[1]/(e_hf[0]+e_hf[1]);
T getParameter(std::string const &) const
std::vector< T >::const_iterator const_iterator
virtual bool filter(edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
HLTHFAsymmetryFilter(const edm::ParameterSet &)