1 |
|
#include "UserCode/ShallowTools/interface/ShallowTracksProducer.h" |
2 |
|
|
3 |
+ |
#include "FWCore/Framework/interface/Event.h" |
4 |
|
#include "DataFormats/TrackReco/interface/Track.h" |
5 |
|
#include "DataFormats/TrackReco/interface/TrackFwd.h" |
6 |
|
#include "TrackingTools/PatternTools/interface/Trajectory.h" |
22 |
|
produces <std::vector<unsigned int> > ( Prefix + "hitsvalid" + Suffix ); |
23 |
|
produces <std::vector<unsigned int> > ( Prefix + "hitslost" + Suffix ); |
24 |
|
produces <std::vector<double> > ( Prefix + "theta" + Suffix ); |
25 |
< |
produces <std::vector<double> > ( Prefix + "thetaerr" + Suffix ); |
25 |
> |
produces <std::vector<double> > ( Prefix + "thetaerr" + Suffix ); |
26 |
|
produces <std::vector<double> > ( Prefix + "phi" + Suffix ); |
27 |
< |
produces <std::vector<double> > ( Prefix + "phierr" + Suffix ); |
27 |
> |
produces <std::vector<double> > ( Prefix + "phierr" + Suffix ); |
28 |
|
produces <std::vector<double> > ( Prefix + "eta" + Suffix ); |
29 |
< |
produces <std::vector<double> > ( Prefix + "etaerr" + Suffix ); |
29 |
> |
produces <std::vector<double> > ( Prefix + "etaerr" + Suffix ); |
30 |
|
produces <std::vector<double> > ( Prefix + "dxy" + Suffix ); |
31 |
< |
produces <std::vector<double> > ( Prefix + "dxyerr" + Suffix ); |
31 |
> |
produces <std::vector<double> > ( Prefix + "dxyerr" + Suffix ); |
32 |
|
produces <std::vector<double> > ( Prefix + "dsz" + Suffix ); |
33 |
< |
produces <std::vector<double> > ( Prefix + "dszerr" + Suffix ); |
33 |
> |
produces <std::vector<double> > ( Prefix + "dszerr" + Suffix ); |
34 |
> |
produces <std::vector<double> > ( Prefix + "qoverp" + Suffix ); |
35 |
> |
produces <std::vector<double> > ( Prefix + "qoverperr" + Suffix ); |
36 |
|
produces <std::vector<double> > ( Prefix + "vx" + Suffix ); |
37 |
|
produces <std::vector<double> > ( Prefix + "vy" + Suffix ); |
38 |
|
produces <std::vector<double> > ( Prefix + "vz" + Suffix ); |
60 |
|
std::auto_ptr<std::vector<double> > dxyerr ( new std::vector<double>() ); |
61 |
|
std::auto_ptr<std::vector<double> > dsz ( new std::vector<double>() ); |
62 |
|
std::auto_ptr<std::vector<double> > dszerr ( new std::vector<double>() ); |
63 |
+ |
std::auto_ptr<std::vector<double> > qoverp ( new std::vector<double>() ); |
64 |
+ |
std::auto_ptr<std::vector<double> > qoverperr ( new std::vector<double>() ); |
65 |
|
std::auto_ptr<std::vector<double> > vx ( new std::vector<double>() ); |
66 |
|
std::auto_ptr<std::vector<double> > vy ( new std::vector<double>() ); |
67 |
|
std::auto_ptr<std::vector<double> > vz ( new std::vector<double>() ); |
89 |
|
dxyerr->push_back( track.dxyError() ); |
90 |
|
dsz->push_back( track.dsz() ); |
91 |
|
dszerr->push_back( track.dszError() ); |
92 |
+ |
qoverp->push_back( track.qoverp() ); |
93 |
+ |
qoverperr->push_back( track.qoverpError() ); |
94 |
|
vx->push_back( track.vx() ); |
95 |
|
vy->push_back( track.vy() ); |
96 |
|
vz->push_back( track.vz() ); |
116 |
|
iEvent.put(dxyerr, Prefix + "dxyerr" + Suffix ); |
117 |
|
iEvent.put(dsz, Prefix + "dsz" + Suffix ); |
118 |
|
iEvent.put(dszerr, Prefix + "dszerr" + Suffix ); |
119 |
+ |
iEvent.put(qoverp, Prefix + "qoverp" + Suffix ); |
120 |
+ |
iEvent.put(qoverperr, Prefix + "qoverperr" + Suffix ); |
121 |
|
iEvent.put(vx, Prefix + "vx" + Suffix ); |
122 |
|
iEvent.put(vy, Prefix + "vy" + Suffix ); |
123 |
|
iEvent.put(vz, Prefix + "vz" + Suffix ); |