CMS 3D CMS Logo

CrossingPtBasedLinearizationPointFinder.cc File Reference

#include "RecoVertex/LinearizationPointFinders/interface/CrossingPtBasedLinearizationPointFinder.h"
#include "RecoVertex/LinearizationPointFinders/interface/LinPtException.h"
#include "TrackingTools/PatternTools/interface/TwoTrackMinimumDistance.h"
#include "TrackingTools/TransientTrack/interface/TransientTrack.h"
#include "RecoVertex/VertexTools/interface/ModeFinder3d.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "RecoVertex/LinearizationPointFinders/interface/FallbackLinearizationPointFinder.h"
#include <cmath>
#include <algorithm>

Go to the source code of this file.

Typedefs

typedef std::pair< GlobalPoint,
float > 
PointAndDistance

Functions

GlobalPoint operator * (const double b, const GlobalPoint &a)
GlobalPoint operator * (const GlobalPoint &a, const double b)
GlobalPoint operator+ (const GlobalPoint &a, const GlobalPoint &b)
GlobalPoint operator- (const GlobalPoint &a, const GlobalPoint &b)
GlobalPoint operator/ (const GlobalPoint &a, const double b)
unsigned int sum (unsigned int nr)


Typedef Documentation

typedef std::pair< GlobalPoint , float > PointAndDistance

Definition at line 150 of file CrossingPtBasedLinearizationPointFinder.cc.


Function Documentation

GlobalPoint @15031::operator * ( const double  b,
const GlobalPoint a 
) [inline, static]

Definition at line 42 of file CrossingPtBasedLinearizationPointFinder.cc.

References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

00043 {
00044     return GlobalPoint ( a.x() * b, a.y() * b, a.z() * b );
00045 }

GlobalPoint @15031::operator * ( const GlobalPoint a,
const double  b 
) [inline, static]

Definition at line 37 of file CrossingPtBasedLinearizationPointFinder.cc.

References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

00038 {
00039     return GlobalPoint ( a.x() * b, a.y() * b, a.z() * b );
00040 }

GlobalPoint @15031::operator+ ( const GlobalPoint a,
const GlobalPoint b 
) [inline, static]

Definition at line 27 of file CrossingPtBasedLinearizationPointFinder.cc.

References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

00028 {
00029     return GlobalPoint ( a.x() + b.x(), a.y() + b.y(), a.z() + b.z() );
00030 }

GlobalPoint @15031::operator- ( const GlobalPoint a,
const GlobalPoint b 
) [inline, static]

Definition at line 22 of file CrossingPtBasedLinearizationPointFinder.cc.

References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

00023 {
00024     return GlobalPoint ( a.x() - b.x(), a.y() - b.y(), a.z() - b.z() );
00025 }

GlobalPoint @15031::operator/ ( const GlobalPoint a,
const double  b 
) [inline, static]

Definition at line 32 of file CrossingPtBasedLinearizationPointFinder.cc.

References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

00033 {
00034     return GlobalPoint ( a.x() / b, a.y() / b, a.z() / b );
00035 }

unsigned int @15031::sum ( unsigned int  nr  )  [inline, static]

Definition at line 47 of file CrossingPtBasedLinearizationPointFinder.cc.

Referenced by smartSelector::accept(), MultiTrajectoryStateAssembler::addStateVector(), DaqScopeModeAlgorithm::analyse(), edmtest::RunSummaryESAnalyzer::analyze(), HcalTriggerPrimitiveAlgo::analyze(), edmtest::RunInfoESAnalyzer::analyze(), EEClusterTask::analyze(), EBClusterTask::analyze(), stor::FragmentCollector::assembleFragments(), BeamProfileVtxGenerator::BeamProfileVtxGenerator(), TtSemiLepHypWMassMaxSumPt::buildHypo(), TtSemiLepHypMaxSumPtWMass::buildHypo(), stor::RateLimiter::calcRate(), L1RCTReceiverCard::calcRegionSum(), TtDecayChannelSelector::checkSum(), EventShapeVariables::circularity(), ClusterizingHistogram::clusterize(), SimG4HcalHitCluster::collectEcalEnergyR(), CSCDriftSim::CSCDriftSim(), Dcxprobab(), HouseholderDecomposition::decompose(), GenericHouseholder::decompose(), OptoScanTask::deprecated(), stor::RateLimiter::determineTargetRates(), TangentCircle::direction(), SiPixelOfflineCalibAnalysisBase::doFits(), EffPurFromHistos::EffPurFromHistos(), HFPreLightCal::endJob(), KalmanSmoothedVertexChi2Estimator< N >::estimate(), reco::Jet::etaetaMoment(), RunInfo::Fake_RunInfo(), RunSummary::Fake_RunSummary(), DQMFEDIntegrityClient::fillHistograms(), reco::Pi0Algo::fillPi0sUsingPF(), CSCHitFromStripOnly::findHitOnStripPosition(), Fit3Peak(), FitFun(), ChargeDividerFP420::fluctuateEloss(), SiPixelDigitizerAlgorithm::fluctuateEloss(), SiLinearChargeDivider::fluctuateEloss(), FML1PtSmearer::FML1PtSmearer(), GammaSeries(), NoisyChannel::getAverage(), HcalQie::getCode(), cscdqm::Summary::GetEfficiencyHW(), HcalQie::getEnergy(), cscdqm::Summary::GetReportingArea(), RandomMultiGauss::initialise(), EventShapeVariables::isotropy(), ZSEnergy_impl::keepMe(), ZSRealistic_impl::keepMe(), langaufun(), HFShower::makeSteps(), HDShower::makeSteps(), norm1(), norm_infinity(), CSCDetIdSameDetLayerComparator::operator()(), CmsTrackerLevelBuilder::ExtractPhiModule::operator()(), CmsTrackerLevelBuilder::ExtractPhiGluedModule::operator()(), CaloShapeIntegrator::operator()(), GsfBetheHeitlerUpdator::Polynomial::operator()(), L1GctTwosComplement< nBits >::operator+(), L1GctUnsignedInt< nBits >::operator+(), L1GctJetCount< nBits >::operator+(), BitArray< 9 >::operator+=(), reco::Jet::phiphiMoment(), CandIsolatorFromDeposits::produce(), PVClusterComparer::pTSquaredSum(), RunSummaryRead::readData(), RunInfoRead::readData(), SoftLepton::refineJetAxis(), RPCCalibSetUp::RPCCalibSetUp(), RPCDBSimSetUp::RPCDBSimSetUp(), AlignmentAlgorithmBW::run(), ContentsXRange::runTest(), ContentsWithinExpected::runTest(), CandMassKinFitter::set(), RPCSimSetUp::setRPCSetUp(), edm::service::ELadministrator::severityCount(), stat_mean(), stat_RMS(), HDRShower::thetaFunction(), CSCFitAFEBThr::ThresholdNoise(), Thrust::thrust(), funct::trapezoid_integral(), CSCCrossTalkAnalyzer::~CSCCrossTalkAnalyzer(), and CSCOldCrossTalkAnalyzer::~CSCOldCrossTalkAnalyzer().

00048 {
00049     /*
00050     int ret=0;
00051     for ( int i=1; i<= nr ; i++ )
00052     {
00053       ret+=i;
00054     }
00055     return ret;
00056     */
00057     return ( nr * ( nr + 1 ) ) / 2;
00058 }


Generated on Tue Jun 9 17:55:41 2009 for CMSSW by  doxygen 1.5.4