30 produces<CSCWireDigiCollection>(
"MuonCSCWireDigi");
31 produces<CSCStripDigiCollection>(
"MuonCSCStripDigi");
32 produces<CSCComparatorDigiCollection>(
"MuonCSCComparatorDigi");
33 produces<DigiSimLinks>(
"MuonCSCWireDigiSimLinks");
34 produces<DigiSimLinks>(
"MuonCSCStripDigiSimLinks");
38 if( stripConditions ==
"Configurable" )
42 else if ( stripConditions ==
"Database" )
49 <<
"Bad option for strip conditions: "
57 <<
"CSCDigitizer requires the RandomNumberGeneratorService\n"
58 "which is not present in the configuration file. You must add the service\n"
59 "in the configuration file or remove the modules that require it.";
82 std::auto_ptr<MixCollection<PSimHit> >
90 std::auto_ptr<DigiSimLinks> pWireDigiSimLinks(
new DigiSimLinks() );
91 std::auto_ptr<DigiSimLinks> pStripDigiSimLinks(
new DigiSimLinks() );
119 *pWireDigiSimLinks, *pStripDigiSimLinks, engine);
124 e.
put(pWireDigis,
"MuonCSCWireDigi");
125 e.
put(pStripDigis,
"MuonCSCStripDigi");
126 e.
put(pComparatorDigis,
"MuonCSCComparatorDigi");
127 e.
put(pWireDigiSimLinks,
"MuonCSCWireDigiSimLinks");
128 e.
put(pStripDigiSimLinks,
"MuonCSCStripDigiSimLinks");
T getParameter(std::string const &) const
CSCDigiProducer(const edm::ParameterSet &ps)
CSCDigitizer::DigiSimLinks DigiSimLinks
CSCDigitizer theDigitizer
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MuonDigiCollection< CSCDetId, CSCStripDigi > CSCStripDigiCollection
CSCStripConditions * theStripConditions
virtual void initializeEvent(const edm::EventSetup &es)
void getData(T &iHolder) const
MuonDigiCollection< CSCDetId, CSCComparatorDigi > CSCComparatorDigiCollection
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< CrossingFrame< PSimHit > > cf_token
void setStripConditions(CSCStripConditions *cond)
MuonDigiCollection< CSCDetId, CSCWireDigi > CSCWireDigiCollection
T const * product() const
void setParticleDataTable(const ParticleDataTable *pdt)
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &) const =0
Use this engine in event methods.
void doAction(MixCollection< PSimHit > &simHits, CSCWireDigiCollection &wireDigis, CSCStripDigiCollection &stripDigis, CSCComparatorDigiCollection &comparators, DigiSimLinks &wireDigiSimLinks, DigiSimLinks &stripDigiSimLinks, CLHEP::HepRandomEngine *)
virtual void produce(edm::Event &e, const edm::EventSetup &c)
StreamID streamID() const
void setGeometry(const CSCGeometry *geom)
sets geometry
virtual ~CSCDigiProducer()
void setMagneticField(const MagneticField *field)
sets the magnetic field