ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/ShallowTools/plugins/ShallowRechitClustersProducer.cc
(Generate patch)

Comparing UserCode/ShallowTools/plugins/ShallowRechitClustersProducer.cc (file contents):
Revision 1.2 by bbetchar, Wed Jun 10 01:24:50 2009 UTC vs.
Revision 1.3 by bbetchar, Wed Sep 2 17:12:53 2009 UTC

# Line 14 | Line 14
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 );  
# Line 29 | Line 30 | ShallowRechitClustersProducer::ShallowRe
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  ));  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines