25 : taggingMode_ (iConfig.getParameter<bool> (
"taggingMode"))
26 , maxWeightedStripLength_ (iConfig.getParameter<int>(
"maxWeightedStripLength"))
38 auto const& problematicStrips = beamHaloSummary->getProblematicStrips();
39 for (
unsigned int iStrip = 0; iStrip < problematicStrips.size(); iStrip++) {
40 int numContiguousCells = 0;
41 auto const& problematicStrip = problematicStrips[iStrip];
42 for (
unsigned int iTower = 0; iTower < problematicStrip.cellTowerIds.size(); iTower++) {
43 numContiguousCells += (int)problematicStrip.cellTowerIds[iTower].first;
51 iEvent.
put( std::auto_ptr<bool>(
new bool(pass)) );
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< reco::BeamHaloSummary > beamHaloSummaryToken_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
HcalStripHaloFilter(const edm::ParameterSet &iConfig)
virtual bool filter(edm::StreamID iID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
const int maxWeightedStripLength_