#include <FastSimulation/MuonSimHitProducer/src/MuonSimHitProducer.cc>
Public Member Functions | |
MuonSimHitProducer (const edm::ParameterSet &) | |
~MuonSimHitProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
void | applyMaterialEffects (TrajectoryStateOnSurface &tsosWithdEdx, TrajectoryStateOnSurface &tsos, double radPath) |
Simulate material effects in iron (dE/dx, multiple scattering) More... | |
virtual void | beginRun (edm::Run &run, const edm::EventSetup &es) |
virtual void | endJob () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
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 RandomEngine * | random |
const RPCGeometry * | rpcGeom |
Chi2MeasurementEstimator | theEstimator |
MaterialEffects * | theMaterialEffects |
MuonServiceProxy * | theService |
std::string | theSimModuleLabel_ |
std::string | theSimModuleProcess_ |
std::string | theTrkModuleLabel_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
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 57 of file MuonSimHitProducer.h.
|
explicit |
Definition at line 80 of file MuonSimHitProducer.cc.
References edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::Service< T >::isAvailable(), MuonServiceProxy_cff::MuonServiceProxy, random, readParameters(), and theService.
MuonSimHitProducer::~MuonSimHitProducer | ( | ) |
Definition at line 147 of file MuonSimHitProducer.cc.
References propagatorWithoutMaterial, random, and theMaterialEffects.
|
private |
Simulate material effects in iron (dE/dx, multiple scattering)
Definition at line 588 of file MuonSimHitProducer.cc.
References DeDxDiscriminatorTools::charge(), TrajectoryStateOnSurface::charge(), EnergyLossSimulator::deltaMom(), MaterialEffects::energyLossSimulator(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::mag2(), magfield, RawParticle::momentum(), EnergyLossSimulator::mostLikelyLoss(), MaterialEffects::multipleScatteringSimulator(), MaterialEffects::muonBremsstrahlungSimulator(), position, RawParticle::setID(), 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().
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 118 of file MuonSimHitProducer.cc.
References Propagator::clone(), cscGeom, dtGeom, edm::EventSetup::get(), magfield, MuonServiceProxy::propagator(), LargeD0_PixelPairStep_cff::propagator, propagatorWithMaterial, propagatorWithoutMaterial, rpcGeom, SteppingHelixPropagator::setMaterialMode(), theService, and MuonServiceProxy::update().
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 545 of file MuonSimHitProducer.cc.
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 168 of file MuonSimHitProducer.cc.
References abs, alongMomentum, anyDirection, applyMaterialEffects(), PV3DBase< T, PVType, FrameType >::basicVector(), BoundSurface::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, MuonPatternRecoDumper::dumpLayer(), CSCDetId::endcap(), cmsRelvalreport::exit, funct::exp(), fCSC, fDT, DTTopology::firstChannel(), RandomEngine::flatShoot(), TrajectoryStateOnSurface::freeTrajectoryState(), GeomDet::geographicalId(), edm::Event::getByLabel(), SteppingHelixStateInfo::getStateOnSurface(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), i, RPCGeometry::idToDetUnit(), DTGeometry::idToDetUnit(), CSCGeometry::idToDetUnit(), Bounds::inside(), CSCLayerGeometry::inside(), TrajectoryStateOnSurface::isValid(), kCSC, kDT, DTTopology::lastChannel(), DTLayerId::layer(), CSCDetId::layer(), RPCDetId::layer(), CSCChamber::layers(), TrajectoryStateOnSurface::localMomentum(), funct::log(), m, PV3DBase< T, PVType, FrameType >::mag(), magfield, CoreSimTrack::momentum(), n, path(), SteppingHelixStateInfo::path(), PV3DBase< T, PVType, FrameType >::phi(), pi, evf::utils::pid, PlaneBuilder::plane(), position, Propagator::propagateWithPath(), propagatorWithMaterial, propagatorWithoutMaterial, edm::Event::put(), SteppingHelixStateInfo::radPath(), random, DetId::rawId(), relativeConstraints::ring, RPCDetId::ring(), CSCDetId::ring(), RPCDetId::roll(), RPCChamber::rolls(), GeomDetEnumerators::RPCBarrel, GeomDetEnumerators::RPCEndcap, rpcGeom, DTChamberId::sector(), RPCDetId::sector(), mathSSE::sqrt(), DTChamberId::station(), relativeConstraints::station, CSCDetId::station(), RPCDetId::station(), GeomDet::subDetector(), RPCDetId::subsector(), DTSuperLayerId::superlayer(), DTChamber::superLayers(), GeomDet::surface(), theEstimator, theMaterialEffects, theService, theSimModuleLabel_, theSimModuleProcess_, PV3DBase< T, PVType, FrameType >::theta(), Bounds::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(), detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by python.JSONExport.JsonExport::export(), and python.HTMLExport.HTMLExport::export().
|
private |
Definition at line 551 of file MuonSimHitProducer.cc.
References fCSC, fDT, fullPattern_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), kCSC, kDT, random, theMaterialEffects, theSimModuleLabel_, theSimModuleProcess_, and theTrkModuleLabel_.
Referenced by MuonSimHitProducer().
|
private |
Definition at line 71 of file MuonSimHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 99 of file MuonSimHitProducer.h.
|
private |
Definition at line 99 of file MuonSimHitProducer.h.
|
private |
Definition at line 99 of file MuonSimHitProducer.h.
|
private |
Definition at line 70 of file MuonSimHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 89 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 87 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 98 of file MuonSimHitProducer.h.
Referenced by readParameters().
|
private |
Definition at line 88 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 86 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 69 of file MuonSimHitProducer.h.
Referenced by applyMaterialEffects(), beginRun(), and produce().
|
private |
Definition at line 73 of file MuonSimHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 74 of file MuonSimHitProducer.h.
Referenced by beginRun(), produce(), and ~MuonSimHitProducer().
|
private |
Definition at line 65 of file MuonSimHitProducer.h.
Referenced by MuonSimHitProducer(), produce(), readParameters(), and ~MuonSimHitProducer().
|
private |
Definition at line 72 of file MuonSimHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 67 of file MuonSimHitProducer.h.
Referenced by produce().
|
private |
Definition at line 76 of file MuonSimHitProducer.h.
Referenced by applyMaterialEffects(), produce(), readParameters(), and ~MuonSimHitProducer().
|
private |
Definition at line 66 of file MuonSimHitProducer.h.
Referenced by beginRun(), MuonSimHitProducer(), and produce().
|
private |
Definition at line 100 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 100 of file MuonSimHitProducer.h.
Referenced by produce(), and readParameters().
|
private |
Definition at line 100 of file MuonSimHitProducer.h.
Referenced by readParameters().