14 |
|
ShallowRechitClustersProducer::ShallowRechitClustersProducer(const edm::ParameterSet& iConfig) |
15 |
|
: Suffix ( iConfig.getParameter<std::string>("Suffix") ), |
16 |
|
Prefix ( iConfig.getParameter<std::string>("Prefix") ), |
17 |
+ |
theClustersLabel( iConfig.getParameter<edm::InputTag>("Clusters")), |
18 |
|
inputTags ( iConfig.getParameter<std::vector<edm::InputTag> >("InputTags")) |
19 |
|
{ |
20 |
|
produces <std::vector<float> > ( Prefix + "strip" + Suffix ); |
30 |
|
|
31 |
|
void ShallowRechitClustersProducer:: |
32 |
|
produce(edm::Event& iEvent, const edm::EventSetup& iSetup) { |
33 |
< |
shallow::CLUSTERMAP clustermap = shallow::make_cluster_map(iEvent); |
33 |
> |
shallow::CLUSTERMAP clustermap = shallow::make_cluster_map(iEvent,theClustersLabel); |
34 |
|
|
35 |
|
int size = clustermap.size(); |
36 |
|
std::auto_ptr<std::vector<float> > strip ( new std::vector<float>(size, -10000 )); |