56 virtual void endJob()
override ;
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();
123 if(*
mod == it->detId()) {
125 << it->size() <<
" digis/clusters";
virtual void endJob() override
SiStripDetWithSomething(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
~SiStripDetWithSomething()
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual bool filter(edm::Event &, const edm::EventSetup &) override
SiStripDetWithSomething< edmNew::DetSetVector< SiStripCluster > > SiStripDetWithCluster
edm::EDGetTokenT< T > _digicollectionToken
SiStripDetWithSomething< edm::DetSetVector< SiStripDigi > > SiStripDetWithDigi
std::vector< unsigned int > _wantedmod
virtual void beginJob() override
T mod(const T &a, const T &b)