00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006
00007 from RecoVertex.BeamSpotProducer.BeamSpot_cff import *
00008 from RecoTracker.TrackProducer.TrackRefitters_cff import *
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 dedxHarm2 = cms.EDProducer("DeDxEstimatorProducer",
00019 tracks = cms.InputTag("TrackRefitter"),
00020 trajectoryTrackAssociation = cms.InputTag("TrackRefitter"),
00021
00022 estimator = cms.string('generic'),
00023 exponent = cms.double(-2.0),
00024
00025 UseStrip = cms.bool(True),
00026 UsePixel = cms.bool(True),
00027 MeVperADCStrip = cms.double(3.61e-06*265),
00028 MeVperADCPixel = cms.double(3.61e-06),
00029
00030 MisCalib_Mean = cms.untracked.double(1.0),
00031 MisCalib_Sigma = cms.untracked.double(0.00),
00032
00033 UseCalibration = cms.bool(False),
00034 calibrationPath = cms.string(""),
00035 ShapeTest = cms.bool(True),
00036 )
00037
00038 dedxTru40 = cms.EDProducer("DeDxEstimatorProducer",
00039 tracks = cms.InputTag("TrackRefitter"),
00040 trajectoryTrackAssociation = cms.InputTag("TrackRefitter"),
00041
00042 estimator = cms.string('truncated'),
00043 fraction = cms.double(0.4),
00044
00045 UseStrip = cms.bool(True),
00046 UsePixel = cms.bool(True),
00047 MeVperADCStrip = cms.double(3.61e-06*265),
00048 MeVperADCPixel = cms.double(3.61e-06),
00049
00050 MisCalib_Mean = cms.untracked.double(1.0),
00051 MisCalib_Sigma = cms.untracked.double(0.00),
00052
00053 UseCalibration = cms.bool(False),
00054 calibrationPath = cms.string(""),
00055 ShapeTest = cms.bool(True),
00056 )
00057
00058 dedxNPHarm2 = dedxHarm2.clone()
00059 dedxNPHarm2.UsePixel = cms.bool(False)
00060
00061 dedxNPTru40 = dedxTru40.clone()
00062 dedxNPTru40.UsePixel = cms.bool(False)
00063
00064 dedxNSHarm2 = dedxHarm2.clone()
00065 dedxNSHarm2.UseStrip = cms.bool(False)
00066
00067 dedxNSTru40 = dedxTru40.clone()
00068 dedxNSTru40.UseStrip = cms.bool(False)
00069
00070
00071
00072
00073
00074
00075 dedxProd = cms.EDProducer("DeDxDiscriminatorProducer",
00076 tracks = cms.InputTag("TrackRefitter"),
00077 trajectoryTrackAssociation = cms.InputTag("TrackRefitter"),
00078
00079 Reccord = cms.untracked.string("SiStripDeDxMip_3D_Rcd"),
00080 Formula = cms.untracked.uint32(0),
00081
00082 ProbabilityMode = cms.untracked.string("Accumulation"),
00083
00084
00085 UseStrip = cms.bool(True),
00086 UsePixel = cms.bool(True),
00087 MeVperADCStrip = cms.double(3.61e-06*265),
00088 MeVperADCPixel = cms.double(3.61e-06),
00089
00090 MisCalib_Mean = cms.untracked.double(1.0),
00091 MisCalib_Sigma = cms.untracked.double(0.00),
00092
00093 UseCalibration = cms.bool(False),
00094 calibrationPath = cms.string("file:Gains.root"),
00095 ShapeTest = cms.bool(True),
00096
00097 MaxNrStrips = cms.untracked.uint32(255)
00098 )
00099
00100 dedxASmi = dedxProd.clone()
00101 dedxASmi.Formula = cms.untracked.uint32(3)
00102
00103 dedxNPProd = dedxProd.clone()
00104 dedxNPProd.UsePixel = cms.bool(False)
00105
00106 dedxNPASmi = dedxASmi.clone()
00107 dedxNPASmi.UsePixel = cms.bool(False)
00108
00109
00110
00111
00112
00113
00114 from RecoMuon.MuonIdentification.muonTiming_cfi import *
00115 muontiming.MuonCollection = cms.InputTag("muons")
00116 muontiming.TimingFillerParameters.UseECAL=False
00117
00118
00119
00120
00121
00122
00123 from TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff import *
00124 from TrackingTools.TrackAssociator.default_cfi import *
00125 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi import *
00126 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi import *
00127 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi import *
00128 from Geometry.CMSCommonData.cmsIdealGeometryXML_cfi import *
00129 from Geometry.CaloEventSetup.CaloGeometry_cff import *
00130 from Geometry.CaloEventSetup.CaloTopology_cfi import *
00131 from Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi import *
00132 from Geometry.TrackerGeometryBuilder.trackerGeometry_cfi import *
00133 from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import *
00134 from Geometry.MuonNumbering.muonNumberingInitialization_cfi import *
00135 from Geometry.DTGeometry.dtGeometry_cfi import *
00136 from Geometry.RPCGeometry.rpcGeometry_cfi import *
00137 from Geometry.CSCGeometry.cscGeometry_cfi import *
00138 from Geometry.CommonDetUnit.bareGlobalTrackingGeometry_cfi import *
00139
00140
00141 from SUSYBSMAnalysis.HSCP.HSCPSelections_cff import *
00142
00143
00144
00145 HSCParticleProducer = cms.EDFilter("HSCParticleProducer",
00146 TrackAssociatorParameterBlock,
00147
00148
00149 filter = cms.bool(True),
00150
00151
00152 useBetaFromTk = cms.bool(True),
00153 useBetaFromMuon = cms.bool(True),
00154 useBetaFromRpc = cms.bool(True),
00155 useBetaFromEcal = cms.bool(True),
00156
00157
00158 tracks = cms.InputTag("TrackRefitter"),
00159 tracksIsolation = cms.InputTag("generalTracks"),
00160 muons = cms.InputTag("muons"),
00161 EBRecHitCollection = cms.InputTag("ecalRecHit:EcalRecHitsEB"),
00162 EERecHitCollection = cms.InputTag("ecalRecHit:EcalRecHitsEE"),
00163 rpcRecHits = cms.InputTag("rpcRecHits"),
00164
00165
00166 minMuP = cms.double(25),
00167 minTkP = cms.double(25),
00168 maxTkChi2 = cms.double(25),
00169 minTkHits = cms.uint32(3),
00170
00171
00172 minDR = cms.double(0.1),
00173 maxInvPtDiff = cms.double(0.005),
00174
00175
00176 SelectionParameters = cms.VPSet(
00177 HSCPSelectionDefault,
00178 ),
00179 )
00180
00181
00182
00183
00184
00185 HSCParticleSelector = cms.EDFilter("HSCParticleSelector",
00186 source = cms.InputTag("HSCParticleProducer"),
00187 filter = cms.bool(True),
00188
00189 SelectionParameters = cms.VPSet(
00190 HSCPSelectionHighdEdx,
00191 HSCPSelectionHighTOF,
00192 ),
00193 )
00194
00195
00196
00197
00198
00199 HSCParticleProducerSeq = cms.Sequence(offlineBeamSpot + TrackRefitter + dedxHarm2 + dedxTru40 + dedxNPHarm2 + dedxNPTru40 + dedxNSHarm2 + dedxNSTru40 + dedxProd + dedxASmi + dedxNPProd + dedxNPASmi + muontiming + HSCParticleProducer)
00200
00201