24 const std::vector<std::string> flagnames = conf.
getParameter<std::vector<std::string> >(
"RecHitFlagsToBeExcluded");
43 if (
hit.flags() & (0x1 <<
flag))
T getParameter(std::string const &) const
void clean(const edm::Handle< reco::PFRecHitCollection > &input, std::vector< bool > &mask) override
FlagsCleanerECAL & operator=(const FlagsCleanerECAL &)=delete
std::vector< int > v_chstatus_excl_
static std::string const input
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
bool checkFlags(const reco::PFRecHit &hit)
FlagsCleanerECAL(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
#define DEFINE_EDM_PLUGIN(factory, type, name)