29 produces<GEMCSCSegmentCollection>();
35 LogDebug(
"GEMCSCSegment") <<
"deleting GEMCSCSegmentBuilder after " <<
iev <<
" events w/ gem and csc data.";
41 LogDebug(
"GEMCSCSegment") <<
"start producing segments for " << ++
iev <<
"th event w/ gem and csc data";
65 auto oc = std::make_unique<GEMCSCSegmentCollection>();
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
GEMCSCSegmentBuilder * segmentBuilder_
edm::EDGetTokenT< GEMRecHitCollection > gem_token
edm::EDGetTokenT< CSCSegmentCollection > csc_token
void LinkGEMRollsToCSCChamberIndex(const GEMGeometry *gemgeom, const CSCGeometry *cscgeom)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
GEMCSCSegmentProducer(const edm::ParameterSet &)
Constructor.
~GEMCSCSegmentProducer()
Destructor.
void build(const GEMRecHitCollection *rechits, const CSCSegmentCollection *cscsegments, GEMCSCSegmentCollection &oc)
virtual void produce(edm::Event &, const edm::EventSetup &)
Produce the GEM-CSCSegment collection.
T const * product() const
void setGeometry(const GEMGeometry *gemgeom, const CSCGeometry *cscgeom)