CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CommonInputs_cff.py
Go to the documentation of this file.
2 
4 
5 # Primary vertex smearing.
7 fastsimPrimaryVertex = 'Realistic8TeV2012' # this is the single place in FastSim where the beamspot scenario is chosen; this choice is propagated to famosSimHits and famosPileUp; in the future, more modularity will be possible when the famosPileUp module will be deprecated
8 if(fastsimPrimaryVertex=='Realistic8TeV'):
10 elif(fastsimPrimaryVertex=='Realistic8TeV2012'):
12 elif(fastsimPrimaryVertex=='Realistic7TeV2011'):
14 else: # by default, the currently recommended one
16 
17 # The Geometries
18 #from FastSimulation.Configuration.Geometries_cff import *
19 
20 #The Magnetic Field ESProducer's
22 
23 # The muon tracker trajectory, to be fit without rechit refit
24 from RecoMuon.GlobalTrackingTools.GlobalTrajectoryBuilderCommon_cff import GlobalTrajectoryBuilderCommon
25 GlobalTrajectoryBuilderCommon.TrackerRecHitBuilder = 'WithoutRefit'
26 GlobalTrajectoryBuilderCommon.TrackTransformer.TrackerRecHitBuilder = 'WithoutRefit'
27 
28 # ECAL severity
30 
31 # CaloMode is defined here
32 # 0: custom local reco bypassing digis, ECAL and HCAL; default before 61x
33 # 1: as 0, but full digi + std local reco in ECAL
34 # 2: as 0, but full digi + std local reco in HCAL
35 # 3: full digi + std local reco in ECAL and HCAL <---- DEFAULT
36 
37 CaloMode = 3
38 
39 # This flag is to switch between GEN-level and SIM/RECO-level pileup mixing
40 
41 MixingMode = 'GenMixing' # GEN-level <---- DEFAULT
42 #MixingMode = 'DigiRecoMixing' # SIM/RECO-level; can be used only if CaloMode==3
if(dp >Float(M_PI)) dp-