File indexing completed on 2024-04-06 12:30:16
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("GEOM")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 process.load('Configuration.Geometry.GeometryExtended2015_cff')
0006 process.load("Configuration.StandardSequences.MagneticField_cff")
0007
0008 process.Tracer = cms.Service("Tracer")
0009
0010 process.maxEvents = cms.untracked.PSet(
0011 input = cms.untracked.int32(1)
0012 )
0013 process.source = cms.Source("EmptySource")
0014
0015 process.MessageLogger.cerr.enable = False
0016 process.MessageLogger.files.geomprod = dict(extension="txt")
0017
0018 common_heavy_suppression = cms.PSet(
0019 NeutronThreshold = cms.double(30.0),
0020 ProtonThreshold = cms.double(30.0),
0021 IonThreshold = cms.double(30.0)
0022 )
0023
0024 common_maximum_time = cms.PSet(
0025 MaxTrackTime = cms.double(500.0),
0026 MaxTimeNames = cms.vstring('ZDCRegion'),
0027 MaxTrackTimes = cms.vdouble(2000.0),
0028 DeadRegions = cms.vstring('QuadRegion','InterimRegion'),
0029 CriticalEnergyForVacuum = cms.double(2.0),
0030 CriticalDensity = cms.double(1e-15)
0031 )
0032
0033 common_UsePMT = cms.PSet(
0034 UseR7600UPMT = cms.bool(False)
0035 )
0036
0037 common_UseHF = cms.PSet(
0038 Lambda1 = cms.double(280.0),
0039 Lambda2 = cms.double(700.0),
0040 Gain = cms.double(0.33),
0041 CheckSurvive = cms.bool(False),
0042 FibreR = cms.untracked.double(0.3)
0043 )
0044
0045 common_UseLuminosity = cms.PSet(
0046 InstLuminosity = cms.double(0.),
0047 DelivLuminosity = cms.double(5000.)
0048 )
0049
0050 process.m = cms.EDProducer("GeometryProducer",
0051 UseSensitiveDetectors = cms.bool(True),
0052 UseMagneticField = cms.bool(True),
0053 MagneticField = cms.PSet(
0054 UseLocalMagFieldManager = cms.bool(False),
0055 Verbosity = cms.untracked.bool(False),
0056 ConfGlobalMFM = cms.PSet(
0057 Volume = cms.string('OCMS'),
0058 OCMS = cms.PSet(
0059 Stepper = cms.string('G4ClassicalRK4'),
0060 Type = cms.string('CMSIMField'),
0061 StepperParam = cms.PSet(
0062 MaximumEpsilonStep = cms.untracked.double(0.01),
0063 DeltaOneStep = cms.double(0.001),
0064 MaximumLoopCounts = cms.untracked.double(1000.0),
0065 DeltaChord = cms.double(0.001),
0066 MinStep = cms.double(0.1),
0067 DeltaIntersectionAndOneStep = cms.untracked.double(-1.0),
0068 DeltaIntersection = cms.double(0.0001),
0069 MinimumEpsilonStep = cms.untracked.double(1e-05)
0070 )
0071 )
0072 ),
0073 delta = cms.double(1.0)
0074 ),
0075 TrackerSD = cms.PSet(
0076 ZeroEnergyLoss = cms.bool(False),
0077 PrintHits = cms.bool(False),
0078 ElectronicSigmaInNanoSeconds = cms.double(12.06),
0079 NeverAccumulate = cms.bool(False),
0080 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
0081 EnergyThresholdForHistoryInGeV = cms.double(0.05)
0082 ),
0083 MuonSD = cms.PSet(
0084 EnergyThresholdForPersistency = cms.double(1.0),
0085 PrintHits = cms.bool(False),
0086 AllMuonsPersistent = cms.bool(True)
0087 ),
0088 CaloSD = cms.PSet(
0089 common_heavy_suppression,
0090 SuppressHeavy = cms.bool(False),
0091 EminTrack = cms.double(1.0),
0092 TmaxHit = cms.double(1000.0),
0093 HCNames = cms.vstring('EcalHitsEB','EcalHitsEE','EcalHitsES','HcalHits','ZDCHITS'),
0094 EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
0095 EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
0096 TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
0097 UseResponseTables = cms.vint32(0,0,0,0,0),
0098 BeamPosition = cms.double(0.0),
0099 CorrectTOFBeam = cms.bool(False),
0100 DetailedTiming = cms.untracked.bool(False),
0101 UseMap = cms.untracked.bool(False),
0102 Verbosity = cms.untracked.int32(0),
0103 CheckHits = cms.untracked.int32(25)
0104 ),
0105 CaloResponse = cms.PSet(
0106 UseResponseTable = cms.bool(True),
0107 ResponseScale = cms.double(1.0),
0108 ResponseFile = cms.FileInPath('SimG4CMS/Calo/data/responsTBpim50.dat')
0109 ),
0110 ECalSD = cms.PSet(
0111 common_UseLuminosity,
0112 UseBirkLaw = cms.bool(True),
0113 BirkL3Parametrization = cms.bool(True),
0114 BirkSlope = cms.double(0.253694),
0115 BirkCut = cms.double(0.1),
0116 BirkC1 = cms.double(0.03333),
0117 BirkC3 = cms.double(1.0),
0118 BirkC2 = cms.double(0.0),
0119 SlopeLightYield = cms.double(0.02),
0120 StoreSecondary = cms.bool(False),
0121 TimeSliceUnit = cms.double(1),
0122 IgnoreTrackID = cms.bool(False),
0123 XtalMat = cms.untracked.string('E_PbWO4'),
0124 TestBeam = cms.untracked.bool(False),
0125 NullNumbering = cms.untracked.bool(False),
0126 StoreRadLength = cms.untracked.bool(False),
0127 AgeingWithSlopeLY = cms.untracked.bool(False)
0128 ),
0129 HCalSD = cms.PSet(
0130 common_UseLuminosity,
0131 UseBirkLaw = cms.bool(True),
0132 BirkC3 = cms.double(1.75),
0133 BirkC2 = cms.double(0.142),
0134 BirkC1 = cms.double(0.0052),
0135 UseShowerLibrary = cms.bool(True),
0136 UseParametrize = cms.bool(False),
0137 UsePMTHits = cms.bool(False),
0138 UseFibreBundleHits = cms.bool(False),
0139 TestNumberingScheme = cms.bool(False),
0140 EminHitHB = cms.double(0.0),
0141 EminHitHE = cms.double(0.0),
0142 EminHitHO = cms.double(0.0),
0143 EminHitHF = cms.double(0.0),
0144 BetaThreshold = cms.double(0.7),
0145 TimeSliceUnit = cms.double(1),
0146 IgnoreTrackID = cms.bool(False),
0147 HEDarkening = cms.bool(False),
0148 HFDarkening = cms.bool(False),
0149 UseHF = cms.untracked.bool(True),
0150 ForTBH2 = cms.untracked.bool(False),
0151 UseLayerWt = cms.untracked.bool(False),
0152 WtFile = cms.untracked.string('None')
0153 ),
0154 CaloTrkProcessing = cms.PSet(
0155 TestBeam = cms.bool(False),
0156 EminTrack = cms.double(0.01),
0157 PutHistory = cms.bool(False)
0158 ),
0159 HFShower = cms.PSet(
0160 common_UsePMT,
0161 common_UseHF,
0162 ProbMax = cms.double(1.0),
0163 CFibre = cms.double(0.5),
0164 PEPerGeV = cms.double(0.31),
0165 TrackEM = cms.bool(False),
0166 UseShowerLibrary = cms.bool(True),
0167 UseHFGflash = cms.bool(False),
0168 EminLibrary = cms.double(0.0),
0169 OnlyLong = cms.bool(True),
0170 LambdaMean = cms.double(350.0),
0171 ApplyFiducialCut = cms.bool(True),
0172 RefIndex = cms.double(1.459),
0173 Aperture = cms.double(0.33),
0174 ApertureTrapped = cms.double(0.22),
0175 CosApertureTrapped= cms.double(0.5),
0176 SinPsiMax = cms.untracked.double(0.5),
0177 ParametrizeLast = cms.untracked.bool(False)
0178 ),
0179 HFShowerLibrary = cms.PSet(
0180 FileName = cms.FileInPath('SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_noatt_eta4_16en_v3.root'),
0181 BackProbability = cms.double(0.2),
0182 TreeEMID = cms.string('emParticles'),
0183 TreeHadID = cms.string('hadParticles'),
0184 Verbosity = cms.untracked.bool(False),
0185 ApplyFiducialCut= cms.bool(True),
0186 BranchPost = cms.untracked.string(''),
0187 BranchEvt = cms.untracked.string(''),
0188 BranchPre = cms.untracked.string('')
0189 ),
0190 HFShowerPMT = cms.PSet(
0191 common_UsePMT,
0192 common_UseHF,
0193 PEPerGeVPMT = cms.double(1.0),
0194 RefIndex = cms.double(1.52),
0195 Aperture = cms.double(0.99),
0196 ApertureTrapped = cms.double(0.22),
0197 CosApertureTrapped= cms.double(0.5),
0198 SinPsiMax = cms.untracked.double(0.5)
0199 ),
0200 HFShowerStraightBundle = cms.PSet(
0201 common_UsePMT,
0202 common_UseHF,
0203 FactorBundle = cms.double(1.0),
0204 RefIndex = cms.double(1.459),
0205 Aperture = cms.double(0.33),
0206 ApertureTrapped = cms.double(0.22),
0207 CosApertureTrapped= cms.double(0.5),
0208 SinPsiMax = cms.untracked.double(0.5)
0209 ),
0210 HFShowerConicalBundle = cms.PSet(
0211 common_UsePMT,
0212 common_UseHF,
0213 FactorBundle = cms.double(1.0),
0214 RefIndex = cms.double(1.459),
0215 Aperture = cms.double(0.33),
0216 ApertureTrapped = cms.double(0.22),
0217 CosApertureTrapped= cms.double(0.5),
0218 SinPsiMax = cms.untracked.double(0.5)
0219 ),
0220 HFGflash = cms.PSet(
0221 BField = cms.untracked.double(3.8),
0222 WatcherOn = cms.untracked.bool(True),
0223 FillHisto = cms.untracked.bool(True)
0224 ),
0225 CastorSD = cms.PSet(
0226 useShowerLibrary = cms.bool(True),
0227 minEnergyInGeVforUsingSLibrary = cms.double(1.0),
0228 nonCompensationFactor = cms.double(0.817),
0229 Verbosity = cms.untracked.int32(0)
0230 ),
0231 CastorShowerLibrary = cms.PSet(
0232 FileName = cms.FileInPath('SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
0233 BranchEvt = cms.untracked.string('hadShowerLibInfo.'),
0234 BranchEM = cms.untracked.string('emParticles.'),
0235 BranchHAD = cms.untracked.string('hadParticles.'),
0236 Verbosity = cms.untracked.bool(False)
0237 ),
0238 BHMSD = cms.PSet(
0239 Verbosity = cms.untracked.int32(0)
0240 ),
0241 FastTimerSD = cms.PSet(
0242 Verbosity = cms.untracked.int32(0)
0243 ),
0244 HGCSD = cms.PSet(
0245 Verbosity = cms.untracked.int32(0),
0246 TimeSliceUnit = cms.double(1),
0247 IgnoreTrackID = cms.bool(False),
0248 EminHit = cms.double(0.0),
0249 CheckID = cms.untracked.bool(True),
0250 ),
0251 TotemSD = cms.PSet(
0252 Verbosity = cms.untracked.int32(0)
0253 ),
0254 ZdcSD = cms.PSet(
0255 Verbosity = cms.int32(0),
0256 UseShowerLibrary = cms.bool(True),
0257 UseShowerHits = cms.bool(False),
0258 FiberDirection = cms.double(45.0),
0259 ZdcHitEnergyCut = cms.double(10.0)
0260 ),
0261 ZdcShowerLibrary = cms.PSet(
0262 Verbosity = cms.untracked.int32(0)
0263 ),
0264 FP420SD = cms.PSet(
0265 Verbosity = cms.untracked.int32(2)
0266 ),
0267 BscSD = cms.PSet(
0268 Verbosity = cms.untracked.int32(0)
0269 ),
0270 PltSD = cms.PSet(
0271 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
0272 EnergyThresholdForHistoryInGeV = cms.double(0.05)
0273 ),
0274 Bcm1fSD = cms.PSet(
0275 EnergyThresholdForPersistencyInGeV = cms.double(0.010),
0276 EnergyThresholdForHistoryInGeV = cms.double(0.005)
0277 ),
0278 HcalTB02SD = cms.PSet(
0279 UseBirkLaw = cms.untracked.bool(False),
0280 BirkC1 = cms.untracked.double(0.013),
0281 BirkC3 = cms.untracked.double(1.75),
0282 BirkC2 = cms.untracked.double(0.0568)
0283 ),
0284 EcalTBH4BeamSD = cms.PSet(
0285 UseBirkLaw = cms.bool(False),
0286 BirkC1 = cms.double(0.013),
0287 BirkC3 = cms.double(1.75),
0288 BirkC2 = cms.double(0.0568)
0289 ),
0290 HcalTB06BeamSD = cms.PSet(
0291 UseBirkLaw = cms.bool(False),
0292 BirkC1 = cms.double(0.013),
0293 BirkC3 = cms.double(1.75),
0294 BirkC2 = cms.double(0.0568)
0295 )
0296 )
0297
0298 process.p1 = cms.Path(process.m)
0299