23 useCalib( ps.getParameter<bool>(
"CSCUseCalibrations") ),
24 useStaticPedestals( ps.getParameter<bool>(
"CSCUseStaticPedestals") ),
25 useTimingCorrections(ps.getParameter<bool>(
"CSCUseTimingCorrections") ),
26 useGasGainCorrections(ps.getParameter<bool>(
"CSCUseGasGainCorrections") ),
27 stripDigiTag_( ps.getParameter<edm::InputTag>(
"stripDigiTag") ),
28 wireDigiTag_( ps.getParameter<edm::InputTag>(
"wireDigiTag") )
37 produces<CSCRecHit2DCollection>();
52 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 &)
EventNumber_t event() const
#define DEFINE_FWK_MODULE(type)
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::InputTag stripDigiTag_
edm::InputTag wireDigiTag_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
bool useGasGainCorrections
void setConditions(const CSCRecoConditions *reco)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
T const * product() const
CSCRecHitDProducer(const edm::ParameterSet &ps)
void setGeometry(const CSCGeometry *geom)
void initializeEvent(const edm::EventSetup &es)
fetch the cond data from the database
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")