#include "TLorentzVector.h"
#include "TVector3.h"
#include "GeneratorInterface/Hydjet2Interface/interface/Particle.h"
#include "GeneratorInterface/Hydjet2Interface/interface/UKUtility.h"
#include "CLHEP/Random/RandomEngine.h"
#include "CLHEP/Random/RandFlat.h"
Go to the source code of this file.
Functions | |
void | IsotropicR3 (double r, double *x, double *y, double *z) |
void | IsotropicR3 (double r, TVector3 &pos) |
void | MomAntiMom (TLorentzVector &mom, double mass, TLorentzVector &antiMom, double antiMass, double initialMass) |
Variables | |
const double | fermi = 1. |
const double | GeV = 1. |
const double | hbarc = 0.197 * GeV * fermi |
const double | hbarc_squared = hbarc * hbarc |
CLHEP::HepRandomEngine * | hjRandomEngine |
const double | w = 1.0 / 0.1973 |
void IsotropicR3 | ( | double | r, |
double * | x, | ||
double * | y, | ||
double * | z | ||
) |
Definition at line 26 of file UKUtility.cc.
References funct::cos(), hjRandomEngine, phi, Pi, alignCSCRings::r, and funct::sin().
Referenced by MomAntiMom().
void IsotropicR3 | ( | double | r, |
TVector3 & | pos | ||
) |
Definition at line 36 of file UKUtility.cc.
References hjRandomEngine, phi, Pi, and alignCSCRings::r.
void MomAntiMom | ( | TLorentzVector & | mom, |
double | mass, | ||
TLorentzVector & | antiMom, | ||
double | antiMass, | ||
double | initialMass | ||
) |
Definition at line 45 of file UKUtility.cc.
References IsotropicR3(), and alignCSCRings::r.
Referenced by Decay().
const double fermi = 1. |
Definition at line 21 of file UKUtility.cc.
const double GeV = 1. |
Definition at line 20 of file UKUtility.cc.
Definition at line 22 of file UKUtility.cc.
Definition at line 24 of file UKUtility.cc.
CLHEP::HepRandomEngine* hjRandomEngine |
Definition at line 55 of file Hydjet2Hadronizer.h.
Referenced by Decay(), gen::Hydjet2Hadronizer::doSetRandomEngine(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), GetDecayTime(), IsotropicR3(), gen::Hydjet2Hadronizer::readSettings(), and RandArrayFunction::StandardRand().
const double w = 1.0 / 0.1973 |
Definition at line 23 of file UKUtility.cc.
Referenced by EcalSelectiveReadoutSuppressor::accept(), MinL3Algorithm::addEvent(), MinL3AlgoUniv< IDdet >::addEvent(), EvtPlaneProducer::GenPlane::addParticle(), PedsFullNoiseAlgorithm::analyse(), MultiTrackValidatorGenPs::analyze(), MultiTrackValidator::analyze(), TrackerSeedValidator::analyze(), DQMMessageLogger::analyze(), DQMSourceExample::analyze(), ValidationMisalignedTracker::analyze(), L1TDTTF::analyze(), PrimaryVertexAnalyzer::analyze(), MuonTrackValidator::analyze(), SoftLeptonTagPlotter::analyzeTag(), BaseTagInfoPlotter::analyzeTag(), TrackCountingTagPlotter::analyzeTag(), TrackIPTagPlotter::analyzeTag(), TrackProbabilityTagPlotter::analyzeTag(), JetTagPlotter::analyzeTag(), TaggingVariablePlotter::analyzeTag(), PrimaryVertexAnalyzer4PU::analyzeVertexCollection(), RPCNoisyStripTest::beginRun(), RPCChamberQuality::beginRun(), RPCOccupancyTest::beginRun(), RPCBxTest::beginRun(), RPCClusterSizeTest::beginRun(), DTSegment4DQuality::beginRun(), DTRecHitQuality::beginRun(), RPCEfficiencySecond::beginRun(), DAClusterizerInZ::beta0(), DAClusterizerInZ_vect::beta0(), MultiTrackValidator::bookHistograms(), TrackerSeedValidator::bookHistograms(), MuonTrackValidator::bookHistograms(), FWVertexProxyBuilder::build(), CSCEventData::calcALCTcrc(), L1RCTElectronIsolationCard::calcElectronCandidates(), PhysicsTools::LeastSquares::calculate(), ClusterShapeAlgo::Calculate_Covariances(), PFPileUpAlgo::chargedHadronVertex(), PFIsolationEstimator::chargedHadronVertex(), PFPhotonIsolationCalculator::chargedHadronVertex(), JetCharge::chargeFromRef(), JetCharge::chargeFromValIterator(), CSCDCCExaminer::check(), AdaptiveVertexReconstructor::cleanUpVertices(), RPCEventSummary::clientOperation(), CmsShowMain::CmsShowMain(), EcalDccWeightBuilder::computeAllWeights(), UrbanMscModel93::ComputeCrossSectionPerAtom(), GaussianSumUtilities1D::computeMode(), HFCherenkov::computeNPE(), PFClusterShapeAlgo::covariances(), EcalClusterToolsT< noZS >::covariances(), TtFullLepKinSolver::cubic(), EcalSelectiveReadoutValidation::dccZsFIR(), dd_rot_bin_in(), ESDataFormatterV1_1::DigiToRaw(), ESDataFormatterV4::DigiToRaw(), npstat::HistoND< Numeric, Axis >::dispatch(), FWGUISubviewArea::dock(), FWFramedTextTableCellRenderer::draw(), FWTextTableCellRenderer::draw(), FWColorRow::DrawHighlight(), DTNoiseTest::endLuminosityBlock(), MultiTrackValidator::endRun(), TrackerSeedValidator::endRun(), RPCEfficiencyShiftHisto::endRun(), RPCEfficiencySecond::endRun(), MuonTrackValidator::endRun(), ESRecHitAnalyticAlgo::EvalAmplitude(), ESRecHitSimAlgo::evalAmplitude(), EcalTBEventHeader::eventType(), HFShowerLibrary::extrapolate(), npstat::HistoND< Numeric, Axis >::fill(), npstat::HistoND< Numeric, Axis >::fillC(), JetMETHLTOfflineSource::fillMEforMonTriggerSummary(), BTagHLTOfflineSource::fillMEforMonTriggerSummary(), npstat::HistoND< Numeric, Axis >::fillPreservingCentroid(), QcdUeDQM::fillProfile(), QcdUeDQM::fillUE_with_ChargedJets(), QcdUeDQM::fillUE_with_MaxpTtrack(), CSCDigiValidator::filter(), CSCHitFromStripOnly::findHitOnStripPosition(), FFTJetPFPileupCleaner::findSomeVertexWFakes(), FsmwClusterizer1DNameSpace::fsmw(), FWFFHelper::FWFFHelper(), FWTabularWidget::GetDefaultSize(), HFShower::getHits(), npstat::UniformAxis::getInterval(), npstat::GridAxis::getInterval(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), PrimaryVertexAnalyzer4PU::getTc(), GlobalTrackerMuonAlignment::gradientGlobal(), graph_tree_output(), TtGenEvent::hadronicDecayQuark(), CmsAnnotation::Handle(), FWGUIEventFilter::HandleKey(), FWEveViewManager::highlightAdded(), TtFullHadHypothesis::hypo(), popcon::EcalSRPHandler::importDccConfigFile(), EcalSRCondTools::importParameterSet(), InduceChargeFP420::InduceChargeFP420(), edm::StreamSchedule::initializeEarlyDelete(), HFShowerLibrary::interpolate(), npstat::ArrayND< Numeric, StackLen, StackDim >::interpolate1(), GenericMinL3Algorithm::iterate(), CSCLayerGeometry::lengthOfWireGroup(), npstat::UniformAxis::linearInterval(), npstat::GridAxis::linearInterval(), PhysicsTools::LeastSquares::load(), CSCLayerGeometry::localCenterOfWireGroup(), EcalClusterToolsT< noZS >::localCovariances(), HFClusterAlgo::makeCluster(), MuScleFitUtils::massProb(), FWCaloTowerSliceSelector::matchCell(), TracksClusteringFromDisplacedSeed::nearTracks(), CSCRecoConditions::noiseMatrix(), ESRecHitSimAlgo::oldEvalAmplitude(), CombinedSVComputer::operator()(), GhostTrackComputer::operator()(), CombinedSVComputerV2::operator()(), CombinedSVSoftLeptonComputer::operator()(), PropagationDirectionChooser::operator()(), npstat::LinInterpolatedTableND< Numeric, Axis >::operator()(), output(), L1GTDigiToRaw::packGMT(), RawParticle::PDGcTau(), cond::PayLoadInspector< DataT >::plot(), PlotCombiner(), TrackingMaterialPlotter::plotSegmentInLayer(), TrackingMaterialPlotter::plotSegmentUnassigned(), GctDigiToRaw::print(), DTConfigBti::print(), sistrip::printHex(), InclusiveVertexFinder::produce(), HLTJetCollectionsForBoostedLeptonPlusJets< jetType >::produce(), EvtPlaneProducer::produce(), LA_Filler_Fitter::pull(), PrimaryVertexMonitor::pvTracksPlots(), TtFullLepKinSolver::quartic(), RPCPackingModule::rawData(), edm::maker::ModuleHolderT< T >::replaceModuleFor(), ParabolaFit::result(), LandauFP420::SampleFluctuations(), SiG4UniversalFluctuation::SampleFluctuations(), EcalClusterToolsT< noZS >::scLocalCovariances(), MuonHitsChamberResidual::segment_fit(), GFHistManager::SetCanvasWidth(), helper::MuonCollectionStoreManager::setCloneClusters(), helper::TrackCollectionStoreManager::setCloneClusters(), DTConfigBti::setDefaults(), AdaptiveVertexFitter::setWeightThreshold(), RPCSimParam::simulate(), RPCSimAsymmetricCls::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverageNoise::simulate(), RPCSimAverageNoiseEff::simulate(), DDErrorDetection::so(), DAClusterizerInZ::split(), DAClusterizerInZ_vect::split(), TFileAdaptor::statsXML(), CSCRecoConditions::stripWeight(), FWGUIManager::subviewDestroyAll(), TrackVertexArbitration::trackVertexArbitrator(), DAClusterizerInZ::update(), DAClusterizerInZ_vect::update(), MultiVertexFitter::updateWeights(), MultiVertexFitter::vertices(), CSCDCCUnpacker::visual_raw(), G4SimEvent::weight(), DDCompactViewImpl::weight(), muonisolation::IsolatorByNominalEfficiency::weightedSum(), muonisolation::IsolatorByDeposit::weightedSum(), RPCCompDetId::wheel(), FWCollectionSummaryModelCellRenderer::width(), FWTextTreeCellRenderer::width(), MonLaserPulseDat::writeArrayDB(), FEConfigFgrParamDat::writeArrayDB(), MonPNPedDat::writeArrayDB(), FEConfigLinDat::writeArrayDB(), MonLaserBlueDat::writeArrayDB(), MonLaserRedDat::writeArrayDB(), MonLed1Dat::writeArrayDB(), MonLaserGreenDat::writeArrayDB(), MonLed2Dat::writeArrayDB(), MonLaserIRedDat::writeArrayDB(), FEConfigParamDat::writeArrayDB(), MonMemChConsistencyDat::writeArrayDB(), MonTTConsistencyDat::writeArrayDB(), MonCrystalConsistencyDat::writeArrayDB(), MonPedestalsDat::writeArrayDB(), MonTestPulseDat::writeArrayDB(), MonMemTTConsistencyDat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), MonPNLed2Dat::writeArrayDB(), MonPNIRedDat::writeArrayDB(), MonPNGreenDat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), DCULVRVoltagesDat::writeArrayDB(), and EcalDccWeightBuilder::writeWeightToDB().