78 _digicollection(iConfig.getParameter<edm::InputTag>(
"collectionName")),
79 _wantedmod(iConfig.getUntrackedParameter<std::vector<unsigned int> >(
"selectedModules"))
86 edm::LogInfo(
"SelectedModules") <<
"Selected module list";
118 for(
typename T::const_iterator it = digis->begin();it!=digis->end();it++) {
120 for(std::vector<unsigned int>::const_iterator
mod=_wantedmod.begin();
121 mod!=_wantedmod.end()&&it->detId()>=*
mod;
123 if(*
mod == it->detId()) {
125 << it->size() <<
" digis/clusters";
SiStripDetWithSomething(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
~SiStripDetWithSomething()
edm::InputTag _digicollection
virtual bool filter(edm::Event &, const edm::EventSetup &) override
SiStripDetWithSomething< edmNew::DetSetVector< SiStripCluster > > SiStripDetWithCluster
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
SiStripDetWithSomething< edm::DetSetVector< SiStripDigi > > SiStripDetWithDigi
std::vector< unsigned int > _wantedmod
T mod(const T &a, const T &b)