77 produces<std::map<unsigned int,int> >();
81 std::vector<edm::ParameterSet> wantedsubds(iConfig.
getParameter<std::vector<edm::ParameterSet> >(
"wantedSubDets"));
85 for(std::vector<edm::ParameterSet>::iterator ps=wantedsubds.begin();ps!=wantedsubds.end();++ps) {
87 m_subdetsel.push_back(ps->getParameter<
int >(
"subDetEnum"));
110 LogDebug(
"Multiplicity") <<
" Ready to go";
114 std::unique_ptr<std::map<unsigned int,int> > mults(
new std::map<unsigned int,int> );
141 for(std::map<unsigned int,int>::const_iterator it=mults->begin();it!=mults->end();++it) {
142 LogDebug(
"Multiplicity") <<
" Found " << it->second <<
" digis/clusters in " << it->first;
T getParameter(std::string const &) const
~FromClusterSummaryMultiplicityProducer() override
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
ClusterSummary::VariablePlacement m_subdetvar
edm::EDGetTokenT< ClusterSummary > m_collectionToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
float getClusCharge(const CMSTracker mod) const
#define DEFINE_FWK_MODULE(type)
std::vector< int > m_subdetsel
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
int getModuleLocation(int mod, bool warn=true) const
std::vector< ClusterSummary::CMSTracker > m_subdetenums
int getClusSize(const CMSTracker mod) const
int getNClus(const CMSTracker mod) const
void produce(edm::Event &, const edm::EventSetup &) override
FromClusterSummaryMultiplicityProducer(const edm::ParameterSet &)