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

Comparing UserCode/ShallowTools/plugins/ShallowTracksProducer.cc (file contents):
Revision 1.1 by bbetchar, Sat Jun 6 14:23:09 2009 UTC vs.
Revision 1.2 by bbetchar, Thu Jun 11 16:09:16 2009 UTC

# Line 61 | Line 61 | produce(edm::Event& iEvent, const edm::E
61    std::auto_ptr<std::vector<double> >       vy          ( new std::vector<double>()       );
62    std::auto_ptr<std::vector<double> >       vz          ( new std::vector<double>()       );
63  
64 <  edm::Handle<reco::TrackCollection> tracks;  iEvent.getByLabel(theTracksLabel, tracks);
64 >  edm::Handle<edm::View<reco::Track> > tracks;  iEvent.getByLabel(theTracksLabel, tracks);
65    
66    *number = tracks->size();
67    BOOST_FOREACH( const reco::Track track, *tracks) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines