test
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(), SimHitsValidationHcal::analyze(), PhiSymmetryCalibration::analyze(), HGCalSimHitValidation::analyze(), PhiSymmetryCalibration_step2::beginJob(), PhiSymmetryCalibration_step2_SM::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(), l1t::MicroGMTIsolationUnit::extrapolateMuons(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), LA_Filler_Fitter::fill(), PhiSymmetryCalibration_step2_SM::fillConstantsHistos(), PhiSymmetryCalibration_step2::fillConstantsHistos(), PhiSymmetryCalibration_step2_SM::fillHistos(), PhiSymmetryCalibration_step2::fillHistos(), TriggerDiff::format(), 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(), CordicXilinx::operator()(), BowedSurfaceAlignmentDerivatives::operator()(), JetCorrExtractorT< T >::operator()(), ThirdHitPredictionFromCircle::phi(), TwoBowedSurfacesDeformation::positionCorrection(), KalmanVertexUpdator< N >::positionUpdate(), SETSeedFinder::pre_prune(), TagProbeMassProducer::produce(), MaskedRctInputDigiProducer::produce(), MuonSeedPtExtractor::pT_extract(), EmissionVetoHook1::pTpythia(), PhiSymmetryCalibration_step2_SM::readEtSums(), PhiSymmetryCalibration_step2::readEtSums(), TrajectoryManager::reconstruct(), SteppingHelixPropagator::refToMagVolume(), SteppingHelixPropagator::refToMatVolume(), HcalHitRelabeller::relabel(), RPCMuon::RPCMuon(), CustomPDGParser::s_charge(), L1Analysis::L1AnalysisCaloTP::SetECAL(), L1Analysis::L1AnalysisCaloTP::SetHCAL(), RPCLogCone::setMuonSign(), RPCMuon::setSign(), EcalGeomPhiSymHelper::setup(), PhiSymmetryCalibration_step2_SM::setUp(), sicif(), IPTools::signedImpactParameter3D(), IPTools::signedTransverseImpactParameter(), SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit(), Pi0FixedMassWindowCalibration::startingNewLoop(), ME::time(), ME::timeDiff(), l1t::CaloTools::towerEta(), TangentApproachInRPhi::transverseCoord(), ClosestApproachInRPhi::transverseCoord(), pat::PackedGenParticle::unpack(), pat::PackedCandidate::unpack(), 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  }
T x() const
Cartesian x coordinate.