59 |
|
produces <std::vector<float> > ( Prefix + "driftx" + Suffix ); |
60 |
|
produces <std::vector<float> > ( Prefix + "drifty" + Suffix ); |
61 |
|
produces <std::vector<float> > ( Prefix + "driftz" + Suffix ); |
62 |
+ |
produces <std::vector<float> > ( Prefix + "globalZofunitlocalY" + Suffix ); |
63 |
|
} |
64 |
|
|
65 |
|
void ShallowTrackClustersProducer:: |
99 |
|
std::auto_ptr<std::vector<float> > driftx ( new std::vector<float>(size, -10000 )); |
100 |
|
std::auto_ptr<std::vector<float> > drifty ( new std::vector<float>(size, -10000 )); |
101 |
|
std::auto_ptr<std::vector<float> > driftz ( new std::vector<float>(size, -10000 )); |
102 |
+ |
std::auto_ptr<std::vector<float> > globalZofunitlocalY ( new std::vector<float>(size, -1000)); |
103 |
|
|
104 |
|
edm::ESHandle<TrackerGeometry> theTrackerGeometry; iSetup.get<TrackerDigiGeometryRecord>().get( theTrackerGeometry ); |
105 |
|
edm::ESHandle<MagneticField> magfield; iSetup.get<IdealMagneticFieldRecord>().get(magfield); |
160 |
|
driftx->at(i) = drift.x(); |
161 |
|
drifty->at(i) = drift.y(); |
162 |
|
driftz->at(i) = drift.z(); |
163 |
+ |
globalZofunitlocalY->at(i) = (theStripDet->toGlobal(LocalVector(0,1,0))).z(); |
164 |
|
} |
165 |
|
} |
166 |
|
} |
194 |
|
iEvent.put(rhmerr, Prefix + "rhmerr" + Suffix ); |
195 |
|
iEvent.put(ubstrip, Prefix + "ubstrip" + Suffix ); |
196 |
|
iEvent.put(ubmerr, Prefix + "ubmerr" + Suffix ); |
197 |
< |
iEvent.put( driftx, Prefix + "driftx" ); |
198 |
< |
iEvent.put( drifty, Prefix + "drifty" ); |
199 |
< |
iEvent.put( driftz, Prefix + "driftz" ); |
197 |
> |
iEvent.put( driftx, Prefix + "driftx" + Suffix ); |
198 |
> |
iEvent.put( drifty, Prefix + "drifty" + Suffix ); |
199 |
> |
iEvent.put( driftz, Prefix + "driftz" + Suffix ); |
200 |
> |
iEvent.put( globalZofunitlocalY, Prefix + "globalZofunitlocalY" + Suffix ); |
201 |
|
} |