CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/SimG4Core/Application/python/g4SimHits_cfi.py

Go to the documentation of this file.
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 common_UsePMT = cms.PSet(
00018     UseR7600UPMT  = cms.bool(False)
00019 )
00020 
00021 g4SimHits = cms.EDProducer("OscarProducer",
00022     NonBeamEvent = cms.bool(False),
00023     G4EventManagerVerbosity = cms.untracked.int32(0),
00024     G4StackManagerVerbosity = cms.untracked.int32(0),
00025     G4TrackingManagerVerbosity = cms.untracked.int32(0),
00026     UseMagneticField = cms.bool(True),
00027     OverrideUserStackingAction = cms.bool(True),
00028     StoreRndmSeeds = cms.bool(False),
00029     RestoreRndmSeeds = cms.bool(False),
00030     PhysicsTablesDirectory = cms.string('PhysicsTables'),
00031     StorePhysicsTables = cms.bool(False),
00032     RestorePhysicsTables = cms.bool(False),
00033     CheckOverlap = cms.untracked.bool(False),
00034     G4Commands = cms.vstring(),
00035     Watchers = cms.VPSet(),
00036     theLHCTlinkTag = cms.InputTag("LHCTransport"),
00037     MagneticField = cms.PSet(
00038         UseLocalMagFieldManager = cms.bool(False),
00039         Verbosity = cms.untracked.bool(False),
00040         ConfGlobalMFM = cms.PSet(
00041             Volume = cms.string('OCMS'),
00042             OCMS = cms.PSet(
00043                 Stepper = cms.string('G4ClassicalRK4'),
00044                 Type = cms.string('CMSIMField'),
00045                 G4ClassicalRK4 = cms.PSet(
00046                     MaximumEpsilonStep = cms.untracked.double(0.01), ## in mm
00047 
00048                     DeltaOneStep = cms.double(0.001), ## in mm
00049 
00050                     MaximumLoopCounts = cms.untracked.double(1000.0),
00051                     DeltaChord = cms.double(0.001), ## in mm
00052 
00053                     MinStep = cms.double(0.1), ## in mm
00054 
00055                     DeltaIntersectionAndOneStep = cms.untracked.double(-1.0),
00056                     DeltaIntersection = cms.double(0.0001), ## in mm
00057 
00058                     MinimumEpsilonStep = cms.untracked.double(1e-05) ## in mm
00059 
00060                 )
00061             )
00062         ),
00063         delta = cms.double(1.0)
00064     ),
00065     Physics = cms.PSet(
00066         # NOTE : if you want EM Physics only,
00067         #        please select "SimG4Core/Physics/DummyPhysics" for type
00068         #        and turn ON DummyEMPhysics
00069         #
00070         type = cms.string('SimG4Core/Physics/QGSP_FTFP_BERT_EML'),
00071         DummyEMPhysics = cms.bool(False),
00072         CutsPerRegion = cms.bool(True),
00073         DefaultCutValue = cms.double(1.0), ## cuts in cm
00074         G4BremsstrahlungThreshold = cms.double(0.5), ## cut in GeV
00075         Verbosity = cms.untracked.int32(0),
00076         # 1 will print cuts as they get set from DD
00077         # 2 will do as 1 + will dump Geant4 table of cuts
00078         MonopoleCharge       = cms.untracked.int32(1),
00079         MonopoleDeltaRay     = cms.untracked.bool(True),
00080         MonopoleMultiScatter = cms.untracked.bool(False),
00081         MonopoleTransport    = cms.untracked.bool(True),
00082         MonopoleMass         = cms.untracked.double(0),
00083         Region      = cms.string(' '),
00084         TrackingCut = cms.bool(True),
00085         SRType      = cms.bool(True),
00086         EMPhysics   = cms.untracked.bool(True),
00087         HadPhysics  = cms.untracked.bool(True),
00088         FlagBERT    = cms.untracked.bool(False),
00089         FlagCHIPS   = cms.untracked.bool(False),
00090         FlagFTF     = cms.untracked.bool(False),
00091         FlagGlauber = cms.untracked.bool(False),
00092         FlagHP      = cms.untracked.bool(False),
00093         GflashEcal    = cms.bool(False),
00094         bField        = cms.double(3.8),
00095         energyScaleEB = cms.double(1.032),
00096         energyScaleEE = cms.double(1.024),
00097         GflashHcal    = cms.bool(False),
00098         RusRoEcalGamma         = cms.double(1.0),
00099         RusRoEcalGammaLimit    = cms.double(0.0),
00100         RusRoHcalGamma         = cms.double(1.0),
00101         RusRoHcalGammaLimit    = cms.double(0.0),
00102         RusRoEcalElectron      = cms.double(1.0),
00103         RusRoEcalElectronLimit = cms.double(0.0),
00104         RusRoHcalElectron      = cms.double(1.0),
00105         RusRoHcalElectronLimit = cms.double(0.0)
00106     ),
00107     generator = cms.PSet(
00108         HectorEtaCut,
00109         # string HepMCProductLabel = "VtxSmeared"
00110         HepMCProductLabel = cms.string('generator'),
00111         ApplyPCuts = cms.bool(True),
00112         MinPCut = cms.double(0.04), ## the pt-cut is in GeV (CMS conventions)
00113         MaxPCut = cms.double(99999.0), ## the ptmax=99.TeV in this case
00114         ApplyEtaCuts = cms.bool(True),
00115         MinEtaCut = cms.double(-5.5),
00116         MaxEtaCut = cms.double(5.5),
00117         ApplyPhiCuts = cms.bool(False),
00118         MinPhiCut = cms.double(-3.14159265359), ## in radians
00119         MaxPhiCut = cms.double(3.14159265359), ## according to CMS conventions
00120         RDecLenCut = cms.double(2.9), ## the minimum decay length in cm (!) for mother tracking
00121         Verbosity = cms.untracked.int32(0)
00122     ),
00123     RunAction = cms.PSet(
00124         StopFile = cms.string('StopRun')
00125     ),
00126     EventAction = cms.PSet(
00127         debug = cms.untracked.bool(False),
00128         StopFile = cms.string('StopRun'),
00129         CollapsePrimaryVertices = cms.bool(False)
00130     ),
00131     StackingAction = cms.PSet(
00132         common_heavy_suppression,
00133         common_maximum_time,
00134         KillDeltaRay  = cms.bool(False),
00135         TrackNeutrino = cms.bool(False),
00136         KillHeavy     = cms.bool(False),
00137         SaveFirstLevelSecondary = cms.untracked.bool(False),
00138         SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(True),
00139         SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(False),
00140         SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(False),
00141         RusRoEcalNeutron         = cms.double(1.0),
00142         RusRoEcalNeutronLimit    = cms.double(0.0),
00143         RusRoHcalNeutron         = cms.double(1.0),
00144         RusRoHcalNeutronLimit    = cms.double(0.0),
00145         RusRoEcalProton      = cms.double(1.0),
00146         RusRoEcalProtonLimit = cms.double(0.0),
00147         RusRoHcalProton      = cms.double(1.0),
00148         RusRoHcalProtonLimit = cms.double(0.0)
00149     ),
00150     TrackingAction = cms.PSet(
00151         DetailedTiming = cms.untracked.bool(False)
00152     ),
00153     SteppingAction = cms.PSet(
00154         common_maximum_time,
00155         KillBeamPipe            = cms.bool(True),
00156         CriticalEnergyForVacuum = cms.double(2.0),
00157         CriticalDensity         = cms.double(1e-15),
00158         EkinNames               = cms.vstring(),
00159         EkinThresholds          = cms.vdouble(),
00160         EkinParticles           = cms.vstring(),
00161         Verbosity = cms.untracked.int32(0)
00162     ),
00163     TrackerSD = cms.PSet(
00164         ZeroEnergyLoss = cms.bool(False),
00165         PrintHits = cms.bool(False),
00166         ElectronicSigmaInNanoSeconds = cms.double(12.06),
00167         NeverAccumulate = cms.bool(False),
00168         EnergyThresholdForPersistencyInGeV = cms.double(0.2),
00169         EnergyThresholdForHistoryInGeV = cms.double(0.05)
00170     ),
00171     MuonSD = cms.PSet(
00172         EnergyThresholdForPersistency = cms.double(1.0),
00173         PrintHits = cms.bool(False),
00174         AllMuonsPersistent = cms.bool(True)
00175     ),
00176     CaloSD = cms.PSet(
00177         common_heavy_suppression,
00178         SuppressHeavy = cms.bool(False),
00179         EminTrack = cms.double(1.0),
00180         TmaxHit   = cms.double(1000.0),
00181         HCNames   = cms.vstring('EcalHitsEB','EcalHitsEE','EcalHitsES','HcalHits','ZDCHITS'),
00182         EminHits  = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
00183         EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
00184         TmaxHits  = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
00185         UseResponseTables = cms.vint32(0,0,0,0,0),
00186         BeamPosition      = cms.double(0.0),
00187         CorrectTOFBeam    = cms.bool(False),
00188         DetailedTiming    = cms.untracked.bool(False),
00189         UseMap            = cms.untracked.bool(False),
00190         Verbosity         = cms.untracked.int32(0),
00191         CheckHits         = cms.untracked.int32(25)
00192     ),
00193     CaloResponse = cms.PSet(
00194         UseResponseTable  = cms.bool(True),
00195         ResponseScale     = cms.double(1.0),
00196         ResponseFile      = cms.FileInPath('SimG4CMS/Calo/data/responsTBpim50.dat')
00197     ),
00198     ECalSD = cms.PSet(
00199         UseBirkLaw      = cms.bool(True),
00200         BirkL3Parametrization = cms.bool(True),
00201         BirkSlope       = cms.double(0.253694),
00202         BirkCut         = cms.double(0.1),
00203         BirkC1          = cms.double(0.03333),
00204         BirkC3          = cms.double(1.0),
00205         BirkC2          = cms.double(0.0),
00206         SlopeLightYield = cms.double(0.02),
00207         StoreSecondary  = cms.bool(False),
00208         TimeSliceUnit   = cms.int32(1),
00209         IgnoreTrackID   = cms.bool(False),
00210         XtalMat         = cms.untracked.string('E_PbWO4'),
00211         TestBeam        = cms.untracked.bool(False),
00212         NullNumbering   = cms.untracked.bool(False),
00213         StoreRadLength  = cms.untracked.bool(False)
00214     ),
00215     HCalSD = cms.PSet(
00216         UseBirkLaw          = cms.bool(True),
00217         BirkC3              = cms.double(1.75),
00218         BirkC2              = cms.double(0.142),
00219         BirkC1              = cms.double(0.0052),
00220         UseShowerLibrary    = cms.bool(False),
00221         UseParametrize      = cms.bool(True),
00222         UsePMTHits          = cms.bool(True),
00223         UseFibreBundleHits  = cms.bool(True),
00224         TestNumberingScheme = cms.bool(False),
00225         EminHitHB           = cms.double(0.0),
00226         EminHitHE           = cms.double(0.0),
00227         EminHitHO           = cms.double(0.0),
00228         EminHitHF           = cms.double(0.0),
00229         BetaThreshold       = cms.double(0.7),
00230         TimeSliceUnit       = cms.int32(1),
00231         IgnoreTrackID       = cms.bool(False),
00232         UseHF               = cms.untracked.bool(True),
00233         ForTBH2             = cms.untracked.bool(False),
00234         UseLayerWt          = cms.untracked.bool(False),
00235         WtFile              = cms.untracked.string('None')
00236     ),
00237     CaloTrkProcessing = cms.PSet(
00238         TestBeam   = cms.bool(False),
00239         EminTrack  = cms.double(0.01),
00240         PutHistory = cms.bool(False)
00241     ),
00242     HFShower = cms.PSet(
00243         common_UsePMT,
00244         ProbMax         = cms.double(1.0),
00245         CFibre          = cms.double(0.5),
00246         PEPerGeV        = cms.double(0.31),
00247         TrackEM         = cms.bool(False),
00248         UseShowerLibrary= cms.bool(False),
00249         UseHFGflash     = cms.bool(True),
00250         EminLibrary     = cms.double(0.0),
00251         RefIndex        = cms.double(1.459),
00252         Lambda1         = cms.double(280.0),
00253         Lambda2         = cms.double(700.0),
00254         Aperture        = cms.double(0.33),
00255         ApertureTrapped = cms.double(0.22),
00256         Gain            = cms.double(0.33),
00257         OnlyLong        = cms.bool(True),
00258         LambdaMean      = cms.double(350.0),
00259         CheckSurvive    = cms.bool(False),
00260         ApplyFiducialCut= cms.bool(True),
00261         ParametrizeLast = cms.untracked.bool(False)
00262     ),
00263     HFShowerLibrary = cms.PSet(
00264         FileName        = cms.FileInPath('SimG4CMS/Calo/data/hfshowerlibrary_lhep_140_edm.root'),
00265         BackProbability = cms.double(0.2),
00266         TreeEMID        = cms.string('emParticles'),
00267         TreeHadID       = cms.string('hadParticles'),
00268         Verbosity       = cms.untracked.bool(False),
00269         ApplyFiducialCut= cms.bool(True),
00270         BranchPost      = cms.untracked.string('_R.obj'),
00271         BranchEvt       = cms.untracked.string('HFShowerLibraryEventInfos_hfshowerlib_HFShowerLibraryEventInfo'),
00272         BranchPre       = cms.untracked.string('HFShowerPhotons_hfshowerlib_')
00273     ),
00274     HFShowerPMT = cms.PSet(
00275         common_UsePMT,
00276         PEPerGeVPMT     = cms.double(1.0),
00277         RefIndex        = cms.double(1.52),
00278         Lambda1         = cms.double(280.0),
00279         Lambda2         = cms.double(700.0),
00280         Aperture        = cms.double(0.99),
00281         ApertureTrapped = cms.double(0.22),
00282         Gain            = cms.double(0.33),
00283         CheckSurvive    = cms.bool(False)
00284     ),
00285     HFShowerStraightBundle = cms.PSet(
00286         common_UsePMT,
00287         FactorBundle    = cms.double(1.0),
00288         RefIndex        = cms.double(1.459),
00289         Lambda1         = cms.double(280.0),
00290         Lambda2         = cms.double(700.0),
00291         Aperture        = cms.double(0.33),
00292         ApertureTrapped = cms.double(0.22),
00293         Gain            = cms.double(0.33),
00294         CheckSurvive    = cms.bool(False)
00295     ),
00296     HFShowerConicalBundle = cms.PSet(
00297         common_UsePMT,
00298         FactorBundle    = cms.double(1.0),
00299         RefIndex        = cms.double(1.459),
00300         Lambda1         = cms.double(280.0),
00301         Lambda2         = cms.double(700.0),
00302         Aperture        = cms.double(0.33),
00303         ApertureTrapped = cms.double(0.22),
00304         Gain            = cms.double(0.33),
00305         CheckSurvive    = cms.bool(False)
00306     ),
00307     HFGflash = cms.PSet(
00308         BField          = cms.untracked.double(3.8),
00309         WatcherOn       = cms.untracked.bool(True),
00310         FillHisto       = cms.untracked.bool(True)
00311     ),
00312     CastorSD = cms.PSet(
00313         useShowerLibrary               = cms.bool(True),
00314         minEnergyInGeVforUsingSLibrary = cms.double(1.0),
00315         nonCompensationFactor          = cms.double(0.85),
00316         Verbosity                      = cms.untracked.int32(0)
00317     ),
00318     CastorShowerLibrary =  cms.PSet(
00319         FileName  = cms.FileInPath('SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
00320         BranchEvt = cms.untracked.string('hadShowerLibInfo.'),
00321         BranchEM  = cms.untracked.string('emParticles.'),
00322         BranchHAD = cms.untracked.string('hadParticles.'),
00323         Verbosity = cms.untracked.bool(False)
00324     ),
00325     TotemSD = cms.PSet(
00326         Verbosity = cms.untracked.int32(0)
00327     ),
00328     ZdcSD = cms.PSet(
00329         Verbosity = cms.int32(0),
00330         UseShowerLibrary = cms.bool(True),
00331         UseShowerHits = cms.bool(False),
00332         FiberDirection = cms.double(45.0),
00333         ZdcHitEnergyCut = cms.double(10.0)
00334     ),
00335     ZdcShowerLibrary = cms.PSet(
00336         Verbosity = cms.untracked.int32(0)
00337     ),
00338     FP420SD = cms.PSet(
00339         Verbosity = cms.untracked.int32(2)
00340     ),
00341     BscSD = cms.PSet(
00342         Verbosity = cms.untracked.int32(0)
00343     ),
00344     PltSD = cms.PSet(
00345         EnergyThresholdForPersistencyInGeV = cms.double(0.2),
00346         EnergyThresholdForHistoryInGeV = cms.double(0.05)
00347     ),
00348     HcalTB02SD = cms.PSet(
00349         UseBirkLaw = cms.untracked.bool(False),
00350         BirkC1 = cms.untracked.double(0.013),
00351         BirkC3 = cms.untracked.double(1.75),
00352         BirkC2 = cms.untracked.double(0.0568)
00353     ),
00354     EcalTBH4BeamSD = cms.PSet(
00355         UseBirkLaw = cms.bool(False),
00356         BirkC1 = cms.double(0.013),
00357         BirkC3 = cms.double(1.75),
00358         BirkC2 = cms.double(0.0568)
00359     ),
00360     HcalTB06BeamSD = cms.PSet(
00361         UseBirkLaw = cms.bool(False),
00362         BirkC1 = cms.double(0.013),
00363         BirkC3 = cms.double(1.75),
00364         BirkC2 = cms.double(0.0568)
00365     )
00366 )
00367 
00368 
00369