21 useCalib( ps.getParameter<bool>(
"CSCUseCalibrations") ),
22 useStaticPedestals( ps.getParameter<bool>(
"CSCUseStaticPedestals") ),
23 useTimingCorrections(ps.getParameter<bool>(
"CSCUseTimingCorrections") ),
24 useGasGainCorrections(ps.getParameter<bool>(
"CSCUseGasGainCorrections") )
36 produces<CSCRecHit2DCollection>();
51 LogTrace(
"CSCRecHit")<<
"[CSCRecHitDProducer] starting event " << ev.
id().
event() <<
" of run " << ev.
id().
run();
77 LogTrace(
"CSCRecHit")<<
"[CSCRecHitDProducer] putting collection of " << oc->size() <<
" rechits into event.";
virtual void produce(edm::Event &, const edm::EventSetup &)
T getParameter(std::string const &) const
EventNumber_t event() const
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void setConditions(CSCRecoConditions *reco)
CSCRecoConditions * recoConditions_
void build(const CSCStripDigiCollection *stripds, const CSCWireDigiCollection *wireds, CSCRecHit2DCollection &oc)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
CSCRecHitDBuilder * recHitBuilder_
bool useTimingCorrections
edm::EDGetTokenT< CSCStripDigiCollection > s_token
bool useGasGainCorrections
T const * product() const
edm::EDGetTokenT< CSCWireDigiCollection > w_token
CSCRecHitDProducer(const edm::ParameterSet &ps)
void setGeometry(const CSCGeometry *geom)
void initializeEvent(const edm::EventSetup &es)
fetch the cond data from the database