19 minCrossingRadius = pset.
getParameter<
double>(
"minCrossingRadius");
20 maxCrossingRadius = pset.
getParameter<
double>(
"maxCrossingRadius");
21 maxImpactMother = pset.
getParameter<
double>(
"maxImpactMother");
26 theMagField = magField.product();
47 track.
charge(),theMagField);
85 std::pair<GlobalVector,GlobalVector> momenta;
109 if(vertices->size() > 0)
112 for(reco::VertexCollection::const_iterator
113 vertex = vertices->begin(); vertex!= vertices->end(); vertex++)
117 crossing.
z() - vertex->position().z());
123 if(im < impact || vertex == vertices->
begin())
146 (momenta.first.cross(momenta.second)).
mag()/momentum.
mag();
148 (momenta.first.mag2() - momenta.second.mag2())/momentum.
mag2();
virtual float distance() const
T getParameter(std::string const &) const
math::GlobalPoint crossingPoint
virtual bool calculate(const TrajectoryStateOnSurface &sta, const TrajectoryStateOnSurface &stb)
const Vector & momentum() const
track momentum vector
virtual GlobalPoint crossingPoint() const
GlobalTrajectoryParameters getGlobalTrajectoryParameters(const reco::Track &track)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Sin< T >::type sin(const T &t)
std::vector< Vertex > VertexCollection
collection of Vertex objects
std::pair< GlobalVector, GlobalVector > momenta
GlobalVector momentum() const
Cos< T >::type cos(const T &t)
double firstAngle() const
double secondAngle() const
const Point & vertex() const
reference point on the track. This method is DEPRECATED, please use referencePoint() instead ...
GlobalVector rotate(const GlobalVector &p, double a)
char data[epos_bytes_allocation]
static int position[264][3]
VZeroFinder(const edm::EventSetup &es, const edm::ParameterSet &pset)
int charge() const
track electric charge
bool checkTrackPair(const reco::Track &posTrack, const reco::Track &negTrack, const reco::VertexCollection *vertices, reco::VZeroData &data)
Global3DVector GlobalVector