#include "TMath.h"
Go to the source code of this file.
Enumerations | |
enum | { Unknown = 0, Plug, Wall, Air, Clay, Rock } |
Variables | |
const double | alpha = 2. |
const double | beta = 3.9e-6 |
const bool | Debug = false |
const double | DefaultClayWidth = 50000. |
const double | Deg2Rad = Pi/180. |
const double | epsilon = alpha/beta |
const bool | EventDisplay = true |
const int | max_Trials = 200000 |
const double | MinStepSize = 10. |
const double | MuonMass = 0.105658357 |
const double | N_A = 6.022e23 |
const double | NorthCMSzDeltaPhi = 3./8.*Pi |
const double | Pi = acos(-1.) |
const double | PlugNoseXlength = 6400. |
const double | PlugNoseZlength = 1800. |
const double | PlugOnShaftVx = 0. |
const double | PlugOnShaftVz = Z_PX56 |
const double | PlugWidth = 2250. |
const double | PlugXlength = 20600. |
const double | PlugZlength = 16000. |
const double | Rad2Deg = 180./Pi |
const double | RadiusCMS = 8000. |
const double | RadiusTracker = 1200. |
const double | Rearth = 6370.e6 |
const double | SpeedOfLight = 299.792458 |
const double | SurfaceOfEarth = 88874. |
const double | TwoPi = 2.0*Pi |
const double | Z_DistCMS = 15000. |
const double | Z_DistTracker = 2800. |
const double | Z_PX56 = -14000. |
anonymous enum |
const double alpha = 2. |
Definition at line 68 of file CosmicMuonParameters.h.
const double beta = 3.9e-6 |
Definition at line 69 of file CosmicMuonParameters.h.
Referenced by BetaCalculatorRPC::addInfoToCandidate(), SiPixelTrackingRecHitsValid::beginJob(), DreamSD::cherenkovDeposit_(), EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitude(), EnergyLossUpdator::computeBetheBloch(), VolumeEnergyLossEstimator::computeBetheBloch(), SiStripGainFromData::ComputeChargeOverPath(), HFCherenkov::computeNbOfPhotons(), HcalSiPMShape::computeShape(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), WriteESAlignments::convert(), HouseholderDecomposition::decompose(), GenericHouseholder::decompose(), MuonAlignmentInputXML::do_setposition(), DTSurveyConvert::endJob(), EcalLaserAnalyzer::endJob(), EcalPerEvtLaserAnalyzer::endJob(), VolumeMultipleScatteringEstimator::estimate(), DDEcalBarrelNewAlgo::execute(), DDEcalBarrelAlgo::execute(), DTSurvey::FillWheelInfo(), hitfit::Chisq_Constrainer::fit(), TFParams::fitpj(), PairProductionSimulator::gbteth(), MuonBremsstrahlungSimulator::gbteth(), BremsstrahlungSimulator::gbteth(), DreamSD::getAverageNumberOfPhotons_(), CastorSD::getEnergyDeposit(), ZdcSD::getEnergyDeposit(), NtupleManager::GetGlobalAngles(), HCalSD::getHitFibreBundle(), HCalSD::getHitPMT(), HFShowerFibreBundle::getHits(), HFShowerPMT::getHits(), TangentCircle::getPosition(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), HFGflash::gfParameterization(), PulseFitWithFunction::init(), ThirdHitPrediction::isCompatibleWithMultipleScattering(), isolation(), ZToMuMuIsoDepositSelector< Isolator >::isolation(), ZMuMuTrackUserData::isolation(), ZMuMuMuonUserData::isolation(), TFParams::lastShape(), TFParams::lastShape2(), PixelCPEBase::localParameters(), TopologyWorker::ludbrb(), TFParams::mixShape(), MLP_Epoch(), HcalRecHitsMaker::noiseInfCfromDB(), oldMUcompute(), TrackerDpgAnalysis::onTrackAngles(), GflashEMShowerProfile::parameterization(), TFParams::pulseShapepj(), TFParams::pulseShapepj2(), Conv4HitsReco::qFromM_print(), TFParams::set_const(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >::SetAlphaBeta(), FillInfo::setBeamInfo(), DDI::Polyhedra::volume(), DDEcalBarrelNewAlgo::web(), DDEcalBarrelAlgo::web(), and ZToLLEdmNtupleDumper::ZToLLEdmNtupleDumper().
const bool Debug = false |
Definition at line 12 of file CosmicMuonParameters.h.
Referenced by coralMessageLevel(), cond::RelationalAuthenticationService::RelationalAuthenticationService::credentials(), FillInfoPopConSourceHandler::getNewObjects(), CosmicMuonGenerator::initialize(), cond::XMLAuthenticationService::XMLAuthenticationService::initialize(), cond::Utilities::initializeForDbConnection(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), cond::XMLAuthenticationService::XMLAuthenticationService::processFile(), edm::CosMuoGenProducer::produce(), edm::CosMuoGenSource::produce(), cond::RDBMS::RDBMS(), cond::SQLMonitoringService::reportForSession(), l1t::DataManager::setDebug(), L1MuGMTConfig::setDefaults(), L1MuDTTFConfig::setDefaults(), cond::DbConnectionConfiguration::setParameters(), SingleParticleEvent::SurfProj(), and cond::XMLAuthenticationService::XMLAuthenticationService::verifyFileName().
const double DefaultClayWidth = 50000. |
Definition at line 38 of file CosmicMuonParameters.h.
Referenced by SingleParticleEvent::SingleParticleEvent().
Definition at line 20 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::CosmicMuonGenerator(), CosmicMuonGenerator::goodOrientation(), CosmicMuonGenerator::initialize(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::setMaxPhi(), CosmicMuonGenerator::setMaxTheta(), CosmicMuonGenerator::setMinPhi(), CosmicMuonGenerator::setMinTheta(), and CosmicMuonGenerator::terminate().
Definition at line 70 of file CosmicMuonParameters.h.
Referenced by HLTAlCa::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), MagGeoBuilderFromDDD::bSlab::bSlab(), TrackWithHistory::checkAtEnd(), CorrectDeadChannelsClassic(), CorrectDeadChannelsNN(), CMSCGEN::dNdEmudEnu(), IntegralOverPhiFunction::DoEval(), IntegrandThetaFunction::DoEval(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), Thrust::finalAxis(), PerigeeConversions::ftsToPerigeeParameters(), ConversionProducer::getTrackImpactPosition(), TrackerBounds::initialize(), ECALBounds::initialize(), ConversionTrackEcalImpactPoint::initialize(), SmartPropagator::initTkVolume(), CSCLayerGeometry::inside(), EcalListOfFEDSProducer::Jets(), ESListOfFEDSProducer::Jets(), SimpleNavigationSchool::linkNextLargerLayer(), HICSimpleNavigationSchool::linkNextLargerLayer(), HICSimpleNavigationSchool::linkNextLayerInGroup(), SimpleNavigationSchool::linkNextLayerInGroup(), EcalListOfFEDSProducer::Muon(), ESListOfFEDSProducer::Muon(), NavVolume6Faces::nextSurface(), DTTopology::onWhichBorder(), DTTopology::onWhichBorder_old(), NumericSafeGreaterByPt< T >::operator()(), NumericSafeLessByPt< T >::operator()(), NumericSafeLessByEt< T >::operator()(), CMSInsideOutAlgorithm::ListIteratorLesserByDeltaR::operator()(), NumericSafeGreaterByEt< T >::operator()(), DTSegmentCand::operator==(), SimpleNavigationSchool::outerRadiusIncrease(), HICSimpleNavigationSchool::outerRadiusIncrease(), PFGeometry::PFGeometry(), cms::SimpleTrackListMerger::produce(), ZmumuPFEmbedder::produceTrackColl(), RecHitPropagator::propagate(), JetMETDQMOfflineClient::runClient_(), CSC01::set_epsilon_max(), FixedFlatOccupancy1d::set_epsilon_max(), FixedFlatOccupancy1d::set_epsilon_min(), DAClusterizerInZ::splitAll(), and muonisolation::NominalEfficiencyThresholds::thresholdValueForEfficiency().
const bool EventDisplay = true |
Definition at line 13 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::initialize(), and CosmicMuonGenerator::nextEvent().
const int max_Trials = 200000 |
Definition at line 75 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::nextMultiEvent().
const double MinStepSize = 10. |
Definition at line 16 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::initialize(), and SingleParticleEvent::propagate().
const double MuonMass = 0.105658357 |
Definition at line 24 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), SingleParticleEvent::propagate(), and SingleParticleEvent::subtractEloss().
const double N_A = 6.022e23 |
Definition at line 67 of file CosmicMuonParameters.h.
Referenced by CMSCGEN::dNdEmudEnu().
const double NorthCMSzDeltaPhi = 3./8.*Pi |
Definition at line 74 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::nextMultiEvent().
const double Pi = acos(-1.) |
Definition at line 18 of file CosmicMuonParameters.h.
Referenced by Combo::analyze(), TauTagValidation::analyze(), HiBasicGenTest::analyze(), DTRunConditionVar::analyze(), SiStripTrackingRecHitsValid::analyze(), reco::PFDisplacedVertex::angle_io(), PFElecTkProducer::applySelection(), PatPhotonSimpleAnalyzer::beginJob(), PhotonIDSimpleAnalyzer::beginJob(), PatTriggerAnalyzer::beginJob(), PatTauAnalyzer::beginJob(), ElectronConversionRejectionValidator::beginJob(), FourVectorHLTriggerOffline::beginRun(), HLTJetMETDQMSource::beginRun(), FourVectorHLTOffline::beginRun(), RPCRecHitProbability::beginRun(), FourVectorHLTOnline::beginRun(), EwkMuTauHistManager::bookHistograms(), EwkElecTauHistManager::bookHistograms(), BSFitter::BSFitter(), FWPFEcalRecHitLegoProxyBuilder::build(), FWBeamSpotProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), calcDeltaPhi(), SiStripHitEffFromCalibTree::calcPhi(), CSCTFPtLUT::calcPt(), CSCHaloAlgo::Calculate(), FWViewEnergyScale::calculateScaleFactor(), EventShapeVariables::circularity(), TCMETAlgo::closeToElectron(), MuonMETAlgo::correctMETforMuon(), DisplayManager::createGRecHit(), CosmicGenFilterHelix::createHistsEnd(), CosmicGenFilterHelix::createHistsStart(), CSCHaloAlgo::CSCHaloAlgo(), TtFullLepKinSolver::cubic(), TtSemiLepSignalSelMVATrainer::DeltaPhi(), TtSemiLepSignalSel::DeltaPhi(), MuScleFitUtils::deltaPhi(), TtSemiLepSignalSelMVAComputer::DeltaPhi(), MuScleFitUtils::deltaPhiNoFabs(), SiStripFineDelayHit::detId(), IntegralOverPhiFunction::DoEval(), ConeAreaFunction::DoEval(), IntegrandThetaFunction::DoEval(), ZeeCalibration::EvalDPhi(), ZeeCalibration::EvalDR(), CMSCGENnorm::events_n100cos(), FWCaloTowerProxyBuilderBase::fillCaloData(), PFPhotonClusters::FillClusterWidth(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), TCMETAlgo::findDuplicateTracks(), PFElecTkProducer::FindPfRef(), FixedGridEnergyDensity::fixedGridRho(), FWLegoCandidate::FWLegoCandidate(), GSUtilities::gauss(), EcalDQMBinningService::getBinMapEB_(), EcalDQMBinningService::getBinMapEcal_(), EcalDQMBinningService::getBinMapEE_(), EcalDQMBinningService::getBinningEB_(), EcalDQMBinningService::getBinningEcal_(), EcalDQMBinningService::getBinningEE_(), Tau3MuReco::getDeltaR(), EopTreeWriter::getDistInCM(), SiStripFineDelayTOF::getPhi(), EcalClusterCrackCorrection::getValue(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), CosmicMuonGenerator::goodOrientation(), HEff1DHit::HEff1DHit(), HEff2DHit::HEff2DHit(), HEff4DHit::HEff4DHit(), HiEvtPlaneFlatten::HiEvtPlaneFlatten(), HResolutionVSPart::HResolutionVSPart(), MillePedeMonitor::init(), fireworks::Context::initEveElements(), EventShapeVariables::isotropy(), PFElecTkProducer::isSharingEcalEnergyWithEgSC(), HLTMuonL1Filter::isSingleSegmentCSC(), edm::isTransientEqual(), CSCTFPtMethods::Likelihood2(), CSCTFPtMethods::Likelihood2_2011(), EcalClusterLocal::localCoordsEB(), PixelCPEBase::localParameters(), lorentzianPeak(), main(), fireworks::makeRhoZSuperCluster(), MuScleFitUtils::massProb(), PFElecTkProducer::minTangDist(), MuonErrorMatrix::MuonErrorMatrix(), MuScleFit::MuScleFit(), reco::Mustache::MustacheClust(), reco::Mustache::MustacheID(), AntiElectronIDMVA::MVAValue(), mygauss(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), JetIDStudiesSelector::operator()(), FixedAreaIsolationCone::operator()(), Balance::operator()(), operator<<(), ParticleTowerProducer::ParticleTowerProducer(), BSpdfsFcn::PDFGauss_d(), BSpdfsFcn::PDFGauss_d_resolution(), BSpdfsFcn::PDFGauss_z(), PFClusterWidthAlgo::PFClusterWidthAlgo(), PFPhotonClusters::PFCrystalCoor(), Phi_To_EcaliPhi(), Phi_To_HcaliPhi(), Phi_To_iPhi(), reco::PhiWedge::PhiHigh(), reco::PhiWedge::PhiLow(), SETPatternRecognition::produce(), BoostedTopProducer::produce(), MuScleFitMuonProducer::produce(), TCMETAlgo::propagateTrack(), cms::MuonTCMETValueMapProducer::propagateTrack(), BoostedTopProducer::Psi(), MuonSeedPtExtractor::pT_extract(), RecoMuonValidator::RecoMuonValidator(), CosmicRegionalSeedGenerator::regions(), HITrackingRegionProducer::regions(), HITrackingRegionForPrimaryVtxProducer::regions(), pftools::CaloWindow::relativePosition(), PFElecTkProducer::resolveGsfTracks(), RPCRecHitValid::RPCRecHitValid(), ConvBremPFTrackFinder::runConvBremFinder(), BSFitter::scanPDF(), FWLegoViewBase::setContext(), FWEveView::setupEnergyScale(), OccupancyPlotter::setupHltMatrix(), L1DummyProducer::SimpleDigi(), smearFunctionType7::smear(), smearFunctionBase::smearEta(), CosmicMuonGenerator::terminate(), SiStripFineDelayTOF::trackParameters(), TopologyWorker::ulAngle(), TracktoRPC::ValidRPCSurface(), and wrapPi().
const double PlugNoseXlength = 6400. |
Definition at line 44 of file CosmicMuonParameters.h.
Referenced by inPlug().
const double PlugNoseZlength = 1800. |
Definition at line 45 of file CosmicMuonParameters.h.
Referenced by inPlug().
const double PlugOnShaftVx = 0. |
Definition at line 46 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::CosmicMuonGenerator(), and SingleParticleEvent::SingleParticleEvent().
const double PlugOnShaftVz = Z_PX56 |
Definition at line 47 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::CosmicMuonGenerator(), and SingleParticleEvent::SingleParticleEvent().
const double PlugWidth = 2250. |
Definition at line 41 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::goodOrientation(), CosmicMuonGenerator::initialize(), inPlug(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), and SingleParticleEvent::SurfProj().
const double PlugXlength = 20600. |
Definition at line 42 of file CosmicMuonParameters.h.
Referenced by inPlug().
const double PlugZlength = 16000. |
Definition at line 43 of file CosmicMuonParameters.h.
Referenced by inPlug().
Definition at line 21 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::terminate().
const double RadiusCMS = 8000. |
Definition at line 52 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::goodOrientation(), CosmicMuonGenerator::initEvDis(), CosmicMuonGenerator::initialize(), CosmicMuonGenerator::nextEvent(), and SingleParticleEvent::propagate().
const double RadiusTracker = 1200. |
Definition at line 54 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::initEvDis(), CosmicMuonGenerator::initialize(), and SingleParticleEvent::propagate().
const double Rearth = 6370.e6 |
Definition at line 71 of file CosmicMuonParameters.h.
Referenced by CMSCGEN::dNdEmudEnu().
const double SpeedOfLight = 299.792458 |
Definition at line 23 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::nextEvent(), and CosmicMuonGenerator::nextMultiEvent().
const double SurfaceOfEarth = 88874. |
Definition at line 27 of file CosmicMuonParameters.h.
Referenced by CMSCGEN::dNdEmudEnu(), CosmicMuonGenerator::goodOrientation(), inAirAfterPlug(), inClayAfterWall(), inClayOrRockAfterWall(), CosmicMuonGenerator::initialize(), inMat(), inPlug(), inRockAfterClay(), inWallAfterAir(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), SingleParticleEvent::SurfProj(), and CosmicMuonGenerator::terminate().
Definition at line 19 of file CosmicMuonParameters.h.
Referenced by PFElecTkProducer::applySelection(), TCMETAlgo::closeToElectron(), TEveEllipsoidProjectedGL::DrawRhoPhi(), TEveEllipsoidProjectedGL::DrawRhoZ(), PFPhotonClusters::FillClusterWidth(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), TCMETAlgo::findDuplicateTracks(), PFElecTkProducer::FindPfRef(), FixedGridEnergyDensity::fixedGridRho(), ConvBremSeedProducer::GoodCluster(), CosmicMuonGenerator::goodOrientation(), PFElecTkProducer::isSharingEcalEnergyWithEgSC(), main(), FWRPZViewGeometry::makeCaloOutlineRhoPhi(), PFElecTkProducer::minTangDist(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), PFClusterWidthAlgo::PFClusterWidthAlgo(), SingleParticleEvent::phi(), GoodSeedProducer::produce(), PFElecTkProducer::resolveGsfTracks(), ConvBremPFTrackFinder::runConvBremFinder(), FWLegoViewBase::setContext(), FWPFTrackUtils::setupLegoTrack(), and wrapPi().
const double Z_DistCMS = 15000. |
Definition at line 53 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::initEvDis(), and SingleParticleEvent::propagate().
const double Z_DistTracker = 2800. |
Definition at line 55 of file CosmicMuonParameters.h.
Referenced by CosmicMuonGenerator::displayEv(), CosmicMuonGenerator::initEvDis(), CosmicMuonGenerator::initialize(), and SingleParticleEvent::propagate().
const double Z_PX56 = -14000. |
Definition at line 28 of file CosmicMuonParameters.h.
Referenced by inAirAfterPlug(), and inWallAfterAir().