00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 import RecoVertex.BeamSpotProducer.BeamSpot_cfi
00005 MyBeamSpot= RecoVertex.BeamSpotProducer.BeamSpot_cfi.offlineBeamSpot.clone()
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 import L1Trigger.Configuration.L1Config_cff
00021 import L1TriggerConfig.L1GtConfigProducers.Luminosity.lumi1x1032.L1Menu_CRUZET200805_gr7_muon_cff
00022 import L1Trigger.Skimmer.l1Filter_cfi
00023 ALCAl1Filter = L1Trigger.Skimmer.l1Filter_cfi.l1Filter.clone(
00024
00025 )
00026
00027
00028
00029
00030
00031
00032
00033 from RecoTracker.TrackProducer.TrackRefitters_cff import *
00034 import RecoTracker.TrackProducer.CTFFinalFitWithMaterialP5_cff
00035 FittingSmootherCustomised = RecoTracker.TrackProducer.CTFFinalFitWithMaterialP5_cff.FittingSmootherRKP5.clone(
00036 ComponentName = 'FittingSmootherCustomised',
00037 EstimateCut=15.0,
00038 MinNumberOfHits=6
00039 )
00040
00041
00042 TrackRefitterCTF1 =RecoTracker.TrackProducer.TrackRefitterP5_cfi.TrackRefitterP5.clone(
00043 constraint = "",
00044 src='ALCARECOTkAlCosmicsCTF0T',
00045 TTRHBuilder = 'WithAngleAndTemplate',
00046 TrajectoryInEvent = True,
00047 beamSpot='MyBeamSpot',
00048 NavigationSchool=''
00049 )
00050
00051
00052
00053 from RecoTracker.FinalTrackSelectors.TrackerTrackHitFilter_cff import *
00054 AlignmentHitFilterCTF=RecoTracker.FinalTrackSelectors.TrackerTrackHitFilter_cff.TrackerTrackHitFilter.clone(
00055
00056 src = 'TrackRefitterCTF1',
00057 commands = cms.vstring("keep PXB","keep PXE","keep TIB","keep TID","keep TOB","keep TEC"),
00058 minimumHits = 6,
00059 replaceWithInactiveHits = True,
00060 stripAllInvalidHits = False,
00061 rejectBadStoNHits = True,
00062 StoNcommands = cms.vstring("ALL 18.0"),
00063 useTrajectories= True,
00064 rejectLowAngleHits= True,
00065 TrackAngleCut= 0.35,
00066 usePixelQualityFlag= True,
00067 PxlCorrClusterChargeCut=10000.0
00068 )
00069
00070
00071
00072 import RecoTracker.TrackProducer.CTFFinalFitWithMaterialP5_cff
00073 ctfProducerCustomisedCTF = RecoTracker.TrackProducer.CTFFinalFitWithMaterialP5_cff.ctfWithMaterialTracksCosmics.clone(
00074 src = 'AlignmentHitFilterCTF',
00075 beamSpot='MyBeamSpot',
00076
00077 TTRHBuilder = 'WithAngleAndTemplate',
00078 TrajectoryInEvent = True
00079 )
00080
00081
00082
00083 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
00084 ALCARECOTkAlCosmicsCTF4TSkimmed= Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
00085
00086 src= 'ctfProducerCustomisedCTF',
00087 ptMin=0.0,
00088 ptMax=9999.0,
00089 pMin=4.0,
00090 pMax=9999.0,
00091 etaMin=-99.0,
00092 etaMax=99.0,
00093 nHitMin=8,
00094 nHitMin2D=2,
00095 chi2nMax=6.0
00096
00097
00098
00099 )
00100
00101
00102 TrackRefitterCTF2 =RecoTracker.TrackProducer.TrackRefitterP5_cfi.TrackRefitterP5.clone(
00103 constraint = "",
00104 src='ALCARECOTkAlCosmicsCTF4TSkimmed',
00105 TTRHBuilder = 'WithAngleAndTemplate',
00106 TrajectoryInEvent = True,
00107 beamSpot='MyBeamSpot',
00108 NavigationSchool=''
00109
00110
00111
00112 )
00113
00114
00115
00116 import Alignment.TrackerAlignment.TkAlCaOverlapTagger_cff
00117 OverlapAssoMapCTF=Alignment.TrackerAlignment.TkAlCaOverlapTagger_cff.OverlapTagger.clone(
00118
00119 src='TrackRefitterCTF2',
00120
00121 Clustersrc='ALCARECOTkAlCosmicsCTF4TSkimmed'
00122 )
00123
00124
00125 import Alignment.CommonAlignmentMonitor.AlignmentStats_cff
00126 NewStatsCTF=Alignment.CommonAlignmentMonitor.AlignmentStats_cff.AlignmentStats.clone(
00127
00128 src='TrackRefitterCTF2',
00129 OverlapAssoMap='OverlapAssoMapCTF',
00130 keepTrackStats = False,
00131 keepHitStats = True,
00132 TrkStatsFileName='TracksStatisticsCTF.root',
00133 HitStatsFileName='HitMapsCTF.root',
00134 TrkStatsPrescale= 1
00135 )
00136
00137
00138
00139
00140
00141
00142
00143 seqALCARECOTkAlCosmicsCTFSkimmed = cms.Sequence(MyBeamSpot+TrackRefitterCTF1+AlignmentHitFilterCTF+ctfProducerCustomisedCTF+ALCARECOTkAlCosmicsCTF4TSkimmed+TrackRefitterCTF2+OverlapAssoMapCTF)
00144