CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalPixelSeedProducerForElectrons_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
4 
5 globalPixelSeedsForElectrons = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
6 #globalPixelSeedsForElectrons.firstHitSubDetectorNumber = [2]
7 #globalPixelSeedsForElectrons.firstHitSubDetectors = [1, 2]
8 #globalPixelSeedsForElectrons.secondHitSubDetectorNumber = [2]
9 #globalPixelSeedsForElectrons.secondHitSubDetectors = [1, 2]
10 
11 #a stripped translation of the old syntax above
12 globalPixelSeedsForElectrons.layerList = cms.vstring(
13  'BPix1+BPix2'
14  'BPix1+FPix1_pos',
15  'BPix1+FPix1_neg',
16  'BPix2+FPix1_pos',
17  'BPix2+FPix1_neg',
18 
19  'FPix1_pos+FPix2_pos',
20  'FPix1_neg+FPix2_neg',
21 )
22 #globalPixelSeedsForElectrons.simTrackSelection.skipSimTrackIds = [cms.InputTag("globalPixelStepIds")]
23 
24 #globalPixelSeedsForElectrons.zVertexConstraint = cms.double(0.5)
25 globalPixelSeedsForElectrons.originRadius = cms.double(0.02)
26 globalPixelSeedsForElectrons.originpTMin = cms.double(1.5)
27 
28 
29 
30 globalPixelSeedsForPhotons = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
31 #globalPixelSeedsForPhotons.firstHitSubDetectorNumber = [2]
32 #globalPixelSeedsForPhotons.firstHitSubDetectors = [1, 2]
33 #globalPixelSeedsForPhotons.secondHitSubDetectorNumber = [2]
34 #globalPixelSeedsForPhotons.secondHitSubDetectors = [1, 2]
35 
36 #a stripped translation of the old syntax above
37 globalPixelSeedsForPhotons.layerList = cms.vstring(
38  'BPix1+BPix2'
39  'BPix1+FPix1_pos',
40  'BPix1+FPix1_neg',
41  'BPix2+FPix1_pos',
42  'BPix2+FPix1_neg',
43 
44  'FPix1_pos+FPix2_pos',
45  'FPix1_neg+FPix2_neg',
46 )
47 #globalPixelSeedsForPhotons.simTrackSelection.skipSimTrackIds = [cms.InputTag("globalPixelStepIds")]
48 globalPixelSeedsForPhotons.originRadius = cms.double(0.02)
49 globalPixelSeedsForPhotons.originpTMin = cms.double(1.5)
50