test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FamosSimHits_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
8 
9 MaterialEffectsForMuonsBlock.MaterialEffectsForMuons.use_hardcoded_geometry = True
10 MaterialEffectsBlock.MaterialEffects.use_hardcoded_geometry = True
11 
12 
13 famosSimHits = cms.EDProducer("FamosProducer",
14  # FastCalorimetry
15  FamosCalorimetryBlock,
16  # Conditions to save Tracker SimHits
17  TrackerSimHitsBlock,
18  # Material effects to be simulated in the tracker material and associated cuts
19  MaterialEffectsBlock,
20  # Material effects for muons in ECAL
21  MaterialEffectsForMuonsInECALBlock,
22  # Material effects for muons in HCAL
23  MaterialEffectsForMuonsInHCALBlock,
24  # (De)activate decays of unstable particles (K0S, etc...)
25  ActivateDecaysBlock,
26  # Kinematic cuts for the particle filter in the SimEvent
27  ParticleFilterBlock,
28  # The HepMCProduct source
29  SourceLabel = cms.InputTag("generatorSmeared"),
30  # The genParticle source (in case there is no HepMCProduct)
31  GenParticleLabel = cms.InputTag("genParticles"),
32  # If false, no SimTrack collection for Muons is stored
33  SimulateMuons = cms.bool(True),
34  # The beam spot source
35  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
36  # Run Number
37  RunNumber = cms.untracked.int32(1001),
38  Verbosity = cms.untracked.int32(0),
39  # If false, no misalignment can be applied in the tracker
40  ApplyAlignment = cms.bool(True),
41  # If false, no SimHits are simulated in the tracker
42  # (but the tracker material is still here)
43  SimulateTracking = cms.bool(True),
44  # If false, no PCaloHits are produced
45  SimulateCalorimetry = cms.bool(True),
46  # If the following is false, no B field map is used,
47  # and B is set to 4 T altogether
48  UseMagneticField = cms.bool(True),
49 )
50 
51