CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
jetcorrextractor Namespace Reference

Functions

double sign (double x)
 

Function Documentation

double jetcorrextractor::sign ( double  x)
inline

Definition at line 32 of file JetCorrExtractorT.h.

Referenced by CustomParticleFactory::addCustomParticle(), PatBJetTrackAnalyzer::analyze(), PhiSymmetryCalibration::analyze(), PhiSymmetryCalibration_step2_SM::beginJob(), PhiSymmetryCalibration_step2::beginJob(), PhiSymmetryCalibration::beginJob(), FWTrackResidualDetailView::build(), RPCConeBuilder::buildCones(), GEMGeometryBuilderFromDDD::buildGeometry(), ClusterShapeAlgo::Calculate_e3x2(), SETSeedFinder::checkAngleDeviation(), GsfVertexSmoother::createNewComponent(), CrystalPad::CrystalPad(), edm::decode(), TinyEvent::deltaBX(), cscdqm::Detector::Detector(), SurveyPxbDicer::doDice(), EcalTPGCrystalStatusXMLTranslator::dumpXML(), Pi0FixedMassWindowCalibration::duringLoop(), PhiSymmetryCalibration_step2_SM::endJob(), PhiSymmetryCalibration_step2::endJob(), PhiSymmetryCalibration::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), Pi0FixedMassWindowCalibration::endOfLoop(), SETSeedFinder::estimateMomentum(), MuonSeedCreator::estimatePtCSC(), MuonSeedCreator::estimatePtDT(), MuonSeedCreator::estimatePtOverlap(), MuonSeedCreator::estimatePtSingle(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), LA_Filler_Fitter::fill(), PhiSymmetryCalibration_step2_SM::fillConstantsHistos(), PhiSymmetryCalibration_step2::fillConstantsHistos(), PhiSymmetryCalibration_step2_SM::fillHistos(), PhiSymmetryCalibration_step2::fillHistos(), HcalGeometry::getCells(), gbl::GblTrajectory::getFitToLocalJacobian(), CustomParticleFactory::getMassTable(), OptOCOPS::getMeasFromInters(), EcalHitMaker::getPads(), TangentCircle::getPosition(), RPCStripsRing::getRingId(), RPCStripsRing::getTowerForRefRing(), DTConfigLUTs::IEEE32toDSP(), DTTrigGeom::IEEE32toDSP(), IEEE32toDSP(), LinkBoardSpec::linkBoardName(), L1RCTLookupTables::lookup(), VoronoiAlgorithm::lp_populate(), CaloTowerHardcodeGeometryLoader::makeCell(), CastorHardcodeGeometryLoader::makeCell(), HcalDDDGeometryLoader::makeCell(), CSCHitFromStripOnly::makeStripData(), StripCPEgeometric::WrappedCluster::maxProjection(), DCCEventBlock::next_tower_search(), BowedSurfaceAlignmentDerivatives::operator()(), JetCorrExtractorT< T >::operator()(), ThirdHitPredictionFromCircle::phi(), cond::PayLoadInspector< DataT >::plot(), TwoBowedSurfacesDeformation::positionCorrection(), KalmanVertexUpdator< N >::positionUpdate(), SETSeedFinder::pre_prune(), TagProbeMassProducer::produce(), MaskedRctInputDigiProducer::produce(), MuonSeedPtExtractor::pT_extract(), EmissionVetoHook1::pTpythia(), PhiSymmetryCalibration_step2::readEtSums(), PhiSymmetryCalibration_step2_SM::readEtSums(), TrajectoryManager::reconstruct(), SteppingHelixPropagator::refToMagVolume(), SteppingHelixPropagator::refToMatVolume(), HcalHitRelabeller::relabel(), RPCMuon::RPCMuon(), CustomPDGParser::s_charge(), RPCLogCone::setMuonSign(), RPCMuon::setSign(), EcalGeomPhiSymHelper::setup(), PhiSymmetryCalibration_step2_SM::setUp(), sicif(), IPTools::signedImpactParameter3D(), IPTools::signedTransverseImpactParameter(), SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit(), Pi0FixedMassWindowCalibration::startingNewLoop(), cond::PayLoadInspector< DataT >::summary(), ME::time(), ME::timeDiff(), l1t::CaloTools::towerEta(), TangentApproachInRPhi::transverseCoord(), ClosestApproachInRPhi::transverseCoord(), KalmanVertexUpdator< N >::update(), and SignedTransverseImpactParameter::zImpactParameter().

33  {
34  if ( x > 0. ) return +1.;
35  else if ( x < 0. ) return -1.;
36  else return 0.;
37  }
Definition: DDAxes.h:10