24 |
|
produces <std::vector<double> > ( Prefix + "theta" + Suffix ); |
25 |
|
produces <std::vector<double> > ( Prefix + "phi" + Suffix ); |
26 |
|
produces <std::vector<double> > ( Prefix + "eta" + Suffix ); |
27 |
+ |
produces <std::vector<double> > ( Prefix + "qoverp" + Suffix ); |
28 |
|
produces <std::vector<double> > ( Prefix + "vx" + Suffix ); |
29 |
|
produces <std::vector<double> > ( Prefix + "vy" + Suffix ); |
30 |
|
produces <std::vector<double> > ( Prefix + "vz" + Suffix ); |
49 |
|
std::auto_ptr<std::vector<double> > eta ( new std::vector<double> (size,-1000)); |
50 |
|
std::auto_ptr<std::vector<double> > dxy ( new std::vector<double> (size,-1000)); |
51 |
|
std::auto_ptr<std::vector<double> > dsz ( new std::vector<double> (size,-1000)); |
52 |
+ |
std::auto_ptr<std::vector<double> > qoverp ( new std::vector<double> (size,-1000)); |
53 |
|
std::auto_ptr<std::vector<double> > vx ( new std::vector<double> (size,-1000)); |
54 |
|
std::auto_ptr<std::vector<double> > vy ( new std::vector<double> (size,-1000)); |
55 |
|
std::auto_ptr<std::vector<double> > vz ( new std::vector<double> (size,-1000)); |
73 |
|
theta->at(i) = tparticle->theta() ; |
74 |
|
phi->at(i) = tparticle->phi() ; |
75 |
|
eta->at(i) = tparticle->eta() ; |
76 |
+ |
qoverp->at(i)= tparticle->charge()/tparticle->p(); |
77 |
|
|
78 |
|
const TrackingVertex* tvertex = tparticle->parentVertex().get(); |
79 |
|
vx->at(i) = tvertex->position().x(); |
90 |
|
event.put( theta ,Prefix + "theta" + Suffix ); |
91 |
|
event.put( phi ,Prefix + "phi" + Suffix ); |
92 |
|
event.put( eta ,Prefix + "eta" + Suffix ); |
93 |
+ |
event.put( qoverp ,Prefix + "qoverp" + Suffix ); |
94 |
|
event.put( vx ,Prefix + "vx" + Suffix ); |
95 |
|
event.put( vy ,Prefix + "vy" + Suffix ); |
96 |
|
event.put( vz ,Prefix + "vz" + Suffix ); |