8 template <
typename HitCollection>
33 template <
typename HitCollection>
43 size_t size = hits->size();
45 for (
size_t idx = 0; idx !=
size; ++idx) {
constexpr float energy() const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const edm::EventSetup & c
reco::modules::CaloRecHitCandidateProducer< ZDCRecHitCollection > ZDCRecHitCandidateProducer
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
~CaloRecHitCandidateProducer() override
destructor
RhoEtaPhiVectorD RhoEtaPhiVector
spatial vector with cylindrical internal representation using pseudorapidity
reco::modules::CaloRecHitCandidateProducer< HORecHitCollection > HORecHitCandidateProducer
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
reco::modules::CaloRecHitCandidateProducer< HFRecHitCollection > HFRecHitCandidateProducer
const edm::EDGetTokenT< HitCollection > srcToken_
source collection tag
void setCaloRecHit(const CaloRecHitRef &r)
set CaloRecHit reference
CaloRecHitCandidateProducer(const edm::ParameterSet &cfg)
constructor
reco::modules::CaloRecHitCandidateProducer< HBHERecHitCollection > HBHERecHitCandidateProducer
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
process one event
std::vector< Hit > HitCollection
math::XYZTLorentzVector LorentzVector
Lorentz vector.
tuple size
Write out results.