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.2 by bbetchar, Thu Jun 11 16:09:16 2009 UTC vs.
Revision 1.3 by bbetchar, Fri Jul 10 16:57:49 2009 UTC

# Line 21 | Line 21 | ShallowTracksProducer::ShallowTracksProd
21    produces <std::vector<unsigned int> > ( Prefix + "hitsvalid" + Suffix );
22    produces <std::vector<unsigned int> > ( Prefix + "hitslost"  + Suffix );
23    produces <std::vector<double> >       ( Prefix + "theta"     + Suffix );
24 <  produces <std::vector<double> >       ( Prefix + "thetaerr"     + Suffix );
24 >  produces <std::vector<double> >       ( Prefix + "thetaerr"  + Suffix );
25    produces <std::vector<double> >       ( Prefix + "phi"       + Suffix );
26 <  produces <std::vector<double> >       ( Prefix + "phierr"       + Suffix );
26 >  produces <std::vector<double> >       ( Prefix + "phierr"    + Suffix );
27    produces <std::vector<double> >       ( Prefix + "eta"       + Suffix );
28 <  produces <std::vector<double> >       ( Prefix + "etaerr"       + Suffix );
28 >  produces <std::vector<double> >       ( Prefix + "etaerr"    + Suffix );
29    produces <std::vector<double> >       ( Prefix + "dxy"       + Suffix );
30 <  produces <std::vector<double> >       ( Prefix + "dxyerr"       + Suffix );
30 >  produces <std::vector<double> >       ( Prefix + "dxyerr"    + Suffix );
31    produces <std::vector<double> >       ( Prefix + "dsz"       + Suffix );
32 <  produces <std::vector<double> >       ( Prefix + "dszerr"       + Suffix );
32 >  produces <std::vector<double> >       ( Prefix + "dszerr"    + Suffix );
33 >  produces <std::vector<double> >       ( Prefix + "qoverp"    + Suffix );
34 >  produces <std::vector<double> >       ( Prefix + "qoverperr" + Suffix );
35    produces <std::vector<double> >       ( Prefix + "vx"        + Suffix );
36    produces <std::vector<double> >       ( Prefix + "vy"        + Suffix );
37    produces <std::vector<double> >       ( Prefix + "vz"        + Suffix );
# Line 57 | Line 59 | produce(edm::Event& iEvent, const edm::E
59    std::auto_ptr<std::vector<double> >       dxyerr      ( new std::vector<double>()       );
60    std::auto_ptr<std::vector<double> >       dsz         ( new std::vector<double>()       );
61    std::auto_ptr<std::vector<double> >       dszerr      ( new std::vector<double>()       );
62 +  std::auto_ptr<std::vector<double> >       qoverp      ( new std::vector<double>()       );
63 +  std::auto_ptr<std::vector<double> >       qoverperr   ( new std::vector<double>()       );
64    std::auto_ptr<std::vector<double> >       vx          ( new std::vector<double>()       );
65    std::auto_ptr<std::vector<double> >       vy          ( new std::vector<double>()       );
66    std::auto_ptr<std::vector<double> >       vz          ( new std::vector<double>()       );
# Line 84 | Line 88 | produce(edm::Event& iEvent, const edm::E
88      dxyerr->push_back(    track.dxyError()          );
89      dsz->push_back(       track.dsz()               );
90      dszerr->push_back(    track.dszError()          );
91 +    qoverp->push_back(    track.qoverp()            );
92 +    qoverperr->push_back( track.qoverpError()       );
93      vx->push_back(        track.vx()                );
94      vy->push_back(        track.vy()                );
95      vz->push_back(        track.vz()                );
# Line 109 | Line 115 | produce(edm::Event& iEvent, const edm::E
115    iEvent.put(dxyerr,       Prefix + "dxyerr"     + Suffix );
116    iEvent.put(dsz,          Prefix + "dsz"        + Suffix );
117    iEvent.put(dszerr,       Prefix + "dszerr"     + Suffix );
118 +  iEvent.put(qoverp,       Prefix + "qoverp"     + Suffix );
119 +  iEvent.put(qoverperr,    Prefix + "qoverperr"  + Suffix );
120    iEvent.put(vx,           Prefix + "vx"         + Suffix );
121    iEvent.put(vy,           Prefix + "vy"         + Suffix );
122    iEvent.put(vz,           Prefix + "vz"         + Suffix );

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines