00001 import FWCore.ParameterSet.Config as cms
00002
00003 from SimG4Core.Application.hectorParameter_cfi import *
00004
00005 common_heavy_suppression = cms.PSet(
00006 NeutronThreshold = cms.double(30.0),
00007 ProtonThreshold = cms.double(30.0),
00008 IonThreshold = cms.double(30.0)
00009 )
00010
00011 common_maximum_time = cms.PSet(
00012 MaxTrackTime = cms.double(500.0),
00013 MaxTimeNames = cms.vstring('ZDCRegion','QuadRegion','InterimRegion'),
00014 MaxTrackTimes = cms.vdouble(2000.0,0.,0.)
00015 )
00016
00017 g4SimHits = cms.EDProducer("OscarProducer",
00018 NonBeamEvent = cms.bool(False),
00019 G4EventManagerVerbosity = cms.untracked.int32(0),
00020 G4StackManagerVerbosity = cms.untracked.int32(0),
00021 G4TrackingManagerVerbosity = cms.untracked.int32(0),
00022 UseMagneticField = cms.bool(True),
00023 OverrideUserStackingAction = cms.bool(True),
00024 StoreRndmSeeds = cms.bool(False),
00025 RestoreRndmSeeds = cms.bool(False),
00026 PhysicsTablesDirectory = cms.string('PhysicsTables'),
00027 StorePhysicsTables = cms.bool(False),
00028 RestorePhysicsTables = cms.bool(False),
00029 CheckOverlap = cms.untracked.bool(False),
00030 G4Commands = cms.vstring(),
00031 Watchers = cms.VPSet(),
00032 MagneticField = cms.PSet(
00033 UseLocalMagFieldManager = cms.bool(False),
00034 Verbosity = cms.untracked.bool(False),
00035 ConfGlobalMFM = cms.PSet(
00036 Volume = cms.string('OCMS'),
00037 OCMS = cms.PSet(
00038 Stepper = cms.string('G4ClassicalRK4'),
00039 Type = cms.string('CMSIMField'),
00040 G4ClassicalRK4 = cms.PSet(
00041 MaximumEpsilonStep = cms.untracked.double(0.01),
00042
00043 DeltaOneStep = cms.double(0.001),
00044
00045 MaximumLoopCounts = cms.untracked.double(1000.0),
00046 DeltaChord = cms.double(0.001),
00047
00048 MinStep = cms.double(0.1),
00049
00050 DeltaIntersectionAndOneStep = cms.untracked.double(-1.0),
00051 DeltaIntersection = cms.double(0.0001),
00052
00053 MinimumEpsilonStep = cms.untracked.double(1e-05)
00054
00055 )
00056 )
00057 ),
00058 delta = cms.double(1.0)
00059 ),
00060 Physics = cms.PSet(
00061
00062
00063
00064
00065 type = cms.string('SimG4Core/Physics/QGSP_FTFP_BERT_EML'),
00066 DummyEMPhysics = cms.bool(False),
00067 CutsPerRegion = cms.bool(True),
00068 DefaultCutValue = cms.double(1.0),
00069 G4BremsstrahlungThreshold = cms.double(0.5),
00070 Verbosity = cms.untracked.int32(0),
00071
00072
00073 MonopoleCharge = cms.untracked.int32(1),
00074 MonopoleDeltaRay = cms.untracked.bool(True),
00075 MonopoleMultiScatter = cms.untracked.bool(False),
00076 MonopoleTransport = cms.untracked.bool(True),
00077 MonopoleMass = cms.untracked.double(0.),
00078 Region = cms.string(' '),
00079 TrackingCut = cms.bool(True),
00080 SRType = cms.bool(True),
00081 EMPhysics = cms.untracked.bool(True),
00082 HadPhysics = cms.untracked.bool(True),
00083 FlagBERT = cms.untracked.bool(False),
00084 FlagCHIPS = cms.untracked.bool(False),
00085 FlagFTF = cms.untracked.bool(False),
00086 FlagGlauber = cms.untracked.bool(False),
00087 FlagHP = cms.untracked.bool(False),
00088 GFlash = cms.PSet(
00089 GflashHistogram = cms.bool(False),
00090 GflashEMShowerModel = cms.bool(False),
00091 GflashHadronPhysics = cms.string('QGSP_BERT_EMV'),
00092 GflashHadronShowerModel = cms.bool(False)
00093 )
00094 ),
00095 generator = cms.PSet(
00096 HectorEtaCut,
00097
00098 HepMCProductLabel = cms.string('generator'),
00099 ApplyPCuts = cms.bool(True),
00100 MinPCut = cms.double(0.04),
00101 MaxPCut = cms.double(99999.0),
00102 ApplyEtaCuts = cms.bool(True),
00103 MinEtaCut = cms.double(-5.5),
00104 MaxEtaCut = cms.double(5.5),
00105 ApplyPhiCuts = cms.bool(False),
00106 MinPhiCut = cms.double(-3.14159265359),
00107 MaxPhiCut = cms.double(3.14159265359),
00108 RDecLenCut = cms.double(2.9),
00109 Verbosity = cms.untracked.int32(0)
00110 ),
00111 RunAction = cms.PSet(
00112 StopFile = cms.string('StopRun')
00113 ),
00114 EventAction = cms.PSet(
00115 debug = cms.untracked.bool(False),
00116 StopFile = cms.string('StopRun'),
00117 CollapsePrimaryVertices = cms.bool(False)
00118 ),
00119 StackingAction = cms.PSet(
00120 common_heavy_suppression,
00121 common_maximum_time,
00122 KillDeltaRay = cms.bool(False),
00123 TrackNeutrino = cms.bool(False),
00124 KillHeavy = cms.bool(False),
00125 SaveFirstLevelSecondary = cms.untracked.bool(False),
00126 SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(True),
00127 SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(False),
00128 SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(False)
00129 ),
00130 TrackingAction = cms.PSet(
00131 DetailedTiming = cms.untracked.bool(False)
00132 ),
00133 SteppingAction = cms.PSet(
00134 common_maximum_time,
00135 KillBeamPipe = cms.bool(True),
00136 CriticalEnergyForVacuum = cms.double(2.0),
00137 CriticalDensity = cms.double(1e-15),
00138 EkinNames = cms.vstring(),
00139 EkinThresholds = cms.vdouble(),
00140 EkinParticles = cms.vstring(),
00141 Verbosity = cms.untracked.int32(0)
00142 ),
00143 TrackerSD = cms.PSet(
00144 ZeroEnergyLoss = cms.bool(False),
00145 PrintHits = cms.bool(False),
00146 ElectronicSigmaInNanoSeconds = cms.double(12.06),
00147 NeverAccumulate = cms.bool(False),
00148 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
00149 EnergyThresholdForHistoryInGeV = cms.double(0.05)
00150 ),
00151 MuonSD = cms.PSet(
00152 EnergyThresholdForPersistency = cms.double(1.0),
00153 PrintHits = cms.bool(False),
00154 AllMuonsPersistent = cms.bool(True)
00155 ),
00156 CaloSD = cms.PSet(
00157 common_heavy_suppression,
00158 SuppressHeavy = cms.bool(False),
00159 EminTrack = cms.double(1.0),
00160 TmaxHit = cms.double(1000.0),
00161 HCNames = cms.vstring('EcalHitsEB','EcalHitsEE','EcalHitsES','HcalHits','ZDCHITS'),
00162 EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
00163 EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
00164 TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
00165 UseResponseTables = cms.vint32(0,0,0,0,0),
00166 BeamPosition = cms.double(0.0),
00167 CorrectTOFBeam = cms.bool(False),
00168 DetailedTiming = cms.untracked.bool(False),
00169 UseMap = cms.untracked.bool(False),
00170 Verbosity = cms.untracked.int32(0),
00171 CheckHits = cms.untracked.int32(25)
00172 ),
00173 CaloResponse = cms.PSet(
00174 UseResponseTable = cms.bool(True),
00175 ResponseScale = cms.double(1.0),
00176 ResponseFile = cms.FileInPath('SimG4CMS/Calo/data/responsTBpim50.dat')
00177 ),
00178 ECalSD = cms.PSet(
00179 UseBirkLaw = cms.bool(True),
00180 BirkL3Parametrization = cms.bool(True),
00181 BirkSlope = cms.double(0.253694),
00182 BirkCut = cms.double(0.1),
00183 BirkC1 = cms.double(0.03333),
00184 BirkC3 = cms.double(1.0),
00185 BirkC2 = cms.double(0.0),
00186 SlopeLightYield = cms.double(0.02),
00187 StoreSecondary = cms.bool(False),
00188 TimeSliceUnit = cms.int32(1),
00189 IgnoreTrackID = cms.bool(False),
00190 XtalMat = cms.untracked.string('E_PbWO4'),
00191 TestBeam = cms.untracked.bool(False),
00192 NullNumbering = cms.untracked.bool(False),
00193 StoreRadLength = cms.untracked.bool(False)
00194 ),
00195 HCalSD = cms.PSet(
00196 UseBirkLaw = cms.bool(True),
00197 BirkC3 = cms.double(1.75),
00198 BirkC2 = cms.double(0.142),
00199 BirkC1 = cms.double(0.0052),
00200 UseShowerLibrary = cms.bool(False),
00201 UseParametrize = cms.bool(True),
00202 UsePMTHits = cms.bool(True),
00203 UseFibreBundleHits = cms.bool(True),
00204 TestNumberingScheme = cms.bool(False),
00205 EminHitHB = cms.double(0.0),
00206 EminHitHE = cms.double(0.0),
00207 EminHitHO = cms.double(0.0),
00208 EminHitHF = cms.double(0.0),
00209 BetaThreshold = cms.double(0.7),
00210 TimeSliceUnit = cms.int32(1),
00211 IgnoreTrackID = cms.bool(False),
00212 UseHF = cms.untracked.bool(True),
00213 ForTBH2 = cms.untracked.bool(False),
00214 UseLayerWt = cms.untracked.bool(False),
00215 WtFile = cms.untracked.string('None')
00216 ),
00217 CaloTrkProcessing = cms.PSet(
00218 TestBeam = cms.bool(False),
00219 EminTrack = cms.double(0.01),
00220 PutHistory = cms.bool(False)
00221 ),
00222 HFShower = cms.PSet(
00223 ProbMax = cms.double(1.0),
00224 CFibre = cms.double(0.5),
00225 PEPerGeV = cms.double(0.31),
00226 TrackEM = cms.bool(False),
00227 UseShowerLibrary= cms.bool(False),
00228 UseHFGflash = cms.bool(True),
00229 EminLibrary = cms.double(0.0),
00230 RefIndex = cms.double(1.459),
00231 Lambda1 = cms.double(280.0),
00232 Lambda2 = cms.double(700.0),
00233 Aperture = cms.double(0.33),
00234 ApertureTrapped = cms.double(0.22),
00235 Gain = cms.double(0.33),
00236 OnlyLong = cms.bool(True),
00237 LambdaMean = cms.double(350.0),
00238 CheckSurvive = cms.bool(False),
00239 ApplyFiducialCut= cms.bool(True),
00240 ParametrizeLast = cms.untracked.bool(False)
00241 ),
00242 HFShowerLibrary = cms.PSet(
00243 FileName = cms.FileInPath('SimG4CMS/Calo/data/hfshowerlibrary_lhep_140_edm.root'),
00244 BackProbability = cms.double(0.2),
00245 TreeEMID = cms.string('emParticles'),
00246 TreeHadID = cms.string('hadParticles'),
00247 Verbosity = cms.untracked.bool(False),
00248 BranchPost = cms.untracked.string('_R.obj'),
00249 BranchEvt = cms.untracked.string('HFShowerLibraryEventInfos_hfshowerlib_HFShowerLibraryEventInfo'),
00250 BranchPre = cms.untracked.string('HFShowerPhotons_hfshowerlib_')
00251 ),
00252 HFShowerPMT = cms.PSet(
00253 PEPerGeVPMT = cms.double(1.0),
00254 RefIndex = cms.double(1.52),
00255 Lambda1 = cms.double(280.0),
00256 Lambda2 = cms.double(700.0),
00257 Aperture = cms.double(0.99),
00258 ApertureTrapped = cms.double(0.22),
00259 Gain = cms.double(0.33),
00260 CheckSurvive = cms.bool(False)
00261 ),
00262 HFShowerStraightBundle = cms.PSet(
00263 FactorBundle = cms.double(1.0),
00264 RefIndex = cms.double(1.459),
00265 Lambda1 = cms.double(280.0),
00266 Lambda2 = cms.double(700.0),
00267 Aperture = cms.double(0.33),
00268 ApertureTrapped = cms.double(0.22),
00269 Gain = cms.double(0.33),
00270 CheckSurvive = cms.bool(False)
00271 ),
00272 HFShowerConicalBundle = cms.PSet(
00273 FactorBundle = cms.double(1.0),
00274 RefIndex = cms.double(1.459),
00275 Lambda1 = cms.double(280.0),
00276 Lambda2 = cms.double(700.0),
00277 Aperture = cms.double(0.33),
00278 ApertureTrapped = cms.double(0.22),
00279 Gain = cms.double(0.33),
00280 CheckSurvive = cms.bool(False)
00281 ),
00282 HFGflash = cms.PSet(
00283 BField = cms.untracked.double(3.8),
00284 WatcherOn = cms.untracked.bool(True),
00285 FillHisto = cms.untracked.bool(True)
00286 ),
00287 CastorSD = cms.PSet(
00288 useShowerLibrary = cms.bool(True),
00289 minEnergyInGeVforUsingSLibrary = cms.double(1.0),
00290 nonCompensationFactor = cms.double(0.77),
00291 Verbosity = cms.untracked.int32(0)
00292 ),
00293 CastorShowerLibrary = cms.PSet(
00294 FileName = cms.FileInPath('SimG4CMS/Forward/data/castorShowerLibrary_QFBE.root'),
00295 BranchEvt = cms.untracked.string('hadShowerLibInfo.'),
00296 BranchEM = cms.untracked.string('emParticles.'),
00297 BranchHAD = cms.untracked.string('hadParticles.'),
00298 Verbosity = cms.untracked.bool(False)
00299 ),
00300 TotemSD = cms.PSet(
00301 Verbosity = cms.untracked.int32(0)
00302 ),
00303 ZdcSD = cms.PSet(
00304 Verbosity = cms.int32(0),
00305 UseShowerLibrary = cms.bool(True),
00306 UseShowerHits = cms.bool(False),
00307 FiberDirection = cms.double(45.0),
00308 ZdcHitEnergyCut = cms.double(10.0)
00309 ),
00310 ZdcShowerLibrary = cms.PSet(
00311 Verbosity = cms.untracked.int32(0)
00312 ),
00313 FP420SD = cms.PSet(
00314 Verbosity = cms.untracked.int32(2)
00315 ),
00316 BscSD = cms.PSet(
00317 Verbosity = cms.untracked.int32(0)
00318 ),
00319 PltSD = cms.PSet(
00320 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
00321 EnergyThresholdForHistoryInGeV = cms.double(0.05)
00322 ),
00323 HcalTB02SD = cms.PSet(
00324 UseBirkLaw = cms.untracked.bool(False),
00325 BirkC1 = cms.untracked.double(0.013),
00326 BirkC3 = cms.untracked.double(1.75),
00327 BirkC2 = cms.untracked.double(0.0568)
00328 ),
00329 EcalTBH4BeamSD = cms.PSet(
00330 UseBirkLaw = cms.bool(False),
00331 BirkC1 = cms.double(0.013),
00332 BirkC3 = cms.double(1.75),
00333 BirkC2 = cms.double(0.0568)
00334 ),
00335 HcalTB06BeamSD = cms.PSet(
00336 UseBirkLaw = cms.bool(False),
00337 BirkC1 = cms.double(0.013),
00338 BirkC3 = cms.double(1.75),
00339 BirkC2 = cms.double(0.0568)
00340 )
00341 )
00342
00343
00344