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.
2 
3 # Here so that python translator can see the names
4 # Now beta function vertex smearing
5 #from FastSimulation.Event.Early10TeVCollisionVertexGenerator_cfi import *
6 #from FastSimulation.Event.Realistic7TeV2011CollisionVertexGenerator_cfi import *
8 if(fastsimPrimaryVertex=='Realistic8TeV'):
10 else:
12 
13 
19 famosSimHits = cms.EDProducer("FamosProducer",
20  # FastCalorimetry
21  FamosCalorimetryBlock,
22  # Conditions to save Tracker SimHits
23  TrackerSimHitsBlock,
24  # Material effects to be simulated in the tracker material and associated cuts
25  MaterialEffectsBlock,
26  # Material effects for muons in ECAL
27  MaterialEffectsForMuonsInECALBlock,
28  # Material effects for muons in HCAL
29  MaterialEffectsForMuonsInHCALBlock,
30  # (De)activate decays of unstable particles (K0S, etc...)
31  ActivateDecaysBlock,
32  # Kinematic cuts for the particle filter in the SimEvent
33  ParticleFilterBlock,
34  # The HepMCProduct source
35  SourceLabel = cms.InputTag("generator"),
36  # The genParticle source (in case there is no HepMCProduct)
37  GenParticleLabel = cms.InputTag("genParticles"),
38  # If false, no SimTrack collection for Muons is stored
39  SimulateMuons = cms.bool(True),
40  # The beam spot source
41  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
42  # Run Number
43  RunNumber = cms.untracked.int32(1001),
44  Verbosity = cms.untracked.int32(0),
45  # If false, no misalignment can be applied in the tracker
46  ApplyAlignment = cms.bool(False),
47  # If false, no SimHits are simulated in the tracker
48  # (but the tracker material is still here)
49  SimulateTracking = cms.bool(True),
50  # If false, no PCaloHits are produced
51  SimulateCalorimetry = cms.bool(True),
52  # If the following is false, no B field map is used,
53  # and B is set to 4 T altogether
54  UseMagneticField = cms.bool(True),
55  # The primary vertex smearing
56  VertexGenerator = cms.PSet(
57  myVertexGenerator
58  )
59 )
60 
61 
perl if(1 lt scalar(@::datatypes))
Definition: edlooper.cc:31