12 mainfolderName [
'generalTracks'] =
'Tracking/TrackParameters/generalTracks'
13 vertexfolderName[
'generalTracks'] =
'Tracking/PrimaryVertices/generalTracks'
14 trackPtMin [
'generalTracks'] = cms.double(0.)
15 trackPtMax [
'generalTracks'] = cms.double(100.)
16 doPlotsPCA [
'generalTracks'] = cms.bool(
False)
18 trackSelector = cms.EDFilter(
'TrackSelector',
19 src = cms.InputTag(
'generalTracks'),
24 highPurityPtRange0to1 = trackSelector.clone()
25 highPurityPtRange0to1.cut = cms.string(
"quality('highPurity') & pt >= 0 & pt < 1 ")
27 sequenceName [
'highPurityPtRange0to1'] = cms.Sequence(highPurityPtRange0to1)
28 mainfolderName [
'highPurityPtRange0to1'] =
'Tracking/TrackParameters/highPurityTracks/pt_0to1'
29 vertexfolderName[
'highPurityPtRange0to1'] =
'Tracking/PrimaryVertices/highPurityTracks/pt_0to1'
30 trackPtMin [
'highPurityPtRange0to1'] = cms.double(0.)
31 trackPtMax [
'highPurityPtRange0to1'] = cms.double(1.)
33 highPurityPtRange1to10 = trackSelector.clone()
34 highPurityPtRange1to10.cut = cms.string(
"quality('highPurity') & pt >= 1 & pt < 10 ")
36 sequenceName [
'highPurityPtRange1to10'] = cms.Sequence( highPurityPtRange1to10 )
37 mainfolderName [
'highPurityPtRange1to10'] =
'Tracking/TrackParameters/highPurityTracks/pt_1to10'
38 vertexfolderName[
'highPurityPtRange1to10'] =
'Tracking/PrimaryVertices/highPurityTracks/pt_1to10'
39 trackPtMin [
'highPurityPtRange1to10'] = cms.double(1.)
40 trackPtMax [
'highPurityPtRange1to10'] = cms.double(10.)
43 highPurityPt10 = trackSelector.clone()
44 highPurityPt10.cut = cms.string(
"quality('highPurity') & pt >= 10")
46 sequenceName [
'highPurityPt10'] = cms.Sequence( highPurityPt10 )
47 mainfolderName [
'highPurityPt10'] =
'Tracking/TrackParameters/highPurityTracks/pt_10'
48 vertexfolderName[
'highPurityPt10'] =
'Tracking/PrimaryVertices/highPurityTracks/pt_10'
49 trackPtMin [
'highPurityPt10'] = cms.double(10.)
50 trackPtMax [
'highPurityPt10'] = cms.double(110.)
54 highPurityPt1 = trackSelector.clone()
55 highPurityPt1.cut = cms.string(
"quality('highPurity') & pt >= 1")
57 sequenceName [
'highPurityPt1'] = cms.Sequence(highPurityPt1)
58 mainfolderName [
'highPurityPt1'] =
'Tracking/TrackParameters/highPurityTracks/pt_1'
59 vertexfolderName[
'highPurityPt1'] =
'Tracking/PrimaryVertices/highPurityTracks/pt_1'
60 trackPtMin [
'highPurityPt1'] = cms.double(0.)
61 trackPtMax [
'highPurityPt1'] = cms.double(100.)
62 doPlotsPCA [
'highPurityPt1'] = cms.bool(
True)
64 selectedTracks.extend( [
'generalTracks'] )
69 selectedTracks.extend( [
'highPurityPt1'] )