Definition at line 62 of file VZeroFinder.cc.
References alpha, reco::VZeroData::armenterosAlpha, reco::VZeroData::armenterosPt, b, begin, TwoTrackMinimumDistance::calculate(), reco::VZeroData::crossingPoint, TwoTrackMinimumDistance::crossingPoint(), reco::VZeroData::dca, TwoTrackMinimumDistance::distance(), TwoTrackMinimumDistance::firstAngle(), reco::VZeroData::impactMother, PV3DBase< T, PVType, FrameType >::mag(), mag(), PV3DBase< T, PVType, FrameType >::mag2(), reco::VZeroData::momenta, GlobalTrajectoryParameters::momentum(), L1TEmulatorMonitor_cff::p, PV3DBase< T, PVType, FrameType >::perp(), TwoTrackMinimumDistance::points(), csvReporter::r, svgfig::rotate(), TwoTrackMinimumDistance::secondAngle(), TwoTrackMinimumDistance::SlowMode, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by VZeroProducer::produce().
81 theMinimum.calculate(posGtp,negGtp);
84 pair<GlobalPoint, GlobalPoint> points = theMinimum.points();
87 pair<GlobalVector,GlobalVector> momenta;
88 momenta.first =
rotate(posGtp.
momentum(), theMinimum.firstAngle() );
89 momenta.second =
rotate(negGtp.
momentum(), theMinimum.secondAngle());
92 float dca = theMinimum.distance();
111 if(vertices->size() > 0)
114 for(reco::VertexCollection::const_iterator
115 vertex = vertices->begin(); vertex!= vertices->end(); vertex++)
119 crossing.
z() - vertex->position().z());
125 if(im < impact || vertex == vertices->
begin())
148 (momenta.first.cross(momenta.second)).
mag()/momentum.
mag();
150 (momenta.first.mag2() - momenta.second.mag2())/momentum.
mag2();
math::GlobalPoint crossingPoint
GlobalTrajectoryParameters getGlobalTrajectoryParameters(const reco::Track &track)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
std::pair< GlobalVector, GlobalVector > momenta
GlobalVector momentum() const
GlobalVector rotate(const GlobalVector &p, double a)