23 produces<CSCSegmentCollection>();
27 LogDebug(
"CSCSegment|CSC") <<
"deleting CSCSegmentBuilder after " <<
iev <<
" events w/csc data.";
32 LogDebug(
"CSCSegment|CSC") <<
"start producing segments for " << ++
iev <<
"th event with csc data";
46 auto oc = std::make_unique<CSCSegmentCollection>();
void produce(edm::Event &, const edm::EventSetup &) override
Produce the CSCSegment collection.
T getParameter(std::string const &) const
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void build(const CSCRecHit2DCollection *rechits, CSCSegmentCollection &oc)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< CSCRecHit2DCollection > m_token
CSCSegmentBuilder * segmentBuilder_
T const * product() const
CSCSegmentProducer(const edm::ParameterSet &)
Constructor.
~CSCSegmentProducer() override
Destructor.
void setGeometry(const CSCGeometry *geom)