8 template <
typename HitCollection>
33 template <
typename HitCollection>
43 size_t size =
hits->size();
45 for (
size_t idx = 0;
idx != size; ++
idx) {
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
reco::modules::CaloRecHitCandidateProducer< ZDCRecHitCollection > ZDCRecHitCandidateProducer
bool getByToken(EDGetToken token, Handle< PROD > &result) const
~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
def template(fileName, svg, replaceme="REPLACEME")
#define DEFINE_FWK_MODULE(type)
const edm::EDGetTokenT< HitCollection > srcToken_
source collection tag
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.