74 <<
"Invalid Plan1RechitCombiner algorithm configuration" 79 produces<HBHERecHitCollection>();
114 std::unique_ptr<HBHERecHitCollection> outputRechits = std::make_unique<HBHERecHitCollection>();
115 outputRechits->reserve(inputRechits->
size());
121 it != inputRechits->
end(); ++it)
128 outputRechits->push_back(*it);
138 #define add_param_set(name) \ 139 edm::ParameterSetDescription name; \ 140 name.setAllowAnything(); \ 141 desc.add<edm::ParameterSetDescription>(#name, name) 150 desc.
add<
bool>(
"ignorePlan1Topology");
151 desc.
add<
bool>(
"usePlan1Mode");
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
HBHEPlan1Combiner(const edm::ParameterSet &)
bool ignorePlan1Topology_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
std::vector< HBHERecHit >::const_iterator const_iterator
edm::EDGetTokenT< HBHERecHitCollection > tok_rechits_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< AbsPlan1RechitCombiner > parsePlan1RechitCombiner(const edm::ParameterSet &ps)
static const unsigned OFF_TDC_TIME
void addDefault(ParameterSetDescription const &psetDescription)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::unique_ptr< AbsPlan1RechitCombiner > combiner_
const_iterator end() const
#define add_param_set(name)
virtual void produce(edm::Event &, const edm::EventSetup &) override
bool getBit(const uint32_t u, const unsigned bitnum)
bool withSpecialRBXHBHE() const
T const * product() const
const_iterator begin() const