CMS 3D CMS Logo

cosmicDC_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # seeding
4 import RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi
6 hitCollectorForCosmicDCSeeds = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
7  ComponentName = cms.string('hitCollectorForCosmicDCSeeds'),
8  MaxChi2 = cms.double(100.0), ## was 30 ## TO BE TUNED
9  nSigma = cms.double(4.), ## was 3 ## TO BE TUNED
10  MaxDisplacement = cms.double(100),
11  MaxSagitta = cms.double(-1.0),
12  MinimalTolerance = cms.double(0.5),
13  appendToDataLabel = cms.string(''),
14 )
15 cosmicDCSeeds = RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi.outInSeedsFromStandaloneMuons.clone(
16  src = cms.InputTag("muonsFromCosmics"),
17  cut = cms.string("pt > 2 && abs(eta)<1.2 && phi<0"),
18  hitCollector = cms.string('hitCollectorForCosmicDCSeeds'),
19  fromVertex = cms.bool(False),
20  maxEtaForTOB = cms.double(1.5),
21  minEtaForTEC = cms.double(0.7),
22 )
23 
24 # Ckf pattern
26 cosmicDCCkfTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidatesP5_cff.ckfTrackCandidatesP5.clone(
27  src = cms.InputTag( "cosmicDCSeeds" ),
28 )
29 
30 # Track producer
32 cosmicDCTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterialP5_cff.ctfWithMaterialTracksCosmics.clone(
33  src = cms.InputTag( "cosmicDCCkfTrackCandidates" ),
34 )
35 
36 # Final Sequence
37 cosmicDCTracksSeq = cms.Sequence( cosmicDCSeeds * cosmicDCCkfTrackCandidates * cosmicDCTracks )