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
bool getByToken(EDGetToken token, Handle< PROD > &result) 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::EDGetTokenT< CSCStripDigiCollection > s_token
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
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
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")