CMS 3D CMS Logo

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