#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(), DTSurveyConvert::analyze(), 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(), DAClusterizerInZT::dump(), DAClusterizerInZ::dump(), DAClusterizerInZ_vect::dump(), EcalPerEvtLaserAnalyzer::endJob(), EcalLaserAnalyzer::endJob(), VolumeMultipleScatteringEstimator::estimate(), DDEcalBarrelNewAlgo::execute(), DDEcalBarrelAlgo::execute(), external::HEPTopTaggerV2_fixed_R::fat_initial(), big::bigEntry::fill(), BasicHepMCValidation::ParticleMonitor::Fill(), AdHocNTupler::fill(), DTSurvey::FillWheelInfo(), hitfit::Chisq_Constrainer::fit(), TFParams::fitpj(), PairProductionSimulator::gbteth(), BremsstrahlungSimulator::gbteth(), MuonBremsstrahlungSimulator::gbteth(), DreamSD::getAverageNumberOfPhotons_(), ZdcSD::getEnergyDeposit(), CastorSD::getEnergyDeposit(), GflashHadronShowerProfile::getGflashHitList(), NtupleManager::GetGlobalAngles(), HCalSD::getHitFibreBundle(), HCalSD::getHitPMT(), HFShowerFibreBundle::getHits(), HFShowerPMT::getHits(), TangentCircle::getPosition(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), HFGflash::gfParameterization(), PulseFitWithFunction::init(), MVAJetPuId::initVariables(), 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(), external::HEPTopTaggerV2::pt_for_Ropt_calc(), TFParams::pulseShapepj(), TFParams::pulseShapepj2(), Conv4HitsReco::qFromM_print(), TFParams::set_const(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >::SetAlphaBeta(), DAClusterizerInZ_vect::update(), DAClusterizerInZ::vertices(), DAClusterizerInZT::vertices(), DAClusterizerInZ_vect::vertices(), DDI::Polyhedra::volume(), DDEcalBarrelAlgo::web(), DDEcalBarrelNewAlgo::web(), ZToLLEdmNtupleDumper::ZToLLEdmNtupleDumper(), and EcalUncalibRecHitFixedAlphaBetaAlgo< EBDataFrame >::~EcalUncalibRecHitFixedAlphaBetaAlgo().
const bool Debug = false |
Definition at line 12 of file CosmicMuonParameters.h.
Referenced by l1t::DataManager::connect(), cond::RelationalAuthenticationService::RelationalAuthenticationService::credentials(), FillInfoPopConSourceHandler::getNewObjects(), cond::XMLAuthenticationService::XMLAuthenticationService::initialize(), CosmicMuonGenerator::initialize(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), cond::XMLAuthenticationService::XMLAuthenticationService::processFile(), edm::CosMuoGenProducer::produce(), SimpleDAFHitCollector::recHits(), L1MuDTTFConfig::setDefaults(), L1MuBMTFConfig::setDefaults(), L1MuGMTConfig::setDefaults(), L1MuBMTFConfig::setDefaultsES(), cond::persistency::ConnectionPool::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(), PrimaryVertexValidation::analyze(), TauTagValidation::analyze(), Combo::analyze(), L1MuonRecoTreeProducer::analyze(), reco::PFDisplacedVertex::angle_io(), PFElecTkProducer::applySelection(), PatTauAnalyzer::beginJob(), PatTriggerAnalyzer::beginJob(), PatPhotonSimpleAnalyzer::beginJob(), PhotonIDSimpleAnalyzer::beginJob(), PrimaryVertexValidation::beginJob(), L1TEfficiencyMuons_Offline::bookControlHistos(), L1TEfficiencyMuons_Offline::bookEfficiencyHistos(), GEMSimTrackMatch::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMCoPadDigiValidation::bookHistograms(), GEMStripDigiValidation::bookHistograms(), DiJetVarAnalyzer::bookHistograms(), GEMDigiTrackMatch::bookHistograms(), GEMRecHitTrackMatch::bookHistograms(), RPCRecHitProbability::bookHistograms(), RPCRecHitValid::bookHistograms(), ElectronConversionRejectionValidator::bookHistograms(), TauValidation::bookHistograms(), EwkElecTauHistManager::bookHistograms(), JetTester_HeavyIons::bookHistograms(), EwkMuTauHistManager::bookHistograms(), PrimaryVertexValidation::bookVertexHistograms(), BSFitter::BSFitter(), FWBeamSpotProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), calcDeltaPhi(), SiStripHitEffFromCalibTree::calcPhi(), CSCTFPtLUT::calcPt(), GlobalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), FWViewEnergyScale::calculateScaleFactor(), EventShapeVariables::circularity(), TCMETAlgo::closeToElectron(), MuonME0DigisHarvestor::ComputeBKG(), tauImpactParameter::TrackHelixVertexFitter::computedxydz(), BPhysicsValidation::ParticleMonitor::Configure(), 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(), FWECALDetailViewBuilder::fillEtaPhi(), PrimaryVertexValidation::fillMap(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), PrimaryVertexValidation::fillTrendPlot(), 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(), l1t::MicroGMTMatchQualFineLUT::MicroGMTMatchQualFineLUT(), l1t::MicroGMTMatchQualSimpleLUT::MicroGMTMatchQualSimpleLUT(), PFElecTkProducer::minTangDist(), MuonErrorMatrix::MuonErrorMatrix(), MuScleFit::MuScleFit(), mygauss(), CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), FixedAreaIsolationCone::operator()(), reco::tau::PFRecoTauChargedHadronFromTrackPlugin::operator()(), JetIDStudiesSelector::operator()(), operator<<(), GrandCanonical::ParticleEnergyDensity(), GrandCanonical::ParticleNumberDensity(), ParticleTowerProducer::ParticleTowerProducer(), 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(), L1TMicroGMTInputProducerFromGen::produce(), GoodSeedProducer::produce(), BoostedTopProducer::produce(), 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(), L1Analysis::L1AnalysisCSCTF::SetTracks(), FWEveView::setupEnergyScale(), DoubleCrystalBallGenerator::shoot(), L1DummyProducer::SimpleDigi(), smearFunctionType7::smear(), smearFunctionBase::smearEta(), TauValidation::spinEffectsZH(), CosmicMuonGenerator::terminate(), Particle::Theta(), SiStripFineDelayTOF::trackParameters(), TopologyWorker::ulAngle(), TracktoRPC::ValidRPCSurface(), and FWCaloDataHistProxyBuilder::~FWCaloDataHistProxyBuilder().
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 FWPFCandidateDetailView::addClusters(), 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(), FWPFTrackUtils::setupLegoTrack(), and FWCaloDataHistProxyBuilder::~FWCaloDataHistProxyBuilder().
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().