test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QuadReReco_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 def quadrereco(process):
5 
6  process.load("FWCore.MessageService.MessageLogger_cfi")
7  process.load('Configuration.StandardSequences.Services_cff')
8  process.load('Configuration.StandardSequences.DigiToRaw_cff')
9  process.load('Configuration.StandardSequences.RawToDigi_cff')
10  process.load('Configuration.Geometry.GeometryIdeal_cff')
11  process.load('Configuration.StandardSequences.MagneticField_38T_cff')
12  process.load('Configuration.StandardSequences.Reconstruction_cff')
13 
14  process.Dump = cms.EDAnalyzer("EventContentAnalyzer")
15 
16 #### Include QuadSeed Sequence after SingleLeg Sequence, before the track merger:::
17  process.ConvStep.insert(5,process.Conv2Step)
18 
19 #### Merge SingleLeg/QuadSeed tracks:::
20  process.conversionStepTracks.TrackProducers = cms.VInputTag(cms.InputTag('convStepTracks'),cms.InputTag('conv2StepTracks'))
21  process.conversionStepTracks.hasSelector=cms.vint32(1,1)
22  process.conversionStepTracks.selectedTrackQuals = cms.VInputTag(cms.InputTag("convStepSelector","convStep"),cms.InputTag("conv2StepSelector","conv2Step"))
23  process.conversionStepTracks.setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1), pQual=cms.bool(True) ))
24 
25  process.quadrereco = cms.Sequence(
26  #localReco
27  process.siPixelRecHits*
28  process.siStripMatchedRecHits*
29  #process.ecalLocalRecoSequence*
30 
31  #globalReco
32  process.offlineBeamSpot*
33  process.recopixelvertexing*
34  process.trackingGlobalReco*
35  process.caloTowersRec*
36  process.vertexreco*
37  process.egammaGlobalReco
38  #process.Dump
39  )
40 
41  return process