73 if (digiType ==
"Raw") {
74 produces<edm::DetSetVector<SiStripRawDigi>>(
digiLabel).setBranchAlias(alias +
"siStripRawDigis");
75 }
else if (digiType ==
"Processed") {
76 produces<edm::DetSetVector<SiStripDigi>>(
digiLabel).setBranchAlias(alias +
"siStripDigis");
79 <<
"ERROR ** Unknown DigiType: " << digiType <<
" specified in cfg file" << std::endl;
109 if (digiType ==
"Raw") {
112 iEvent.
getByLabel(digiProducer, digiLabel, theStripDigis);
115 std::vector<edm::DetSet<SiStripRawDigi>> theDigiVector;
119 aDetSet != theStripDigis->end();
134 theDigiVector.push_back(outputDetSet);
146 else if (digiType ==
"Processed") {
148 iEvent.
getByLabel(digiProducer, digiLabel, theStripDigis);
150 std::vector<edm::DetSet<SiStripDigi>> theDigiVector;
153 aDetSet != theStripDigis->end();
160 theDigiVector.push_back(outputDetSet);
170 <<
"ERROR ** Unknown DigiType: " << digiType <<
" specified in cfg file" << std::endl;
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
void push_back(const T &t)
#define DEFINE_FWK_MODULE(type)
std::vector< edm::ParameterSet > digiProducerList
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< unsigned int > theLasDetIds
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T getParameter(std::string const &) const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
LaserAlignmentT0Producer(const edm::ParameterSet &)
~LaserAlignmentT0Producer() override
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator