Go to the documentation of this file.
61 std::vector<edm::EDGetTokenT<DetIdCollection> >
toks_did_;
70 template <
typename CollectionType>
76 template <
class CollectionType>
79 int severityThreshold)
const {
81 typename CollectionType::const_iterator
begin =
input->begin();
82 typename CollectionType::const_iterator
end =
input->end();
83 typename CollectionType::const_iterator
hit =
begin;
91 const uint32_t& recHitFlag =
hit->flags();
131 for (
unsigned i = 0;
i != nLabels;
i++)
178 auto hbhe_out = std::make_unique<HBHERecHitCollection>();
182 auto hf_out = std::make_unique<HFRecHitCollection>();
186 auto ho_out = std::make_unique<HORecHitCollection>();
T const * product() const
const_iterator begin() const
static const std::string input
HcalDetId idFront(const HcalDetId &id) const
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
bool getMergePositionFlag() const
const Item * getValues(DetId fId, bool throwOnFail=true) const
#define DEFINE_FWK_MODULE(type)
const HcalTopology * theHcalTopology_
HcalHitSelection(const edm::ParameterSet &)
edm::ESHandle< HcalSeverityLevelComputer > theHcalSevLvlComputer
~HcalHitSelection() override
std::vector< edm::InputTag > interestingDetIdCollections
int getSeverityLevel(const DetId &myid, const uint32_t &myflag, const uint32_t &mystatus) const
uint32_t getValue() const
void skim(const edm::Handle< CollectionType > &input, CollectionType &output, int severityThreshold=0) const
edm::ESHandle< HcalChannelQuality > theHcalChStatus
std::set< DetId > toBeKept
T getParameter(std::string const &) const
edm::EDGetTokenT< HORecHitCollection > tok_ho_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
std::vector< edm::EDGetTokenT< DetIdCollection > > toks_did_
const_iterator end() const