24 const std::vector<std::string> flagnames = conf.
getParameter<std::vector<std::string> >(
"RecHitFlagsToBeExcluded");
29 auto const& hits = *
input;
31 for (
uint idx = 0; idx < hits.size(); ++idx) {
43 if (hit.
flags() & (0x1 << flag))
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)
T getParameter(std::string const &) const
#define DEFINE_EDM_PLUGIN(factory, type, name)