#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(), TauValidation::analyze(), DreamSD::cherenkovDeposit_(), EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitudeImpl(), VolumeEnergyLossEstimator::computeBetheBloch(), 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(), VolumeMultipleScatteringEstimator::estimate(), DDEcalBarrelNewAlgo::execute(), DDEcalBarrelAlgo::execute(), AdHocNTupler::fill(), 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(), HFShowerPMT::getHits(), HFShowerFibreBundle::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(), TopologyWorker::ludbrb(), TFParams::mixShape(), MLP_Epoch(), 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 l1t::Stage1Layer2EGammaAlgorithmImpPP::AssociatedJetPt(), l1t::Stage1Layer2TauAlgorithmImpPP::AssociatedJetPt(), l1t::Stage1Layer2EGammaAlgorithmImpHW::AssociatedJetPt(), l1t::Stage1Layer2TauAlgorithmImpHW::AssociatedJetPt(), 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(), SimpleDAFHitCollector::recHits(), cond::SQLMonitoringService::reportForSession(), l1t::DataManager::setDebug(), L1MuDTTFConfig::setDefaults(), L1MuGMTConfig::setDefaults(), cond::persistency::ConnectionPool::setParameters(), 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.
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 FWCaloDataHistProxyBuilder::addEntryToTEveCaloData(), HiBasicGenTest::analyze(), DTSegmentAnalysisTask::analyze(), DTRunConditionVar::analyze(), TauTagValidation::analyze(), PrimaryVertexValidation::analyze(), Combo::analyze(), reco::PFDisplacedVertex::angle_io(), PFElecTkProducer::applySelection(), PatTauAnalyzer::beginJob(), PatTriggerAnalyzer::beginJob(), PatPhotonSimpleAnalyzer::beginJob(), PhotonIDSimpleAnalyzer::beginJob(), PrimaryVertexValidation::beginJob(), MCEmbeddingValidationAnalyzer::beginJob(), L1TEfficiencyMuons_Offline::bookEfficiencyHistos(), DiJetVarAnalyzer::bookHistograms(), RPCRecHitProbability::bookHistograms(), RPCRecHitValid::bookHistograms(), ElectronConversionRejectionValidator::bookHistograms(), TauValidation::bookHistograms(), EwkElecTauHistManager::bookHistograms(), JetTester_HeavyIons::bookHistograms(), EwkMuTauHistManager::bookHistograms(), MCEmbeddingValidationAnalyzer::leptonDistributionT< T >::bookHistograms(), MCEmbeddingValidationAnalyzer::leptonEfficiencyT< T >::bookHistograms(), MCEmbeddingValidationAnalyzer::leptonL1TriggerEfficiencyT1T2< T1, T2 >::bookHistograms(), MCEmbeddingValidationAnalyzer::l1ExtraObjectDistributionT< T >::bookHistograms(), MCEmbeddingValidationAnalyzer::metDistributionType::bookHistograms(), MCEmbeddingValidationAnalyzer::metL1TriggerEfficiencyType::bookHistograms(), BSFitter::BSFitter(), FWBeamSpotProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), calcDeltaPhi(), SiStripHitEffFromCalibTree::calcPhi(), CSCTFPtLUT::calcPt(), CSCHaloAlgo::Calculate(), FWViewEnergyScale::calculateScaleFactor(), EventShapeVariables::circularity(), TCMETAlgo::closeToElectron(), tauImpactParameter::TrackHelixVertexFitter::computedxydz(), PFMETAlgorithmMVA::computeMET(), tauImpactParameter::ParticleBuilder::convertCMSSWTrackPerigeeToSFTrackPar(), MuonMETAlgo::correctMETforMuon(), CosmicGenFilterHelix::createHistsEnd(), CosmicGenFilterHelix::createHistsStart(), CSCHaloAlgo::CSCHaloAlgo(), TtFullLepKinSolver::cubic(), TtSemiLepSignalSelMVAComputer::DeltaPhi(), TtSemiLepSignalSel::DeltaPhi(), TtSemiLepSignalSelMVATrainer::DeltaPhi(), MuScleFitUtils::deltaPhi(), MuScleFitUtils::deltaPhiNoFabs(), SiStripFineDelayHit::detId(), AntiElectronIDCut2::Discriminator(), IntegralOverPhiFunction::DoEval(), IntegrandThetaFunction::DoEval(), ConeAreaFunction::DoEval(), reco::PFDisplacedVertexSeed::Dump(), reco::PFDisplacedVertexCandidate::Dump(), ZeeCalibration::EvalDPhi(), ZeeCalibration::EvalDR(), CMSCGENnorm::events_n100cos(), PFPhotonClusters::FillClusterWidth(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), TCMETAlgo::findDuplicateTracks(), PFElecTkProducer::FindPfRef(), FixedGridEnergyDensity::fixedGridRho(), FWLegoCandidate::FWLegoCandidate(), GSUtilities::gauss(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), ecaldqm::binning::getBinningEB_(), ecaldqm::binning::getBinningEcal_(), ecaldqm::binning::getBinningEE_(), Tau3MuReco::getDeltaR(), EopTreeWriter::getDistInCM(), SiStripFineDelayTOF::getPhi(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), EcalClusterCrackCorrection::getValue(), CosmicMuonGenerator::goodOrientation(), HEff1DHit::HEff1DHit(), HEff2DHit::HEff2DHit(), HEff4DHit::HEff4DHit(), HResolutionVSPart::HResolutionVSPart(), MillePedeMonitor::init(), fireworks::Context::initEveElements(), gen::Hydjet2Hadronizer::initializeForInternalPartons(), IsotropicR3(), EventShapeVariables::isotropy(), PFElecTkProducer::isSharingEcalEnergyWithEgSC(), HLTMuonL1Filter::isSingleSegmentCSC(), edm::isTransientEqual(), CSCTFPtMethods::Likelihood2(), CSCTFPtMethods::Likelihood2_2011(), EcalClusterLocal::localCoordsEB(), lorentzianPeak(), main(), fireworks::makeRhoZSuperCluster(), MuScleFitUtils::massProb(), PFElecTkProducer::minTangDist(), MuonErrorMatrix::MuonErrorMatrix(), MuScleFit::MuScleFit(), mygauss(), HWWFunctions::nearestDeltaPhi(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), FixedAreaIsolationCone::operator()(), reco::tau::PFRecoTauChargedHadronFromTrackPlugin::operator()(), JetIDStudiesSelector::operator()(), operator<<(), GrandCanonical::ParticleEnergyDensity(), GrandCanonical::ParticleNumberDensity(), ParticleReplacerZtautau::ParticleReplacerZtautau(), ParticleTowerProducer::ParticleTowerProducer(), HWWFunctions::passDPhiDiLepJet(), BSpdfsFcn::PDFGauss_d(), BSpdfsFcn::PDFGauss_d_resolution(), BSpdfsFcn::PDFGauss_z(), PFPhotonClusters::PFCrystalCoor(), Particle::Phi(), Phi_To_EcaliPhi(), Phi_To_HcaliPhi(), Phi_To_iPhi(), reco::PhiWedge::PhiHigh(), reco::PhiWedge::PhiLow(), PrimaryVertexValidation::PrimaryVertexValidation(), SETPatternRecognition::produce(), GoodSeedProducer::produce(), BoostedTopProducer::produce(), HWWFunctions::projectedMet(), cms::MuonTCMETValueMapProducer::propagateTrack(), TCMETAlgo::propagateTrackToCalorimeterFace(), BoostedTopProducer::Psi(), MuonSeedPtExtractor::pT_extract(), RecoMuonValidator::RecoMuonValidator(), CosmicRegionalSeedGenerator::regions(), HITrackingRegionProducer::regions(), HITrackingRegionForPrimaryVtxProducer::regions(), pftools::CaloWindow::relativePosition(), PFElecTkProducer::resolveGsfTracks(), ConvBremPFTrackFinder::runConvBremFinder(), BSFitter::scanPDF(), FWLegoViewBase::setContext(), FWEveView::setupEnergyScale(), DoubleCrystalBallGenerator::shoot(), L1DummyProducer::SimpleDigi(), smearFunctionType7::smear(), smearFunctionBase::smearEta(), TauValidation::spinEffectsZH(), CosmicMuonGenerator::terminate(), testJetForLeptons(), Particle::Theta(), SiStripFineDelayTOF::trackParameters(), ParticleReplacerZtautau::transformMuMu2LepLep(), TopologyWorker::ulAngle(), and TracktoRPC::ValidRPCSurface().
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(), Decay(), TEveEllipsoidProjectedGL::DrawRhoPhi(), TEveEllipsoidProjectedGL::DrawRhoZ(), PFPhotonClusters::FillClusterWidth(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), TCMETAlgo::findDuplicateTracks(), PFElecTkProducer::FindPfRef(), FixedGridEnergyDensity::fixedGridRho(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), ConvBremSeedProducer::GoodCluster(), CosmicMuonGenerator::goodOrientation(), PFElecTkProducer::isSharingEcalEnergyWithEgSC(), main(), FWRPZViewGeometry::makeCaloOutlineRhoPhi(), PFElecTkProducer::minTangDist(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), SingleParticleEvent::phi(), GoodSeedProducer::produce(), PFElecTkProducer::resolveGsfTracks(), ConvBremPFTrackFinder::runConvBremFinder(), FWLegoViewBase::setContext(), and FWPFTrackUtils::setupLegoTrack().
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().