71 produces<std::map<unsigned int, int> >();
75 std::vector<edm::ParameterSet> wantedsubds(iConfig.
getParameter<std::vector<edm::ParameterSet> >(
"wantedSubDets"));
79 for (std::vector<edm::ParameterSet>::iterator ps = wantedsubds.begin(); ps != wantedsubds.end(); ++ps) {
81 m_subdetsel.push_back(ps->getParameter<
int>(
"subDetEnum"));
94 LogDebug(
"Multiplicity") <<
" Ready to go";
98 std::unique_ptr<std::map<unsigned int, int> > mults(
new std::map<unsigned int, int>);
125 for (std::map<unsigned int, int>::const_iterator it = mults->begin(); it != mults->end(); ++it) {
126 LogDebug(
"Multiplicity") <<
" Found " << it->second <<
" digis/clusters in " << it->first;
T getParameter(std::string const &) const
int getClusSize(const CMSTracker mod) const
ClusterSummary::VariablePlacement m_subdetvar
edm::EDGetTokenT< ClusterSummary > m_collectionToken
float getClusCharge(const CMSTracker mod) const
std::vector< int > m_subdetsel
#define DEFINE_FWK_MODULE(type)
std::vector< ClusterSummary::CMSTracker > m_subdetenums
int getNClus(const CMSTracker mod) const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
int getModuleLocation(int mod, bool warn=true) const
FromClusterSummaryMultiplicityProducer(const edm::ParameterSet &)