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