#include <FastSimulation/MuonSimHitProducer/src/MuonSimHitProducer.cc>
Public Member Functions | |
MuonSimHitProducer (const edm::ParameterSet &) | |
~MuonSimHitProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 &) |
Private Attributes | |
const CSCGeometry * | cscGeom |
bool | doGL_ |
bool | doL1_ |
bool | doL3_ |
const DTGeometry * | dtGeom |
double | fCSC |
double | fDT |
bool | fullPattern_ |
double | kCSC |
double | kDT |
const MagneticField * | magfield |
const Propagator * | propagatorWithMaterial |
Propagator * | propagatorWithoutMaterial |
const RPCGeometry * | rpcGeom |
edm::InputTag | simMuonLabel |
edm::EDGetTokenT< std::vector< SimTrack > > | simMuonToken |
edm::InputTag | simVertexLabel |
edm::EDGetTokenT< std::vector< SimVertex > > | simVertexToken |
Chi2MeasurementEstimator | theEstimator |
MaterialEffects * | theMaterialEffects |
MuonServiceProxy * | theService |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Description: Fast simulation producer of Muon Sim Hits (to be used for realistic Muon reconstruction)
Implementation: <Notes on="" implementation>="">
Definition at line 58 of file MuonSimHitProducer.h.
|
explicit |
Definition at line 78 of file MuonSimHitProducer.cc.
References edm::ParameterSet::getParameter(), MuonServiceProxy_cff::MuonServiceProxy, readParameters(), MuonServiceProxy::Run, simMuonLabel, simMuonToken, simVertexLabel, simVertexToken, and theService.
|
override |
Definition at line 129 of file MuonSimHitProducer.cc.
References propagatorWithoutMaterial, and theMaterialEffects.
|
private |
Simulate material effects in iron (dE/dx, multiple scattering)
Definition at line 538 of file MuonSimHitProducer.cc.
References fastSimProducer_cff::bremsstrahlung, ALCARECOTkAlJpsiMuMu_cff::charge, TrajectoryStateOnSurface::charge(), fastSimProducer_cff::energyLoss, MaterialEffects::energyLossSimulator(), dqmMemoryStats::float, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::mag2(), magfield, rawparticle::makeMuon(), RawParticle::momentum(), amptDefaultParameters_cff::mu, fastSimProducer_cff::multipleScattering, MaterialEffects::multipleScatteringSimulator(), MaterialEffects::muonBremsstrahlungSimulator(), BaseParticlePropagator::particle(), position, RawParticle::Px(), RawParticle::Py(), RawParticle::Pz(), RawParticle::setMomentum(), RawParticle::setVertex(), mathSSE::sqrt(), TrajectoryStateOnSurface::surface(), TableParser::table, Surface::tangentPlane(), theMaterialEffects, 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 101 of file MuonSimHitProducer.cc.
References Propagator::clone(), cscGeom, dtGeom, edm::EventSetup::get(), get, magfield, TrackCandidateProducer_cfi::propagator, MuonServiceProxy::propagator(), propagatorWithMaterial, propagatorWithoutMaterial, rpcGeom, SteppingHelixPropagator::setMaterialMode(), theService, and MuonServiceProxy::update().
|
overrideprivate |
Definition at line 145 of file MuonSimHitProducer.cc.
References funct::abs(), alongMomentum, anyDirection, applyMaterialEffects(), PV3DBase< T, PVType, FrameType >::basicVector(), Surface::bounds(), relativeConstraints::chamber, RPCGeometry::chamber(), CSCGeometry::chamber(), DTGeometry::chamber(), DTTopology::channel(), CoreSimTrack::charge(), gather_cfg::cout, GeomDetEnumerators::CSC, cscGeom, MuonServiceProxy::detLayerGeometry(), GeomDetEnumerators::DT, dtGeom, CSCDetId::endcap(), mps_splice::entry, beamvalidation::exit(), JetChargeProducer_cfi::exp, fCSC, fDT, DTTopology::firstChannel(), TrajectoryStateOnSurface::freeTrajectoryState(), GeomDet::geographicalId(), edm::EventSetup::getData(), SteppingHelixStateInfo::getStateOnSurface(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, triggerObjects_cff::id, RPCGeometry::idToDetUnit(), DTGeometry::idToDetUnit(), CSCGeometry::idToDetUnit(), iEvent, Bounds::inside(), CSCLayerGeometry::inside(), TrajectoryStateOnSurface::isValid(), kCSC, kDT, DTTopology::lastChannel(), DTLayerId::layer(), CSCDetId::layer(), hgcalTopologyTester_cfi::layers, TrajectoryStateOnSurface::localMomentum(), dqm-mbProfile::log, visualization-live-secondInstance_cfg::m, PV3DBase< T, PVType, FrameType >::mag(), magfield, CoreSimTrack::momentum(), eostools::move(), dqmiodumpmetadata::n, GetRecoTauVFromDQM_MC_cff::next, castor_dqm_sourceclient_file_cfg::path, SteppingHelixStateInfo::path(), dileptonTrigSettings_cff::pdg, packedPFCandidateRefMixer_cfi::pf, PV3DBase< T, PVType, FrameType >::phi(), pi, PlaneBuilder::plane(), position, Propagator::propagateWithPath(), propagatorWithMaterial, propagatorWithoutMaterial, SteppingHelixStateInfo::radPath(), DetId::rawId(), bril_dqm_clientPB-live_cfg::rid, CSCDetId::ring(), relativeConstraints::ring, makeMuonMisalignmentScenario::rot, GeomDetEnumerators::RPCBarrel, GeomDetEnumerators::RPCEndcap, rpcGeom, DTChamberId::sector(), simMuonToken, simVertexToken, HGCalValidator_cfi::simVertices, mathSSE::sqrt(), DTChamberId::station(), relativeConstraints::station, CSCDetId::station(), GeomDet::subDetector(), DTSuperLayerId::superlayer(), GeomDet::surface(), FrontierCondition_GT_autoExpress_cfi::t0, theEstimator, theMaterialEffects, theService, PV3DBase< T, PVType, FrameType >::theta(), Bounds::thickness(), Calorimetry_cff::thickness, GeomDet::toLocal(), SimTrack::trackerSurfaceMomentum(), SimTrack::trackerSurfacePosition(), CoreSimTrack::trackId(), TrajectoryStateOnSurface::transverseCurvature(), CoreSimTrack::type(), Vector3DBase< T, FrameTag >::unit(), SimTrack::vertIndex(), DTChamberId::wheel(), x, HLT_2018_cff::xAxis, y, HLT_2018_cff::yAxis, z, PV3DBase< T, PVType, FrameType >::z(), and HLT_2018_cff::zAxis.
|
private |
Definition at line 503 of file MuonSimHitProducer.cc.
References fCSC, fDT, fullPattern_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_2018_cff::InputTag, kCSC, kDT, TrajectoryFactories_cff::MaterialEffects, simMuonLabel, simVertexLabel, AlCaHLTBitMon_QueryRunRegistry::string, and theMaterialEffects.
Referenced by MuonSimHitProducer().
|
private |
Definition at line 69 of file MuonSimHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 95 of file MuonSimHitProducer.h.
|
private |
Definition at line 95 of file MuonSimHitProducer.h.
|
private |
Definition at line 95 of file MuonSimHitProducer.h.
|
private |
Definition at line 68 of file MuonSimHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 84 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 82 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 94 of file MuonSimHitProducer.h.
Referenced by readParameters().
|
private |
Definition at line 83 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 81 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 67 of file MuonSimHitProducer.h.
Referenced by applyMaterialEffects(), beginRun(), and produce().
|
private |
Definition at line 71 of file MuonSimHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 72 of file MuonSimHitProducer.h.
Referenced by beginRun(), produce(), and ~MuonSimHitProducer().
|
private |
Definition at line 70 of file MuonSimHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 98 of file MuonSimHitProducer.h.
Referenced by MuonSimHitProducer(), and readParameters().
|
private |
Definition at line 102 of file MuonSimHitProducer.h.
Referenced by MuonSimHitProducer(), and produce().
|
private |
Definition at line 99 of file MuonSimHitProducer.h.
Referenced by MuonSimHitProducer(), and readParameters().
|
private |
Definition at line 103 of file MuonSimHitProducer.h.
Referenced by MuonSimHitProducer(), and produce().
|
private |
Definition at line 65 of file MuonSimHitProducer.h.
Referenced by produce().
|
private |
Definition at line 74 of file MuonSimHitProducer.h.
Referenced by applyMaterialEffects(), produce(), readParameters(), and ~MuonSimHitProducer().
|
private |
Definition at line 64 of file MuonSimHitProducer.h.
Referenced by beginRun(), MuonSimHitProducer(), and produce().