Public Member Functions | |
MuonSimHitProducer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | applyMaterialEffects (TrajectoryStateOnSurface &tsosWithdEdx, TrajectoryStateOnSurface &tsos, double radPath, RandomEngineAndDistribution const *, HepPDT::ParticleDataTable const &) |
Simulate material effects in iron (dE/dx, multiple scattering) More... | |
void | beginRun (edm::Run const &run, const edm::EventSetup &es) override |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | readParameters (const edm::ParameterSet &, const edm::ParameterSet &, const edm::ParameterSet &) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Description: Fast simulation producer of Muon Sim Hits (to be used for realistic Muon reconstruction)
Implementation: <Notes on="" implementation>="">
Definition at line 51 of file MuonSimHitProducer.cc.
|
explicit |
Definition at line 110 of file MuonSimHitProducer.cc.
References edm::ParameterSet::getParameter(), MuonServiceProxy_cff::MuonServiceProxy, readParameters(), MuonServiceProxy::Run, simMuonLabel, simMuonToken, simVertexLabel, simVertexToken, and theService.
|
private |
Simulate material effects in iron (dE/dx, multiple scattering)
Definition at line 553 of file MuonSimHitProducer.cc.
References RecoTauCleanerPlugins::charge, TrajectoryStateOnSurface::charge(), EnergyLossSimulator::deltaMom(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::mag2(), magfield, rawparticle::makeMuon(), RawParticle::momentum(), EnergyLossSimulator::mostLikelyLoss(), RPCpg::mu, BaseParticlePropagator::particle(), position, RawParticle::Px(), RawParticle::Py(), RawParticle::Pz(), RawParticle::setMomentum(), MaterialEffectsSimulator::setNormalVector(), RawParticle::setVertex(), mathSSE::sqrt(), TrajectoryStateOnSurface::surface(), Surface::tangentPlane(), theMaterialEffects, MaterialEffectsSimulator::updateState(), RawParticle::vertex(), PV3DBase< T, PVType, FrameType >::x(), RawParticle::X(), PV3DBase< T, PVType, FrameType >::y(), RawParticle::Y(), PV3DBase< T, PVType, FrameType >::z(), and RawParticle::Z().
Referenced by produce().
|
overrideprivate |
Definition at line 139 of file MuonSimHitProducer.cc.
References Propagator::clone(), cscGeom, cscGeometryESToken_, dtGeom, dtGeometryESToken_, edm::EventSetup::getData(), magfield, magneticFieldESToken_, MuonServiceProxy::propagator(), propagatorWithMaterial, propagatorWithoutMaterial, rpcGeom, rpcGeometryESToken_, SteppingHelixPropagator::setMaterialMode(), theService, and MuonServiceProxy::update().
|
overrideprivate |
Definition at line 163 of file MuonSimHitProducer.cc.
References funct::abs(), alongMomentum, anyDirection, applyMaterialEffects(), PV3DBase< T, PVType, FrameType >::basicVector(), Surface::bounds(), RPCGeometry::chamber(), CSCGeometry::chamber(), DTGeometry::chamber(), DTTopology::channel(), CoreSimTrack::charge(), gather_cfg::cout, Vector3DBase< T, FrameTag >::cross(), GeomDetEnumerators::CSC, cscGeom, MuonServiceProxy::detLayerGeometry(), GeomDetEnumerators::DT, dtGeom, CSCDetId::endcap(), mps_splice::entry, beamvalidation::exit(), funct::exp(), fCSC, fDT, DTTopology::firstChannel(), TrajectoryStateOnSurface::freeTrajectoryState(), GeomDet::geographicalId(), edm::Event::getByToken(), edm::EventSetup::getHandle(), SteppingHelixStateInfo::getStateOnSurface(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, gpuClustering::id, RPCGeometry::idToDetUnit(), DTGeometry::idToDetUnit(), CSCGeometry::idToDetUnit(), Bounds::inside(), CSCLayerGeometry::inside(), TrajectoryStateOnSurface::isValid(), kCSC, kDT, DTTopology::lastChannel(), DTLayerId::layer(), CSCDetId::layer(), RPCDetId::layer(), phase1PixelTopology::layer, LayerTriplets::layers(), TrajectoryStateOnSurface::localMomentum(), log, visualization-live-secondInstance_cfg::m, PV3DBase< T, PVType, FrameType >::mag(), magfield, CoreSimTrack::momentum(), eostools::move(), dqmiodumpmetadata::n, GetRecoTauVFromDQM_MC_cff::next, particleDataTableESToken_, fed_dqm_sourceclient-live_cfg::path, SteppingHelixStateInfo::path(), PV3DBase< T, PVType, FrameType >::phi(), pi, PlaneBuilder::plane(), position, propagatorWithMaterial, propagatorWithoutMaterial, edm::Event::put(), SteppingHelixStateInfo::radPath(), DetId::rawId(), bril_dqm_clientPB-live_cfg::rid, RPCDetId::ring(), CSCDetId::ring(), relativeConstraints::ring, RPCDetId::roll(), RPCChamber::rolls(), makeMuonMisalignmentScenario::rot, GeomDetEnumerators::RPCBarrel, GeomDetEnumerators::RPCEndcap, rpcGeom, DTChamberId::sector(), RPCDetId::sector(), simMuonToken, simVertexToken, mathSSE::sqrt(), DTChamberId::station(), relativeConstraints::station, RPCDetId::station(), CSCDetId::station(), edm::Event::streamID(), GeomDet::subDetector(), RPCDetId::subsector(), DTSuperLayerId::superlayer(), DTChamber::superLayers(), GeomDet::surface(), FrontierCondition_GT_autoExpress_cfi::t0, theEstimator, theMaterialEffects, theService, PV3DBase< T, PVType, FrameType >::theta(), Bounds::thickness(), TrackerMaterial_cfi::thickness, GeomDet::toLocal(), SimTrack::trackerSurfaceMomentum(), SimTrack::trackerSurfacePosition(), CoreSimTrack::trackId(), TrajectoryStateOnSurface::transverseCurvature(), CoreSimTrack::type(), Vector3DBase< T, FrameTag >::unit(), SimTrack::vertIndex(), DTChamberId::wheel(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, PV3DBase< T, PVType, FrameType >::z(), and MetAnalyzer::zAxis.
|
private |
Definition at line 518 of file MuonSimHitProducer.cc.
References fCSC, fDT, fullPattern_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_FULL_cff::InputTag, kCSC, kDT, simMuonLabel, simVertexLabel, AlCaHLTBitMon_QueryRunRegistry::string, and theMaterialEffects.
Referenced by MuonSimHitProducer().
|
private |
Definition at line 61 of file MuonSimHitProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 99 of file MuonSimHitProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 87 of file MuonSimHitProducer.cc.
|
private |
Definition at line 87 of file MuonSimHitProducer.cc.
|
private |
Definition at line 87 of file MuonSimHitProducer.cc.
|
private |
Definition at line 60 of file MuonSimHitProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 98 of file MuonSimHitProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 76 of file MuonSimHitProducer.cc.
Referenced by produce(), and readParameters().
|
private |
Definition at line 74 of file MuonSimHitProducer.cc.
Referenced by produce(), and readParameters().
|
private |
Definition at line 86 of file MuonSimHitProducer.cc.
Referenced by readParameters().
|
private |
Definition at line 75 of file MuonSimHitProducer.cc.
Referenced by produce(), and readParameters().
|
private |
Definition at line 73 of file MuonSimHitProducer.cc.
Referenced by produce(), and readParameters().
|
private |
Definition at line 59 of file MuonSimHitProducer.cc.
Referenced by applyMaterialEffects(), beginRun(), and produce().
|
private |
Definition at line 97 of file MuonSimHitProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 101 of file MuonSimHitProducer.cc.
Referenced by produce().
|
private |
Definition at line 63 of file MuonSimHitProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 64 of file MuonSimHitProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 62 of file MuonSimHitProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 100 of file MuonSimHitProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 90 of file MuonSimHitProducer.cc.
Referenced by MuonSimHitProducer(), and readParameters().
|
private |
Definition at line 94 of file MuonSimHitProducer.cc.
Referenced by MuonSimHitProducer(), and produce().
|
private |
Definition at line 91 of file MuonSimHitProducer.cc.
Referenced by MuonSimHitProducer(), and readParameters().
|
private |
Definition at line 95 of file MuonSimHitProducer.cc.
Referenced by MuonSimHitProducer(), and produce().
|
private |
Definition at line 57 of file MuonSimHitProducer.cc.
Referenced by produce().
|
private |
Definition at line 66 of file MuonSimHitProducer.cc.
Referenced by applyMaterialEffects(), produce(), and readParameters().
|
private |
Definition at line 56 of file MuonSimHitProducer.cc.
Referenced by beginRun(), MuonSimHitProducer(), and produce().