#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 |
Enumerator | |
---|---|
Unknown | |
Plug | |
Wall | |
Air | |
Clay | |
Rock |
Definition at line 63 of file CosmicMuonParameters.h.
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(), SiStripGainFromData::ComputeChargeOverPath(), HFCherenkov::computeNbOfPhotons(), TShapeAnalysis::computeShape(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), WriteESAlignments::convert(), GenericHouseholder::decompose(), HouseholderDecomposition::decompose(), MuonAlignmentInputXML::do_setposition(), EvolutionECAL::DoseLongitudinalProfile(), DAClusterizerInZ::dump(), DAClusterizerInZ_vect::dump(), DTSurveyConvert::endJob(), EcalPerEvtLaserAnalyzer::endJob(), EcalLaserAnalyzer::endJob(), DDEcalBarrelNewAlgo::execute(), DDEcalBarrelAlgo::execute(), DTSurvey::FillWheelInfo(), hitfit::Chisq_Constrainer::fit(), TFParams::fitpj(), PairProductionSimulator::gbteth(), BremsstrahlungSimulator::gbteth(), MuonBremsstrahlungSimulator::gbteth(), DreamSD::getAverageNumberOfPhotons_(), ZdcSD::getEnergyDeposit(), CastorSD::getEnergyDeposit(), NtupleManager::GetGlobalAngles(), HCalSD::getHitFibreBundle(), HCalSD::getHitPMT(), HFShowerFibreBundle::getHits(), HFShowerPMT::getHits(), TangentCircle::getPosition(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), HFGflash::gfParameterization(), PulseFitWithFunction::init(), PileupJetIdAlgo::initVariables(), ThirdHitPrediction::isCompatibleWithMultipleScattering(), ZMuMuTrackUserData::isolation(), ZMuMuMuonUserData::isolation(), ZToMuMuIsoDepositSelector< Isolator >::isolation(), isolation(), TFParams::lastShape(), TFParams::lastShape2(), PixelCPEBase::localParameters(), TopologyWorker::ludbrb(), TFParams::mixShape(), MLP_Epoch(), HcalRecHitsMaker::noiseInfCfromDB(), oldComputeBetheBloch(), oldMUcompute(), TrackerDpgAnalysis::onTrackAngles(), GflashEMShowerProfile::parameterization(), TFParams::pulseShapepj(), TFParams::pulseShapepj2(), Conv4HitsReco::qFromM_print(), TFParams::set_const(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >::SetAlphaBeta(), DAClusterizerInZ_vect::update(), DAClusterizerInZ::vertices(), DAClusterizerInZ_vect::vertices(), DDI::Polyhedra::volume(), DDEcalBarrelAlgo::web(), DDEcalBarrelNewAlgo::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(), cond::XMLAuthenticationService::XMLAuthenticationService::initialize(), CosmicMuonGenerator::initialize(), cond::Utilities::initializeForDbConnection(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), cond::XMLAuthenticationService::XMLAuthenticationService::processFile(), edm::CosMuoGenProducer::produce(), cond::RDBMS::RDBMS(), cond::SQLMonitoringService::reportForSession(), l1t::DataManager::setDebug(), L1MuDTTFConfig::setDefaults(), L1MuGMTConfig::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().
const double Deg2Rad = Pi/180. |
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(), GeneralBinFinderInPhi< T >::binIndex(), MagGeoBuilderFromDDD::bSlab::bSlab(), TrackWithHistory::checkAtEnd(), CorrectDeadChannelsClassic(), CorrectDeadChannelsNN(), CMSCGEN::dNdEmudEnu(), IntegralOverPhiFunction::DoEval(), IntegrandThetaFunction::DoEval(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), Thrust::finalAxis(), PerigeeConversions::ftsToPerigeeParameters(), ConversionProducer::getTrackImpactPosition(), ECALBounds::initialize(), TrackerBounds::initialize(), ConversionTrackEcalImpactPoint::initialize(), CSCLayerGeometry::inside(), QuadrupletSeedMerger::isEqual(), EcalListOfFEDSProducer::Jets(), ESListOfFEDSProducer::Jets(), SimpleNavigationSchool::linkNextLargerLayer(), SimpleNavigationSchool::linkNextLayerInGroup(), EcalListOfFEDSProducer::Muon(), ESListOfFEDSProducer::Muon(), DTTopology::onWhichBorder(), DTTopology::onWhichBorder_old(), CMSInsideOutAlgorithm::ListIteratorLesserByDeltaR::operator()(), NumericSafeLessByPt< T >::operator()(), NumericSafeLessByEt< T >::operator()(), NumericSafeGreaterByEt< T >::operator()(), NumericSafeGreaterByPt< T >::operator()(), DTSegmentCand::operator==(), SimpleNavigationSchool::outerRadiusIncrease(), PFGeometry::PFGeometry(), cms::SimpleTrackListMerger::produce(), ZmumuPFEmbedder::produceTrackColl(), RecHitPropagator::propagate(), JetMETDQMOfflineClient::runClient_(), FixedFlatOccupancy1d::set_epsilon_max(), CSC01::set_epsilon_max(), FixedFlatOccupancy1d::set_epsilon_min(), DAClusterizerInZ::split(), DAClusterizerInZ_vect::split(), DAClusterizerInZ::splitAll(), DAClusterizerInZ_vect::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 HiBasicGenTest::analyze(), DTSegmentAnalysisTask::analyze(), DTRunConditionVar::analyze(), SiStripTrackingRecHitsValid::analyze(), TauTagValidation::analyze(), PrimaryVertexValidation::analyze(), Combo::analyze(), reco::PFDisplacedVertex::angle_io(), PFElecTkProducer::applySelection(), PatTriggerAnalyzer::beginJob(), PatPhotonSimpleAnalyzer::beginJob(), PhotonIDSimpleAnalyzer::beginJob(), ElectronConversionRejectionValidator::beginJob(), PrimaryVertexValidation::beginJob(), RPCRecHitProbability::beginRun(), HLTJetMETDQMSource::beginRun(), FourVectorHLTOnline::beginRun(), FourVectorHLTriggerOffline::beginRun(), FourVectorHLTOffline::beginRun(), L1TEfficiencyMuons_Offline::bookEfficiencyHistos(), EwkElecTauHistManager::bookHistograms(), EwkMuTauHistManager::bookHistograms(), DiJetVarAnalyzer::bookMEs(), BSFitter::BSFitter(), FWBeamSpotProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::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(), AntiElectronIDMVA3::dCrackPhi(), TtSemiLepSignalSelMVAComputer::DeltaPhi(), TtSemiLepSignalSelMVATrainer::DeltaPhi(), TtSemiLepSignalSel::DeltaPhi(), MuScleFitUtils::deltaPhi(), MuScleFitUtils::deltaPhiNoFabs(), SiStripFineDelayHit::detId(), IntegralOverPhiFunction::DoEval(), IntegrandThetaFunction::DoEval(), ConeAreaFunction::DoEval(), reco::PFDisplacedVertexSeed::Dump(), reco::PFDisplacedVertexCandidate::Dump(), 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(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), EcalClusterCrackCorrection::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(), AntiElectronIDMVA::MVAValue(), AntiElectronIDMVA2::MVAValue(), AntiElectronIDMVA3::MVAValue(), mygauss(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), FixedAreaIsolationCone::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(), PrimaryVertexValidation::PrimaryVertexValidation(), SETPatternRecognition::produce(), BoostedTopProducer::produce(), cms::MuonTCMETValueMapProducer::propagateTrack(), TCMETAlgo::propagateTrack(), BoostedTopProducer::Psi(), MuonSeedPtExtractor::pT_extract(), RecoMuonValidator::RecoMuonValidator(), CosmicRegionalSeedGenerator::regions(), HITrackingRegionForPrimaryVtxProducer::regions(), HITrackingRegionProducer::regions(), pftools::CaloWindow::relativePosition(), PFElecTkProducer::resolveGsfTracks(), RPCRecHitValid::RPCRecHitValid(), ConvBremPFTrackFinder::runConvBremFinder(), BSFitter::scanPDF(), FWLegoViewBase::setContext(), FWEveView::setupEnergyScale(), GeneralHLTOffline::setupHltMatrix(), OccupancyPlotter::setupHltMatrix(), DoubleCrystalBallGenerator::shoot(), 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().
const double Rad2Deg = 180./Pi |
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().
const double TwoPi = 2.0*Pi |
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(), 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().