#include <VZeroFinder.h>
Public Member Functions | |
bool | checkTrackPair (const reco::Track &posTrack, const reco::Track &negTrack, const reco::VertexCollection *vertices, reco::VZeroData &data) |
GlobalVector | rotate (const GlobalVector &p, double a) |
VZeroFinder (const edm::EventSetup &es, const edm::ParameterSet &pset) | |
~VZeroFinder () | |
Private Member Functions | |
GlobalTrajectoryParameters | getGlobalTrajectoryParameters (const reco::Track &track) |
Private Attributes | |
float | maxCrossingRadius |
float | maxDca |
float | maxImpactMother |
float | minCrossingRadius |
const MagneticField * | theMagField |
Definition at line 22 of file VZeroFinder.h.
VZeroFinder::VZeroFinder | ( | const edm::EventSetup & | es, |
const edm::ParameterSet & | pset | ||
) |
Definition at line 12 of file VZeroFinder.cc.
References edm::EventSetup::get(), and edm::ParameterSet::getParameter().
VZeroFinder::~VZeroFinder | ( | ) |
Definition at line 30 of file VZeroFinder.cc.
bool VZeroFinder::checkTrackPair | ( | const reco::Track & | posTrack, |
const reco::Track & | negTrack, | ||
const reco::VertexCollection * | vertices, | ||
reco::VZeroData & | data | ||
) |
Definition at line 60 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(), getGlobalTrajectoryParameters(), reco::VZeroData::impactMother, PV3DBase< T, PVType, FrameType >::mag(), mag(), PV3DBase< T, PVType, FrameType >::mag2(), maxCrossingRadius, maxDca, maxImpactMother, minCrossingRadius, reco::VZeroData::momenta, GlobalTrajectoryParameters::momentum(), AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), EnergyCorrector::pt, alignCSCRings::r, 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().
|
private |
Definition at line 36 of file VZeroFinder.cc.
References reco::TrackBase::charge(), reco::TrackBase::momentum(), position, and reco::TrackBase::vertex().
Referenced by checkTrackPair().
GlobalVector VZeroFinder::rotate | ( | const GlobalVector & | p, |
double | a | ||
) |
Definition at line 53 of file VZeroFinder.cc.
References funct::cos(), PV3DBase< T, PVType, FrameType >::perp(), EnergyCorrector::pt, funct::sin(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by checkTrackPair().
|
private |
Definition at line 38 of file VZeroFinder.h.
Referenced by checkTrackPair().
|
private |
Definition at line 38 of file VZeroFinder.h.
Referenced by checkTrackPair().
|
private |
Definition at line 38 of file VZeroFinder.h.
Referenced by checkTrackPair().
|
private |
Definition at line 38 of file VZeroFinder.h.
Referenced by checkTrackPair().
|
private |
Definition at line 43 of file VZeroFinder.h.