Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmic GEN configuration with tighter pointing cuts #9469

Merged
merged 1 commit into from Jun 11, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
45 changes: 45 additions & 0 deletions Configuration/Generator/python/UndergroundCosmicSPLooseMu_cfi.py
@@ -0,0 +1,45 @@
import FWCore.ParameterSet.Config as cms
from GeneratorInterface.GenFilters.CosmicGenFilterHelix_cff import *

generator = cms.EDProducer("CosMuoGenProducer",
ZCentrOfTarget = cms.double(0.0),
MinP = cms.double(10.0),
MinP_CMS = cms.double(-1.0), ##negative means MinP_CMS = MinP. Only change this if you know what you are doing!
MaxP = cms.double(3000.0),
MinTheta = cms.double(0.0),
MaxTheta = cms.double(84.),
MinPhi = cms.double(0.0),
MaxPhi = cms.double(360.0),
MinT0 = cms.double(-12.5),
MaxT0 = cms.double(12.5),
PlugVx = cms.double(0.0),
PlugVz = cms.double(-14000.0),
MinEnu = cms.double(10.),
MaxEnu = cms.double(10000.),
NuProdAlt = cms.double(7.5e6),
AcptAllMu = cms.bool(False),
ElossScaleFactor = cms.double(1.0),
RadiusOfTarget = cms.double(8000.0),
ZDistOfTarget = cms.double(15000.0),
TrackerOnly = cms.bool(False),
TIFOnly_constant = cms.bool(False),
TIFOnly_linear = cms.bool(False),
MTCCHalf = cms.bool(False),
Verbosity = cms.bool(False),
RhoAir = cms.double(0.001214),
RhoWall = cms.double(2.5),
RhoRock = cms.double(2.5),
RhoClay = cms.double(2.3),
RhoPlug = cms.double(2.5),
ClayWidth = cms.double(50000.),

MultiMuon = cms.bool(False),
# MultiMuon = cms.bool(True),
MultiMuonFileName = cms.string("CORSIKAmultiMuon.root"),
MultiMuonFileFirstEvent = cms.int32(1),
MultiMuonNmin = cms.int32(2),
)


#Filter
ProductionFilterSequence = cms.Sequence(generator*cosmicInPixelLoose)
Expand Up @@ -3,3 +3,10 @@
from GeneratorInterface.GenFilters.CosmicGenFilterHelix_cfi import *
from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi import *

cosmicInPixelLoose = cosmicInTracker.clone()

cosmicInPixelLoose.radius = cms.double(20.0) ## i.e. twice
cosmicInPixelLoose.minZ = cms.double(-100.0) ## the RECO SP
cosmicInPixelLoose.maxZ = cms.double(100.0) ## skim cuts